Hi, I'm trying to get a form validated, but because it is in a Sub procedure it needs to be with ASP rather than JavaScript. All that it needs to be able to do is check that the value entered into the form is a number, and not a negative number. Any help will be greatly appreciated
I will need to Open the Sub using asp I will need to close the asp marker, type in the JavaScript, and open them up again. I have tried this many times and it doesn't seem to work. Do you think that I can do it through JS even within a Sub?
Yeah, put a javascript function in the page head or js file and add an onsubmit="return functionname(this)" to the form tag. the function needs to return true or false depending on success