Set value to the lastest section of repeating section in infopath 2013 - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Set value to the lastest section of repeating section in infopath 2013

Last post 10-16-2018 03:53 PM by Tonik. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 10-14-2018 01:57 PM

    • Tonik
    • Not Ranked
    • Joined on 12-01-2014
    • Posts 7

    Set value to the lastest section of repeating section in infopath 2013

     

    Hello,

    Please I need your help.

    I have an infopath form sample above. I want to set the value of the fields in static section to the Last section of the repeating section every time I add a new repeating section and I click the button on static section.

    When I did it, It set the values to the fields in every repeating sections that I have added.

    Please how can I achieve this?

    Thank you.

  • 10-15-2018 09:56 AM In reply to

    Re: Set value to the lastest section of repeating section in infopath 2013

    Can you try attaching your sample form under the Options tab in a reply? I don't see a sample here.
    Hilary Stoupa

  • 10-15-2018 06:11 PM In reply to

    • Tonik
    • Not Ranked
    • Joined on 12-01-2014
    • Posts 7

    Re: Set value to the lastest section of repeating section in infopath 2013

     


  • 10-16-2018 07:55 AM In reply to

    Re: Set value to the lastest section of repeating section in infopath 2013

    Browser or filler form? If Filler, you can use the last() function. For Browser, you can use an XPath that counts all the repeating nodes to get the last one - see the attached sample. Save it locally, right click and select design to open in design mode.
    Hilary Stoupa

  • 10-16-2018 03:53 PM In reply to

    • Tonik
    • Not Ranked
    • Joined on 12-01-2014
    • Posts 7

    Re: Set value to the lastest section of repeating section in infopath 2013

     Thank you. I appreciate

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