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
- :
- Re: Making an edit control as a required entry control
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
‎Apr 08, 2010
04:21 PM
Making an edit control as a required entry control
Is there a way to make an edit control required when its on a dialog screen.
In other words I dont want users to skip the screen without entering something in the text edit control. I know I can put a default text, but I really need the users input.
If the user doesnt enter something, maybe I can do a Messagebox("Enter something dummy", WARNING);
In other words I dont want users to skip the screen without entering something in the text edit control. I know I can put a default text, but I really need the users input.
If the user doesnt enter something, maybe I can do a Messagebox("Enter something dummy", WARNING);
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 09, 2010
04:24 PM
What kind of project? If InstallScript or InstallScript MSI, you can disable the Next button until every field has text in it, for example. MSI, however, seems to throw away edit-field-changed messages, so common practice is to perform validation when the user clicks Next.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2010
11:23 AM
Thanks. Its was MSI. Thats what I did. Attached a custom action to the next button if the property was ""
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)