Enable/Disable "Next" button based on Edit Box contents? - Advanced Installer Community
pkimike
Posts: 8
Joined: Mon Feb 21, 2022 9:33 pm

Enable/Disable "Next" button based on Edit Box contents?

Hello all,

I need to implement a custom dialog which requires the user to enter an FQDN. I want the dialog to prevent the user from clicking "Next" until that edit box is populated with something. If there is a way to implement input validation (regex or not) to determine whether it's a valid FQDN that would be great. If possible, I would like the validation & enabling or disabling of the Next button to execute each time the contents of the edit box changes. Is this possible in AI?

Version 22.7 (8031C82A)
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Enable/Disable "Next" button based on Edit Box contents?

Hello,

In order to achieve this, please check the articles below:

Validate user input and display specific icon/error message

Validate User Input for Password Complexity

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pkimike
Posts: 8
Joined: Mon Feb 21, 2022 9:33 pm

Re: Enable/Disable "Next" button based on Edit Box contents?

Thank you for your help!
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Enable/Disable "Next" button based on Edit Box contents?

You're always welcome!

Let us know if you have any other questions.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”