Expand my Community achievements bar.

Email Button

Avatar

Level 1

I need to send the form to different people based on a selection from a drop down list.  Is this possible?
I am using Adobe Designer 7.0

Regards,
David

1 Reply

Avatar

Level 10

Hi David,

Try the following JavaScript in the change event of your drop down list;

 

EmailSubmitButton1.event__click.submit.target = "mailto:" + email.rawValue + "?subject=" + subject.rawValue;

I'm not sure were you will be getting the email address from, if it is the actual display text of the drop down then email.rawValue in the change event will be xfa.event.change, If it is the value of the drop down then email.rawValue will be this.boundItem(xfa.event.change).

Regards

Bruce