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.
![Script.png Script.png](/t5/image/serverpage/image-id/13378i5157011FBB5EB605/image-size/large?v=v2&px=999)