Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Change submit button e-mail address from Drop-Down selection

Avatar

Level 2

Hi all!

The form I’m working on has a Drop-Down List that the user must make a selection from.

The selection from the Drop-Down List will determine who the form is e-mailed to when submitted.

The completed form is e-mailed via a Button set to “submit to URL.” Is there a way to change the e-mail distribution list based on the selection from the Drop-Down List?

Any help would be appreciated!


Thanks

3 Replies

Avatar

Level 10

Here is a sample that shows the different ways to accomplish this.

Paul

Avatar

Level 2

Paul

The example answered my initial question, but how do you change the subject if it also needs to change based on the drop-down list selection?

Thanks!

Kurt

Avatar

Level 10

The example shows how to access the mailto URL....you can add pr remove whatever you want. If you do a web serach for mailto

it will show you the construction of the URL ...you simply have to make the corresponding string in your command.

Hope that helps

Paul