Page 1 of 1

Compare 2 Textbox

Posted: Wed Jul 27, 2011 5:50 am
by vasanthmnr
How to comnpare two textbox in Installaware?
Suppose there is password and confirmpassword textbox, before move to next dialog box, i need to validate the two textbox values are equal or not.

Re: Compare 2 Textbox

Posted: Wed Jul 27, 2011 10:48 am
by giaviv
You can have both textbox write to variables (double click on the textbox in the form editor and select writes value to variable).

Then, use an If..Else..End block in your MSIcode to compare the two variables.