So what I need is simply an alert to appear when my html5 validation fails, like :
alert("Error, please fill all required fields before submitting.");
Is there some kind of event that I could use to show this alert using JavaScript or jQuery?
This seems really basic, but I couldn't find anything online about it. All I can find are ways to change the pop up message that appears directly on the field.
I need this because my forms spans over multiples tabs, so the bubble displaying an error message may not always appear depending on where the user is when he submits the form.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…