deny special characters
Hi,
i have a text field to enter some configuration,
i want deny special characters like "/ \ * $ "
can I doing that please?
thx for your help
Archive: deny special characters
deny special characters
Hi,
i have a text field to enter some configuration,
i want deny special characters like "/ \ * $ "
can I doing that please?
thx for your help
Validate input with StrFilter.
E.g.
!include "WordFunc.nsh"
${StrFilter} "$Input" "12" ".-" "" $0 # letters, digits, dot & dash allowed
-or-
${StrFilter} "$Input" "" "" "/\*$$" $0 # everything but / \ * $ allowed
StrCmp $0 $Input ValidInput InvalidInput