Trouble autopopulating read only textbox on incrementing expression box value in repeating table - InfoPath Dev
in

InfoPath Dev

Trouble autopopulating read only textbox on incrementing expression box value in repeating table

Last post 03-12-2015 04:04 PM by jack eagly. 86 replies.
Page 6 of 6 (87 items) « First ... < Previous 2 3 4 5 6
Sort Posts: Previous Next
  • 03-12-2015 03:04 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    This is relative XPath - it is relative to the node you are on. Are you trying to create a default value? Where is my:id in relation to the field that has the default? Or are you working on a calculated value (expression box) or is this a condition on a control?

    Here is info on relative XPath: http://www.tizag.com/xmlTutorial/xpathrelative.php

    Hilary Stoupa

  • 03-12-2015 03:23 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Here's my form, please tell me why my xPath doesn't work for 3.j.(1) and 3.j.(2) and 3.k.(1) and 3.k.(2).
  • 03-12-2015 03:33 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Can you give me a hint as to where I should be looking? If you right click the field in the data source task pane and select Copy XPath and paste it in a reply I'll be able to find the field.

    Hilary Stoupa

  • 03-12-2015 03:38 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Okay, wait, so you decided to go back to using rules instead of defaults like the sample I did for you yesterday?

    Hilary Stoupa

  • 03-12-2015 03:39 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    does this help?

    /my:myFields/my:Execution/my:group1_2/my:group2_2/my:group3_2/my:group4_2/my:group5_2/my:group6_2/my:id

    and

    /my:myFields/my:Execution/my:group1_2/my:group2_2/my:group3_2/my:group4_2/my:group5_2/my:group6_2/my:group7_1/my:group8_1/my:group9_1/my:id


  • 03-12-2015 03:43 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Uh, I don't think so, unless I left a rule in there.  I tried to delete them.  Maybe I missed some.

  • 03-12-2015 03:46 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Hey, it works better with out the rules set.  Sorry! 
  • 03-12-2015 03:46 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    I don't know what this means:

    ... my xPath doesn't work for 3.j.(1) and 3.j.(2) and 3.k.(1) and 3.k.(2).

    I do see that rules are throwing an error message. Is that what you mean? Can you tell me why you decided to go back to rules instead of default values? I'm sorry, I'm just really confused again by what you are trying to do. Did the sample I provided yesterday work the way you needed it to?

    Hilary Stoupa

  • 03-12-2015 03:47 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Okay, looks like we were cross posting. Glad you got it figured out.

    Hilary Stoupa

  • 03-12-2015 03:57 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    Thanks so much for helping me straighten this out.  Can you tell me real quick where we inserted the xPath why when I insert the first optional paragraph why it's adding both (1) and an (a).  I only need to insert (a) when I call for it.
  • 03-12-2015 04:00 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    You'll need to go look in the Repeating control's properties (right click the repeating section and select the properties menu option). Select the Modify button, then Edit Defaults - you can modify whether the children are inserted when the group is inserted.

    Hilary Stoupa

  • 03-12-2015 04:04 PM In reply to

    Re: Trouble autopopulating read only textbox on incrementing expression box value in repeating table

    I've done that, that's why I'm confused.


Page 6 of 6 (87 items) « First ... < Previous 2 3 4 5 6
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.