[wix-users] Validation for Controls in Dialogs

Edwin Castro egcastr at gmail.com
Wed May 16 07:53:19 PDT 2018


I don't write UIs for MSI so take what I say with a grain of salt, but I
believe you must implement validation as custom actions. As such, they can
only be triggered on page transition so the user must try to continue to
the next page before you can perform the validation.

You might be able to transition automatically back to the previous page if
the validation failed. I vaguely remember a UI I reviewed once doing that
but that was more than a decade ago. I am most likely misremembering the
details.

--
Edwin G. Castro



On Wed, May 16, 2018, 04:46 Ven H via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Can anyone please advise how to do validations on controls like Edit,
> ComboBox, RadioButtonGroup and so on? Is checking for the property value
> the only way?
>
> Regards,
> Venkatesh
>
> On Wed, May 9, 2018 at 6:33 PM, Ven H <venh.123 at gmail.com> wrote:
>
> > Is it possible to validate the controls in Dialogs? Say for example, I
> > have a textbox which must have a value and also I should be able to
> > indicate that it is a required field using something like asterisk
> > (somewhat like asp.net). Is it possible? If so, can we have validation
> on
> > Combo boxes, checkboxes etc also? What all types of validations are
> > available (like Required, Regular Expresion, Numeric, Custom etc)? Please
> > advise.
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list