One of my dialog screens requires the user to fill in two text fields:
 
<Property Id="VARIABLE_ONE"></Property>

<Property Id="VARIABLE_TWO"></Property>

...

<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)">

<Condition Action="disable"><![CDATA[VARIABLE_ONE = "" OR VARIABLE_TWO =
""]]></Condition>

<Condition Action="enable"><![CDATA[VARIABLE_ONE <> "" AND VARIABLE_TWO
<> ""]]></Condition>

</Control>

...

<Control Id="V1Edit" Type="Edit" X="30" Y="90" Width="150" Height="20"
Property="VARIABLE_ONE" Text="{32}" />

<Control Id="V2Edit" Type="Edit" X="30" Y="150" Width="150" Height="20"
Property="VARIABLE_TWO" Text="{32}" />

 

The next button should only be enabled if both variables contain data.
This code appears to work but upon typing in the second value, it
requires me to click elsewhere in order for the dialog to refresh and
the next button to become enabled. Is there any way I can get it to
update automatically?

Thanks,

Patrick

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to