So, can we do in this fashion?
Let's think we need to validate some fields on the screen,
Create button called - Validate and On Clicking this button, CA will
validate fields and returns success by updating the Property which is mapped to
Next Button enabling and disabling.
That way, until Next button is Enabled, user is not allowed to navigate
further.
Is this right way to do?
Thanks
Sudheer
-----Original Message-----
From: Bob Arnson [mailto:[email protected]]
Sent: Saturday, December 27, 2008 4:30 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WIX - Field Validation on Custom Dialog
Jagdish Sakhiya wrote:
> I am facing problem on validation of dialog fields. I
> have written custom action to validate a dialog fields and that custom
> action will be called by "DoAction" event of Dialog's "Next" button. Now
> problem is if we return ActionResult.Failure then it will take you to
> premature failed screen. I have also check other
> options(ActionResult.NotExecuted, ActionResult.SkipRemainingActions,
> ActionResult.UserExit)
>
The general approach is to have the custom action set a property that
the UI then checks.
--
sig://boB
http://joyofsetup.com/
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users