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

Required field validation with Submit button message


Not applicable

New to coding but thanks to a few users I am almost there with my form submission.  My required fields validation works but the alert "The Accident Report has been Submitted" is still being displayed.  The form does not submit by email which is fine but when my users receive this message they think it was.  I need to stop this message if the field verification fails. Do I have the second script in the wrong place? Do I need to add an else statement at the end of the first script?

Thanks in advance.


0 Replies