Compare two Fields (Password, Email) Registration

Hi there, This is my first post and from what i have seen from this application, it will parobably not be my last!

Does anyone know if there is a simple way of doing a match on two fields. E.G. I have a password field in my registration i want the user to enter their password twice then do a match to make sure it is a valid string.

Quite simple to do with html and php but with scriptcase it looks like it could be tricky.

Thanks is advance
Andy

Re: Compare two Fields (Password, Email) Registration

In the event onValidate:

if ({password1} === {password2}) { … proceed code …}

{password} is the same as ‘this->password1’

SC5 is PHP, so you can use any PHP string function you wish to check for valid string and case.

Regards,
Scott.