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

Post Submit

Avatar

Level 2

I have the script below set on Post Submit.  My issue is if you click the Submit by Email button and Cancel from the Send Email popup window the Script runs and displays the information without the user actually submitting the form.  Is there a way to keep this from happening?

If(RadioButtonList5.rawValue == "4" and RadioButtonList1.rawValue > "0" and RadioButtonList2.rawValue > "0" and RadioButtonList3.rawValue > "0" and RadioButtonList4.rawValue > "0")

then TextField20.presence = "visible"

TextField17.presence = "invisible"

TextField18.presence = "invisible"

TextField19.presence = "invisible"

endif

0 Replies