How can I validate the data on next buttton click? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

alexg
Posts: 1
Joined: Fri Mar 19, 2010 10:12 am

How can I validate the data on next buttton click?

Hi,

There is any way to validate the data on next button click?
I have a dialog with a port text box and I was thinking to add validation on the port by displaying a message and canceling the next action if the port is incorrect.

Kind Regards,
Alexandru.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How can I validate the data on next buttton click?

Hi Alexandru,

You can use a published event to launch a custom action created by you that validates the data:
http://www.advancedinstaller.com/user-g ... section150

Use MsiGetProperty API to retrieve the value of the property associated with the text box.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”