Forum Moderators: coopster
Also, where would I put the code.
The script is long so I just included an external link. Thanks for all the help beforehand. Have a good day.
[edited by: jatar_k at 4:07 pm (utc) on May 25, 2006]
[edit reason] no urls thanks [/edit]
What I was thinking, you know since I have a the validation code in PHP, I never thought that it would work the same way with the HTML form. Would it be a java function?
Here is the form code, can you please guide me to what the code would be and where I would place the code. Thanks again!
[edited by: jatar_k at 4:31 pm (utc) on May 25, 2006]
[edit reason] no urls thanks [/edit]
password1 and password2
email1 and email2
you can then just add another validation check to see if the value from each of the paired fields is equal
you still need to check the other things for those fields but your first checks could be
whether email 1 and 2 are equal
whether password 1 and 2 are equal
then carry on with what you are doing now in your processing script
<added>I looked at the url both times ;)
what usually works best is to boil down your code to what isn't working. In this case it is a logic question so the code isn't really necessary
So I would place that validations check BEFORE, the other validation check (for format etc.)?
And would I give an error message if something was not the equal?
Thanks!