Repeating table and XPath in browser enabled form - InfoPath Dev
in

InfoPath Dev

Repeating table and XPath in browser enabled form

Last post 12-12-2012 02:08 AM by DCRIBR. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-10-2012 04:15 AM

    Repeating table and XPath in browser enabled form

    Hi all

    I am new in InfoPath and XPath and ned some help

    I have a form with the following strukture

     

    - myFields

          - group1

                - group2 (repeating group)

                      - ID

                      - First Name

                      - Last Name

                      - Mail

          - CollectData

     

    I want the default value in "CollectData" to be something like "Mail" separated by ";", but only for those were "ID" is not empty. If "ID " empty then go to next.

     

    Is it possible with XPath?

     

    Regards Rico

     

     

  • 12-10-2012 09:54 PM In reply to

    Re: Repeating table and XPath in browser enabled form

    It would be

    substring(xdMath:Eval(xdMath:Eval(/my:myFields/my:group1/my:group2[my:ID != ""], 'concat("; ", my:Mail)'), ".."), 2)

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 12-12-2012 02:08 AM In reply to

    Re: Repeating table and XPath in browser enabled form

    Hi Jimmy

     Many thanks for the help, you saved my day :-)

     Regards Rico

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