![]() Topic awaiting preservation: Form validate characters (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: 1393 |
![]() How would I make it so that a text field is required to have a minimum amount of characters, at least 2 numeric characters, and 1 special? I've been searching the net for a script similar that I could just change around but I can't find anything... thanks for any help. |
Paranoid (IV) Inmate From: France |
![]() |
Bipolar (III) Inmate From: 1393 |
![]()
|
Paranoid (IV) Inmate From: France |
![]()
|
Bipolar (III) Inmate From: 1393 |
![]() Rad! it works.... so could I put that whole string in an 'if' function to have an alert box pop-up when invalid...? I would have to take out the '?true:false' and set it == to true or false, right? Sorry, I'm just learning this stuff. Thanks for your help! |
Paranoid (IV) Inmate From: France |
![]() Sure, and to so it'd be more convenient to put the whole form check in a function that you'd call in the onsubmit. |
Bipolar (III) Inmate From: 1393 |
![]() Poi, you ROCK! Thanks for taking the time to help me out. Peace. |