Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Max number of characters entered in a textbox?

Hello,

How to set the number of characters that can be entered in a textbox please?

:?:
K
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Max number of characters entered in a textbox?

Hello,

You can achieve that by going in the "Properties" pane of your text box and in the "Display" section you should modify the content of the "Text" field as following: between curly brackets type the number of characters you want to be the maximum (e.g. {7}).

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Max number of characters entered in a textbox?

You're always welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Max number of characters entered in a textbox?

Hello,

Even though I set the maximum number of characters, I can still enter more characters than the maximum limit. How to prevent entering more characters?

:?:
K
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Max number of characters entered in a textbox?

Hello,

Can you please send us your AIP (project file) to support at advancedinstaller dot com so we can investigate its settings? Also, please specify which control is the one you configured like so.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Max number of characters entered in a textbox?

Hello,

We have tested with both MSI and EXE builds and could not reproduce your issue. Could you please send us the .AIP (project) of the installation to support at advancedinstaller dot com so we can investigate it? If not please send us a test .AIP project that reproduces this issue. Thank you!

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Max number of characters entered in a textbox?

I have just sent the project file to the email please.
K
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Max number of characters entered in a textbox?

Hello K,

We have investigated your project and, indeed this is an Advanced Installer Bug affecting only "Surface Theme". A fix will be available in the a future version of Advanced Installer, thank you for bringing it to our attention. Until then you could use any other theme. Please note that when changing the project theme all the custom changes you performed for the current theme will be lost. The new theme will use in place its default dialogs.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Max number of characters entered in a textbox?

Will this bug be fixed in future versions of Advanced Installer?
K
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Max number of characters entered in a textbox?

You are always welcome.

This bug will be fixed in a future version of Advanced Installer, but unfortunately we don't have an ETA for now. Thank you for your understanding.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Max number of characters entered in a textbox?

Hello,

This was fixed in version 14.4 of Advanced Installer released on October 26st, 2017.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Max number of characters entered in a textbox?

Thank you please. :)
K

Return to “Common Problems”