That's a nice approach Richard.

Thanks,
Lionel


-----Original Message-----
From: Richard [mailto:legal...@xmission.com] 
Sent: Tuesday, June 09, 2009 7:48 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Texbox validation while typing


In article <e97904f9d7b3024ebaaa45446f039aa107fd4...@mail.iiu.ie>,
    "Lobo, Lionel" <lionel.l...@daon.com>  writes:

> I've seen solutions that employ a checkbox to confirm the input, which
> then sets a property to conditionally enable the Next button, but
would
> ideally like to do the validation as a user is typing.

What I've done is to handle validation when they click Next.  If the
input is invalid, then a modal error dialog is shown and the
transition to the next dialog is aborted.  If the text is valid, then
the transition to the next dialog is taken.

All that matters is that you not transition out of a dialog with
invalid input.  It really isn't going to make much difference to the
user if it happens as soon as they type the first bad character or
when they click next.

Remember, we're talking about an installer here that people are going
to run once to install your product.  Its not an application they're
going to be sitting in every single day, hanging on its responses to
every single keystroke.  Keep your UI simple and your install will be
simple and you will have fewer problems and your customers will like
you better.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to