popup field Permanently deleted user Created January 04, 2016 11:01 Hello,I have created a dialog with text fields in it.my class extends the DialogWrapper class.my question is how can I make the Text Fields mandotory?any help would be appriciated.
You can take a look at DialogWrapper.setErrorText()
You can override DialogWrapper.doOKAction() to smth like this:
Also, this check can be performed in TextField listener with DialogWrapper.setOKActionEnabled().
Also, if the dialog is simple, you might look at Messages.showInputDialog() and InputValidator / InputValidatorEx.