August 23, 200124 yr Has anyone figured out how to get the onSubmit() to work within the submit name -NEW or -EDIT? It refuses to proccess/validate the onSubmit method. It even refuses to performa simple window.alert(), I can get the onClick to work. Right now it submits thorugh the form reguardless of returning false to the onSubmit method. I appriciate any help.
August 24, 200124 yr I think you have to put the onSubmit into the form tag, not the submit button. So: <form onSubmit="yourJavascript()"> This should work.
August 24, 200124 yr to make it work right you will need to make it look like this <form onSubmit="return yourJavascript()">
Create an account or sign in to comment