Hi

For this dialog, I want to diable the "Next" button when either password 
doesn't match or ComboBox has no value selected. But the following code doesn't 
check the value of ComboBox. How to fix this?

Thanks
Jirong

                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="!(loc.WixUINext)">
                                                <Publish Event="NewDialog" 
Value="[WixUI_ConfigSFSDlg_Next]">1</Publish>
                                                <Condition 
Action="disable"><![CDATA[SFSPASSWORD <> SFSPASSWORD2]]></Condition>
                                                <Condition 
Action="disable"><![CDATA[SFSENVIRONMENT = ""]]></Condition>
                                                <Condition 
Action="enable">SFSPASSWORD = SFSPASSWORD2</Condition>
        </Control>
<Control Type="ComboBox" ComboList="no" Width="136" Height="17" X="90" Y="132" 
Id="CmbEnv" Property="SFSENVIRONMENT" Text="Development">
                                                <ComboBox 
Property="SFSENVIRONMENT">
                                                                <ListItem 
Text="Integration" Value="Integration"/>
                                                                <ListItem 
Text="Integration 2" Value="Integration 2"/>
                                                                <ListItem 
Text="System Test" Value="System Test"/>
                                                                <ListItem 
Text="System Test 2" Value="System Test 2"/>
                                                                <ListItem 
Text="UAT" Value="UAT"/>
                                                                <ListItem 
Text="Production" Value="Production"/>
                                                                <ListItem 
Text="Production Support Test" Value="Production Support Test"/>
                                                                <ListItem 
Text="Training" Value="Training"/>
                                                                <ListItem 
Text="Costing" Value="Costing"/>
                                                </ComboBox>
                                </Control>
Thanks
Jirong Hu
Build Master
780-644-5488


This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal, and or privileged 
information. Please contact us immediately if you are not the intended 
recipient of this communication, and do not copy, distribute, or take action 
relying on it. Any communication received in error, or subsequent reply, should 
be deleted or destroyed.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to