|
|
#1 |
|
Junior Member
|
I have two questions for the forum members:
1) How can I force a text entry field to allow only Alphabetic characters (no numbers, special characters, etc)? 2) I have set my text entry fields to be 6 characters in length (max and min both equal 6). Now, when the user enters six characters, I want the cursor to automatically jump to the next field. Is this possible? Thanks in advance! Dave |
|
|
|
|
|
#2 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Use the NOTIFY flag feature to check the input and take actions.
|
|
|
|
|
|
#3 |
|
Junior Member
|
NOTIFY doesn't seem to do anything until you press a button. I need to know when the Text Entry field has reached its maximum length of 6 characters, and then I want to set focus to the next text input field.
Also, still looking for an ALPHA-only setting for the text entry fields as well. Thanks! |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
NOTIFY indeed doesn't work for that purpose. So without changing the InstallOptions source code, waiting for the feature to be implmented or write a plug-in which will subclass the InstallOptions window; you can't do it.
As for alpha only, there is no flag for that so you'll have to verify on the leave function. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
|
Thanks for your reply. I suppose, then, that I would like these two requests to be considered for future enhancements of the product. In the mean time, I'll go at it from your suggested approaches.
Have a great weekend! Dave |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|