Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 28th December 2006, 15:11   #1
OsmanY22
Junior Member
 
Join Date: Aug 2006
Posts: 20
not allow for special characters

Hi ...

i have a field - type "text" and "password", and i want, that by input the dont have any special characters, mybe "# ... $ ... % ... )

please help someone

cu
ossi
OsmanY22 is offline   Reply With Quote
Old 29th December 2006, 09:39   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
You could use StrFilter to filter the string. You can then compare the original to the result. If they are different, the user used an invalid character.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 29th December 2006, 10:04   #3
OsmanY22
Junior Member
 
Join Date: Aug 2006
Posts: 20
Thx a lot man!!!
It works!
OsmanY22 is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump