PDA

View Full Version : check fields


Paul Ferrie
01-05-2003, 08:57 PM
hi guys
I am bit stuck :(

I am trying to check 2 text fields to see if the data entered in to the 2 match

heres what i got
2 password fields

pass
pass2

Now when i hit the button how do i check to c if the first password matches the second.

Cheers

annexion
01-05-2003, 11:44 PM
on(press){
if(pass2==pass){
trace("They match");
}else{
trace("Keep Trying");
}
}

Good luck.