This can be disregarded. The question I am now stuck on is checking for empty
values. For instance, in the example below, I got the password check to
work, but by default the text boxes are empty and are equal. It is not until
something is typed into the first password box that the Next button becomes
disabled. How would I check for an empty value?
0x001A4 wrote:
>
> I was wondering how one would go about checking user input and then
> writing it to a text file?
>
> This is what I have so far in my UserSetupDlg (I dont want the Next button
> enabled unless the password matches):
>
> <Control Id="PasswordLabel" Type="Text" X="..." Text="Password:" />
> <Control Id="PasswordEdit" Type="Edit" Password="yes" X="...
> Property="PASSWORD" Text="{8}" />
>
> <Control Id="PasswordConfirmLabel" Type="Text" X="... Text="Confirm
> Password:" />
> <Control Id="PasswordConfirmEdit" Type="Edit" Password="yes" X="...
> Property="CONFIRMPASSWORD" Text="{8}" />
>
> <Control Id="Next" Type="PushButton" X="..." Default="yes" Disabled="yes"
> Text="&Next">
> <Condition Action="enable">
> [PASSWORD] = [CONFIRMPASSWORD]
> </Condition>
> </Control>
>
> Now my guess is that my syntax is all wrong or I'm going about this the
> wrong way. I've been searching through the WiX tutorial and Google all
> morning with no luck.
>
> My other question, is when I get this information confirmed, what would be
> the best way to write it to a text file?
>
--
View this message in context:
http://www.nabble.com/Checking-User-Input-and-Writing-it-to-a-File-tf4601376.html#a13139325
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users