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!

a.guelle
Posts: 98
Joined: Tue May 19, 2015 2:23 pm

[solved] Deselect Check Box when another Check Box is deselcted

Hi,

I have two checkboxes on a dialog, let say:

Checkbox1 (Property: CB1_PROP)
Checkbox2 (Property: CB2_PROP)

Checkbox2 must not be selected whenr Checkbox1 is unselected.

How can I achieve this behaviour?

Best regards,

Angelo
Last edited by a.guelle on Wed Aug 10, 2016 12:44 pm, edited 1 time in total.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Deselect Check Box when another Check Box is deselcted

Hi Angelo,

In order to achieve this you can go in the "Dialogs" page, select the "Checkbox1" checkbox and add a "Set installer property" published event for it as follows:
  • Property: CB2_PROP
    Value: {}
    Condition: NOT CB1_PROP
Let me know if it helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
a.guelle
Posts: 98
Joined: Tue May 19, 2015 2:23 pm

Re: Deselect Check Box when another Check Box is deselcted

Hi Esebiu,

the empty paranthesis in the value do the trick.

Works great, thank you very much.

Angelo
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Deselect Check Box when another Check Box is deselcted

You're welcome Angelo. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”