Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to validate ?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I want to validate a form on change of a input text. How can I do that?
Thanks for answers.
 
On a text field change you can use the OnKeyUp and OnKeyDown events to trigger the validate.
 
sure you can:
<html><head><script>
function MyValidator()
{
// validating code
}
</script></head><body>
<form>
<input type=&quot;text&quot; onChange=&quot;MyValidator();&quot; BobbaFet

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top