[wix-users] Validation for Controls in Dialogs

KONDURU Pavan Pavan.KONDURU at 3ds.com
Wed May 16 10:41:12 PDT 2018


Or what you can do is put a button that says "validate" (disable the next button). Once the user clicks validate, validate all the text/combo boxes and enable the next button if it passes, else leave the next button disabled.
I did this for one of our intallers where we had to validate like 15-20 fields, add a nice progress bar (system.windows.forms.progressbar). This was accepted by the PM, so give it a shot.

--Pavan

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ven H via wix-users
Sent: Wednesday, May 16, 2018 8:56 AM
To: Edwin Castro
Cc: Ven H; WiX Toolset Users Mailing List
Subject: Re: [wix-users] Validation for Controls in Dialogs

Oh..Ok. It is a little disappointing. But, thank you very much for your
detailed response. Really appreciate your support and patience.

Regards,
Venkatesh

On Wed, May 16, 2018 at 8:23 PM, Edwin Castro <egcastr at gmail.com> wrote:

> 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/
>>
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer


More information about the wix-users mailing list