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!

Antarctica
Posts: 110
Joined: Tue Jul 08, 2014 9:24 am

Validate textfield/Show error tooltip on typing

I have a textfield for SQL username.

The ODBC connection only allows SQL users, not Windows authenticated users.

So, if someone enters \ or @ into the field, it should show an error tooltip and stop taking any more characters, until Backspace is used or the field is emptied using Mouse or arrow keys.

Can I implement such a behaviour, or would I have to show the tooltip/child window when someone presses "Next"?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Validate textfield/Show error tooltip on typing

Hi,
So, if someone enters \ or @ into the field, it should show an error tooltip and stop taking any more characters, until Backspace is used or the field is emptied using Mouse or arrow keys.
Can I implement such a behaviour, or would I have to show the tooltip/child window when someone presses "Next"?
You cannot show a tooltip and prevent the user to type any characters in the related field.
However, you can Display a specific child dialog - SpawnDialog when the Next control is pressed.

If there is anything I can help with just let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”