Item combo - InfoPath Dev
in

InfoPath Dev

Item combo

Last post 01-09-2007 12:01 AM by diaboloche. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-08-2007 02:06 AM

    Item combo

    Hello, I wish to select one in a combobox item... that causes me an error, it says to me that I am as a reader alone...

    XDocument.DOM.selectSingleNode("//my:tbContext").text="1"
  • 01-08-2007 09:50 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694
    Hi Diaboloche,

    By using below the code you can get the node and after try to set that node value. Check once again your field xpath is correct or not. Can you explain on which line you got the error?
    //Get the node
    var tbContextNode = XDocument.DOM.selectSingleNode("//my:tbContext");
    //Set the node value
    tbContextNod.text = “1”;
  • 01-09-2007 12:01 AM In reply to

    function msoxd_my_tbClient::OnBeforeChange(eventObj)
    {
    XDocument.DOM.selectSingleNode("//my:comboAnnonce2").text="";
    }





    InfoPath ne peut pas exécuter cette action en raison d'une erreur dans le code du formulaire.
    L'erreur suivante s'est produite :

    InfoPath ne peut pas mettre à jour les données car le formulaire est actuellement en lecture seule.
    Fichier :script.js
    Ligne:45




    It says to me that I am in reading alone...
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.