Quantcast
Channel: working on a onsubmit - Stack Overflow
Browsing all 4 articles
Browse latest View live

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 Article



Answer 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 Article

Answer 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 Article

working 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
Browsing all 4 articles
Browse latest View live




Latest Images