Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How to use the submit button without an email address

Avatar

Level 1

We are changing the way one of our forms is used.  Previously the "submit by email" button opened up an email with a specific TO: address.  Now we like to have the user put in the address but still have the form attached to the email when it is opened. 

Has anyone done this or does anyone have an idea how we can accomplish this?

2 Replies

Avatar

Level 10

Place a HTTP submit button in your form and update the User Entered email using the below script.

YourHTTPSubmitButton.event__click.submit.target = "mailto:" + txtEmailField.rawValue

Avatar

Level 1

Hello,

Using the HTTPSubmit button I cannot find the "user entered email" field.  Could you please send along a screen shot of where the suggested script needs to be entered?  Thanks so much.