Help with data controls - InfoPath Dev
in

InfoPath Dev

Help with data controls

Last post 10-07-2009 04:00 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-07-2009 06:57 AM

    Help with data controls

    I'm trying to collect data from my form and JScript to some other functions.  However, I'm having difficulty storing the data.  Everytime that I try to use it, I receive an "Object Required" error message.  I beleive that this is because I don't have the path to the controls correct. 

    Data Source:  Main

    Group:  myFields

    Control:  txtApp

    Can someone help out with the correct path for this control so that I can manipulate the data from it within JScript code?  Thank you. 

  • 10-07-2009 04:00 PM In reply to

    Re: Help with data controls

    Well, my guess would be /my:myFields/my:txtApp but I'm guessing. If you are using IP 2007, you can right click the data field in the data source task pane and use Copy XPath to get the xpath. If you are using 2003, preview the form (or open it) and save a copy of the XML from the form. Open with the text editor of your choice. You can then figure out the XPath from the XML.

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.