Getting value from multiple controls in double eval - InfoPath Dev
in

InfoPath Dev

Getting value from multiple controls in double eval

Last post 12-19-2019 10:17 AM by infouser. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-19-2019 07:52 AM

    Getting value from multiple controls in double eval

    Hello! I want to submit a Library Form to multiple people from people picker through email submit. I am able to do it through Double Eval method. eval(eval(Person, 'concat(substring-after(pc:AccountId, "\"), "@abc.com", ";")'), "..") I need to submit a copy of form to the person who is filling the form as well. I am able to capture the logged in person name in a textbox with userName() function. However, I need help for concatenating textbox value (where I captured logged in user name) in double eval method (Where I am taking people picker values from the form) in 'To' field of Email. So the form will be emailed to all people who are in people picker and logged in user. I need to keep everyone in 'To' field. I would appreciate any help on it.
  • 12-19-2019 08:50 AM In reply to

    Re: Getting value from multiple controls in double eval

    I'd probably just use a concat here - does something like this work? concat(eval(eval(Person, 'concat(substring-after(pc:AccountId, "\"), "@abc.com", ";")'), ".."), ";", fieldWithUserName)
    Hilary Stoupa

  • 12-19-2019 10:17 AM In reply to

    Re: Getting value from multiple controls in double eval

    Thank you Hilary. It worked. concat(eval(eval(Person, 'concat(substring-after(pc:AccountId, "\"), "@abc.com", ";")'), ".."), UserName) I just removed ";" from the end. Thank you so much.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.