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

Email Submit button with a particular page

Avatar

Level 2

Hi,

my form have 2 pages. Page 1 for explain and page 2 for the form with field.

When l press the submit button the entire form (page 1, page 2) are sending.

I want only the page 2 to send by email.

How do ia do this ?

Regards

Pierre

3 Replies

Avatar

Level 10

Hi,

the submit action will always send the entire form.

But, you can hide your first page with a script in the presubmit event so the receiver doesn't see it.


page1.presence = "hidden";


Avatar

Level 2

Hi,

Thanks for the answer.

Pierre