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
- :
- 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
‎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
‎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.