cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RicAub
Level 3

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);
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

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.
0 Kudos
RicAub
Level 3

Thanks. Its was MSI. Thats what I did. Attached a custom action to the next button if the property was ""
0 Kudos