How to enable/disable NEXT button on textbox having text? - 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!

mwa
Posts: 3
Joined: Thu Mar 22, 2012 7:59 pm

How to enable/disable NEXT button on textbox having text?

I have a dialog with one textbox that the user must enter some specified text to continue the installation.
I want the NEXT button of the dialog to be disabled at first and then enabled when the text box is set to some specified text.
How do I achieve that?

I'm confused about the eventing system in Advanced Installer. The help file is not very verbose about this, it merely state the obvious.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to enable/disable NEXT button on textbox having text

Hello,

You can have a couple of control conditions set on the "Next" button as follows:
control_conditions.jpg
control_conditions.jpg (24.02 KiB) Viewed 3325 times
Where EDIT_1_PROP_1 is the public "Property Name" associated with the edit box control.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”