I tried using few method still it doesn't work.
Right now I'm coding on the registration form.
It suppose to validate my password and confirm password with a limit of 5-8 char (1 alpha & 1 num a must).
Tried using include & require in my php to link to my password.js it does not work.
2)Instead I re-coded it and used an alert in my php just to prompt an error if user keyed in invalid password. It gives me fatal error!
Now, what I want is actually to have an error message prompted in my php code. To warn user that the password and the confirm password is wrong if
1) Not the same
2) Does not contain at least 1 alpha or 1 num.
Anyone could help me with this?
0 · ·