React to a change in an edit - Advanced Installer Community
hsc
Posts: 117
Joined: Wed Mar 02, 2016 2:55 pm

React to a change in an edit

Hi,
is there a way that a character typed into an edit field can trigger an action, such as validation of the entered text? I saw the forum topic viewtopic.php?t=22131 which indicates it isn't, but that thread is now 2 years old, and maybe this feature was added in the meantime.
Thanks, Hans
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: React to a change in an edit

Hello Hans,

I'm afraid that a keystroke-based listening mechanism is not available. The built-in Windows Installer functionality does not support live character-by-character triggers.

The simplest solution is to perform validation when the user clicks the Next or Install button.

We apologize for the inconvenience.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hsc
Posts: 117
Joined: Wed Mar 02, 2016 2:55 pm

Re: React to a change in an edit

Hello Liviu, thanks for the reply. No need to apalogize. We must live with some limitations :)
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: React to a change in an edit

You're always welcome, Hans! :)

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

Return to “Common Problems”