I have a drop-down menu that allows users to select a "school" and, depending on the school the select, send a message to a different recipient.
I have set the values for each option to the email address for the intended recipient, and that is working fine. But I have multiple options which are delivered to the same email, and I am losing the "school" name value, because I needed to use the value to hold the email address.
Can anyone provide me with some insight on how best to accomplish this?
Thanks!
I have set the values for each option to the email address for the intended recipient, and that is working fine. But I have multiple options which are delivered to the same email, and I am losing the "school" name value, because I needed to use the value to hold the email address.
Can anyone provide me with some insight on how best to accomplish this?
Thanks!
Hi prsweb,
Create a hidden field for the 'email' address and leave the value empty. Set the drop-down to have the 'school' as the value.
In the OnSubmit Before box add a little code to look up the email address for the school and set the value of the email parameter.
Bob
PS This is also preferred because it doesn't show the email addresses in the web page html.
Create a hidden field for the 'email' address and leave the value empty. Set the drop-down to have the 'school' as the value.
In the OnSubmit Before box add a little code to look up the email address for the school and set the value of the email parameter.
Bob
PS This is also preferred because it doesn't show the email addresses in the web page html.
This topic is locked and no more replies can be posted.