Activating a button on checkbox condition - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

StephanH
Posts: 1
Joined: Wed Oct 21, 2009 11:20 am

Activating a button on checkbox condition

Hi,
on the WelcomeDlg I added 2 checkboxes. Both checked are a condition for the enabled "Next"-button, but I dont understand how to realise it.
Is there a "How-To" or any explanation how to activate/deactive buttons on special conditions?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Activating a button on checkbox condition

Hello Stephan,

On the WelcomeDlg, select the [Next] button and place two Control Conditions on it:

Code: Select all

Condition                                        Action
---------------------------------------------------------------
(CHK1 = "") OR  (CHK2 = "")                      Disable
(CHK1 = 1)  AND (CHK2 = 1)                       Enable
This will achieve your desired effect.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”