Hi everyone,
I have created a web page to grab an employeeID number. The employee numbers can have one of two formats:
1. 7 characters and start with an Alpha for permanent employees.
2. 6 characters and be numeric if a contractor
I'd like to know if there is a way in classic ASP to validate that the input meets either of these two patterns before submitting information to the page that will take action on it.
Can anyone offer any suggestions?
Currently my input box looks like this:
<INPUT TYPE="text" NAME="EmpID" VALUE='' size="20" color="white"></INPUT>
I hope you find this post helpful.
Regards,
Mark
Check out my scripting solutions at
I have created a web page to grab an employeeID number. The employee numbers can have one of two formats:
1. 7 characters and start with an Alpha for permanent employees.
2. 6 characters and be numeric if a contractor
I'd like to know if there is a way in classic ASP to validate that the input meets either of these two patterns before submitting information to the page that will take action on it.
Can anyone offer any suggestions?
Currently my input box looks like this:
<INPUT TYPE="text" NAME="EmpID" VALUE='' size="20" color="white"></INPUT>
I hope you find this post helpful.
Regards,
Mark
Check out my scripting solutions at