collect email adresses from repeating section - InfoPath Dev
in

InfoPath Dev

collect email adresses from repeating section

Last post 03-08-2013 05:53 AM by EricW. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-08-2013 05:18 AM

    • EricW
    • Not Ranked
    • Joined on 06-19-2012
    • Posts 5

    collect email adresses from repeating section

    Hi, On my form I have a repeating section and in that section a layout table with a textbox in which the user has to put in an email address. With insert the user can add as much persons as he wants.

    Below that section I have a SEND button.
    When this is pressed, I want to send one email to all the email addresses put in the repeating section.

    I have added a hidden textbox to collect those email addresses and I have tried this

    eval(eval(../my:group1/my:group2, "concat(my:group2/my:txtApprover, ';')"); "..")

    but that gives an error:

    Expected value type: , Actual value: string eval(eval(../my:group1/my:group2. -->"concat(my:group2/my:txtApprover, ';')"

    I'm not sure what to do about this.
    What am I doing wrong here?

    rg,
    Eric
    Filed under: , ,
  • 03-08-2013 05:53 AM In reply to

    • EricW
    • Not Ranked
    • Joined on 06-19-2012
    • Posts 5

    Re: collect email adresses from repeating section

    Found the solution by switching on Edit Xpath and writing it all out:

    xdMath:Eval(xdMath:Eval(../my:group1/my:group2, 'concat(my:txtApprover, ";")'), "..")
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.