nchrisman
11-08-2004, 09:04 PM
I have created a form using Cold Fusion where the user needs to input their ID, which is their SSN. The users that will use this form are students and potentially could have foreign SSN's (i.e. FOR123456). I tried to use the following code (which works perfectly for the typical SSN, i.e. 123-45-6789):
<cfinput name="studentid" required="yes" maxlength="11" type="text" message="A valid Student ID number must be entered (e.g. 111-22-3333)." validate="social_security_number">
When trying to input FOR-12-3456, I receive "A valid Student ID number must be entered (e.g. 111-22-3333)."
Does anyone have any idea how I can validate this information?
THANKS!!!!
<cfinput name="studentid" required="yes" maxlength="11" type="text" message="A valid Student ID number must be entered (e.g. 111-22-3333)." validate="social_security_number">
When trying to input FOR-12-3456, I receive "A valid Student ID number must be entered (e.g. 111-22-3333)."
Does anyone have any idea how I can validate this information?
THANKS!!!!



