Hi Sudripta, In you situation, just publish the custom action for your next button like this: <Publish Dialog="DialogName" Control="Next" Event="DoAction" Value="YourCustomAction" Order="1">1</Publish> <Publish Dialog="DialogName" Control="Next" Event="SpawnDialog" Value="DialogName2" Order="2">ValidationSuccess = "0"</Publish> <Publish Dialog="DialogName" Control="Next" Event="NewDialog" Value="NextDialogName" Order="3"><![CDATA[ValidationSuccess = "1"]]></Publish>
Hope it helps... Regards, Romeo Sudripta Nandy (Sarangsoft Corporation) wrote: > > In my setup program, I have a dialog with some edit boxes. The user needs > to enter some values in these edit boxes. I need to validate the values > entered by the user using a custom actions routine as soon as the user > clicks the 'Next >' push button. For this I have associated some > properties with these edit boxes and the custom action routine validates > these properties. But, I am not sure of how to execute the custom action > routine when the 'Next >' push button is clicked. When the push button is > clicked I need to do the following things: > > 1. Execute the custom action routine (the custom action routine sets a > property called 'ValidationSuccess' to 1 if validation was successful else > 0). > 2. If 'ValidationSuccess' property has the value '0', spawn another > dialog. > > > During both the above steps, I need to have my dialog in displayed state. > Any ideas on how to do this? > > > Thanks. > Sudripta. > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Running-a-custom-action-on-a-push-button-click-tp2487489p2490037.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users