Expand my Community achievements bar.

Routing form based on checkbox value

Avatar

Former Community Member
I'm not sure if this is possible or involves more programming that is worthwhile, but I have a form that I've created in LiveCycle that is sent via email. It works perfectly, but now I've been asked if the email recipient can change based on the results of a checkbox value:



If checkbox a is selected, xml data is sent to person1@email.com

If checkbox b is selected, xml data is sent to person2@email.com



Possible?



Thanks in advance!
1 Reply

Avatar

Former Community Member
You could have two hidden submit buttons, 1 for each email address. A regular button would have the condition based on the check boxes and call the click event of the appropriate hidden submit.