Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Making radio button group "User Entered - Required for email submission

Avatar

Level 1

I’m trying to make a radio button group required before the end user is able to submit the form by email.  I’ve selected “User Entered - required” in the value tab for the object, but when I click “submit by email” there is no warning message and the form allows the email submission.  The form also highlights the radio button group like it is required.  Please Help.

2 Replies

Avatar

Level 1

Thank you for your reply it was partially helpful.  The code from the link does give an alert message, but it still allows email submission. The email coding does not tie into an already created submit button.  Does anyone know the code to stop an email submission directly when .mandatory = "error" isn't working?