Search - InfoPath Dev

InfoPath Dev

Search

Page 113 of 259 (2583 items) « First ... < Previous 111 112 113 114 115 Next > ... Last »
  • Re: Change a value in a field.

    Hello, I believe the&nbsp;XPath, when expanded, should look like this: xdXDocument:GetDOM(&quot;test&quot;)/phrases[@value = current()/dfs:dataFields/d:RATABLE8D/@REASONCODE] with just @value after the opening bracket.
    Posted to General (Forum) by Jimmy on 07-01-2011
  • Re: Displaying 24-hour time (military) using InfoPath "Date and Time Picker" control

    Are you sure that users are able to modify the value in the DTP?&nbsp; I just tried this, and while I can select the text in a disabled DTP, I can&#39;t modify the value.&nbsp; Is this in the rich client or the browser?
    Posted to General (Forum) by Jimmy on 06-30-2011
  • Re: Change a value in a field.

    What do you mean when you say it pulls all the phrase values?&nbsp; Could you attach a screenshot to this thread?
    Posted to General (Forum) by Jimmy on 06-30-2011
  • Re: Change a value in a field.

    You should use the Select field... button to pick the phrase field from the data source, then click Show XPath to add the [@value = current()] part. I made a mistake in the XPath in my previous post.&nbsp; It should just be: /phrases/phrase[@value = current()/dbField] Naturally, you would replace dbField with the actual name of the field ...
    Posted to General (Forum) by Jimmy on 06-30-2011
  • Re: Change a value in a field.

    There are two things you can do here: Bind the field to a Dropdown Box and set up the combobox to have the appropriate display values correspond to all of the numerical &quot;value&quot; values.&nbsp; You can make the dropdown readonly if you don&#39;t want anyone changing the value. Create a secondary data source from an XML file that has ...
    Posted to General (Forum) by Jimmy on 06-30-2011
  • Re: Single record in a repeating table.

    That blog post seems to describe precisely what you&#39;re asking about here - only showing one row of a repeating section at a time.&nbsp; So what is it that you need assistance with?
    Posted to Controls (Forum) by Jimmy on 06-28-2011
  • Re: Data Validation on multiple fields

    I typically advise against using code when it&#39;s not absolutely necessary, but if your validation logic does get convoluted and needs to involve many fields, I have demonstrated a way to alleviate this using code: http://www.infopathdev.com/forums/p/19504/67770.aspx#67770 But I want to stress that this will only be worth your time if you ...
    Posted to General (Forum) by Jimmy on 06-28-2011
  • Re: Assistance with storing different types of objects using FormState

    If you make the change I showed, you can access the hashtable just like any other hashtable: _VehicleLicense[&quot;803-445&quot;] = &quot;yes&quot;;
    Posted to General (Forum) by Jimmy on 06-28-2011
  • Re: Assistance with storing different types of objects using FormState

    Typically, the set accessor is only invoked in a statement that assigns directly to the property, as in: _VehicleLicense = new Hashtable(); _VehicleLicense = otherHashtable; Anything that accesses the property&#39;s fields, methods, or indexers, even within an assignment statement, will use the get accessor, as the property&#39;s value needs ...
    Posted to General (Forum) by Jimmy on 06-28-2011
  • Re: Data Validation on multiple fields

    In InfoPath 2010 you can copy rules (including validation rules) between fields, but in other versions, yes that&#39;s basically what you need to do.&nbsp; Shouldn&#39;t take more than about 2 minutes though, should it?
    Posted to General (Forum) by Jimmy on 06-28-2011
Page 113 of 259 (2583 items) « First ... < Previous 111 112 113 114 115 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.