I have looked at the other threads on this subject and discovered I am a complete moron when it comes to doing this.
can anyone give me a step by step guide on what I need to do to my dropdown list. if any of the first 5 options are choosen, then the email address will be set to A and any of the last 5 options choosen, email will be B.
I'm sure I am making this harder than it needs to be
Solved! Go to Solution.
Views
Replies
Total Likes
I created a sample for you ....the code is on the exit event of the DDlist. When you have it working the
button needs to be hidden so the user cannot see it. The script will click the button when ready.
paul
Views
Replies
Total Likes
The DDList has a selectedIndex property. This tells you which index was selected (not it is a 0 based index).
So you could write script on the exit event that would do something like this:
if (this.selectedIndex < 4){
send email to userA
} else {
send email to userB
}
paul
Views
Replies
Total Likes
Sorry, your just confirming my moron staus.
I have only used basic fuctions of LC and action builder for everything else, I am not familiar with the steps you said.
Views
Replies
Total Likes
I created a sample for you ....the code is on the exit event of the DDlist. When you have it working the
button needs to be hidden so the user cannot see it. The script will click the button when ready.
paul
Views
Replies
Total Likes
Wow, I understand now!!!!
Thanks for clearing that up for me. I am going to promote myself to just a mere LC idiot now
Views
Replies
Total Likes
Hi Paul,
if I wanted to add a CC to it, what would that like in the script?
Thanks In advance
Views
Replies
Total Likes
The mailto protocol is a public domain spec. If you do a google search you can see all of the options for controlling the email. To answer your question:
mailto:test@test,com?cc=test2@test2.com
Paul
Paul,
thanks for the answer and the google search advise to advance my edification
Views
Replies
Total Likes