is99
4th August 2006 08:37 UTC
Custom Page Question
Hi guys
I'm using Custom Page to get from a user its username and password.
My problem is that I want to make sure the user enters only characters and numbers in the user field. I mean I don't want the user to write @ in his username. Is there some easy way to do it?
Thanks.
engine
4th August 2006 12:45 UTC
I think you can check the input in the Leave Function of your Custom Page.
If the string contains invalid charactors, then use the Abort Instruction to hold on this Page and give user prompt to reset.
Hope this helps.
Afrow UK
4th August 2006 13:02 UTC
You can use one of these:
http://nsis.sourceforge.net/StrCSpn%...for_characters
-Stu