Answer by John Chadwick for working on a onsubmit
Make note that:if (themessage == "You are required to complete the following fields: ") {will return false if themessage equals anything more than just that; which means it will always fail. I...
View ArticleAnswer by Shadow Wizard Love Zelda for working on a onsubmit
JavaScript is case sensitive.Change this:Function confirmSubmit(){To this instead:function confirmSubmit(){With your current code you simply get syntax error so there's nothing running upon sumission.
View ArticleAnswer by Mic for working on a onsubmit
You should set the attribute action to action="javascript:" to avoid the default form submit.Then set your button as type="submit" instead of buttonAnd finally set the action as an onclick on the...
View Articleworking on a onsubmit
I am working on a form. I need to have a onsubmit form handler. And to create a validation script to make sure the fields are not empty. When I go to this when I click the submit form nothing happens....
View Article
More Pages to Explore .....