This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Can Execute Custom Action on Text Change?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 17, 2013
04:05 PM
Can Execute Custom Action on Text Change?
I want to validate the user's activation code so that I can insure they have purchased the application. To do that I have created a custom action to call into a DLL. That is working. However...
I do not know how to make the custom action fire when the user changes the content of the text field. I would really like to be able to enable the "Next" button based on the changing content of the text box in which the user entered their code. If the code is valid Next is enabled, otherwise Next is disabled.I do NOT want the user to have to push a button to forcefully validate, nor do I want them to push Next to then receive a message saying that the code is not valid.
Is this doable with a Custom Action? If so, how?
If this is not doable with a Custom Action how should this be done?
rjsjr
I do not know how to make the custom action fire when the user changes the content of the text field. I would really like to be able to enable the "Next" button based on the changing content of the text box in which the user entered their code. If the code is valid Next is enabled, otherwise Next is disabled.I do NOT want the user to have to push a button to forcefully validate, nor do I want them to push Next to then receive a message saying that the code is not valid.
Is this doable with a Custom Action? If so, how?
If this is not doable with a Custom Action how should this be done?
rjsjr
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 18, 2013
03:31 PM
If you have not, please refer to this thread.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 19, 2013
01:04 AM
HI,
It is possible. Where is the validation exist in custom action dll or install shield script code.
If it is exist in the custom action action dll, send me the user changed text as argument in the dll validation function at the tine of dialog initialization. The validate the user entered text send the response to the install script.
Based on the response enable the next button.
Thanks,
Manoj kumar Unnam.
It is possible. Where is the validation exist in custom action dll or install shield script code.
If it is exist in the custom action action dll, send me the user changed text as argument in the dll validation function at the tine of dialog initialization. The validate the user entered text send the response to the install script.
Based on the response enable the next button.
Thanks,
Manoj kumar Unnam.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)