Required property from masked edit box - 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!

clive_bor
Posts: 48
Joined: Thu Mar 09, 2006 8:32 am

Required property from masked edit box

Hi,

I have added a new dialog to enter a custom port for our application using a masked edit box with the mask (Text) set to ####.
I would like to validate and not allow the user to continue the installation if no port value was entered (i.e. blank)

I tried the instructions on the following post and many variations with no success:
http://www.advancedinstaller.com/forums ... f=2&t=7736

Could you please advise, I have attached a sample project replicating the problem.

Thank you
Attachments
port-test.aip
(9.16 KiB) Downloaded 386 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Required property from masked edit box

Hello,

I have attached a sample project to demonstrates the functionality of validating a masked edit control:
test.aip
(13.11 KiB) Downloaded 432 times
You can adapt it to create the validation you need.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”