You are not logged in.
Pages: 1
I'm trying to set a validation using InternalDefineModel and AddFilterOrValidate('LogonName', TSynValidatePatternI.Create('[! ]')). Which would be the correct pattern to disallow space characters?
Last edited by mauriciobs (2016-08-17 20:38:30)
Offline
Thanks for the quick reply. Your tip worked very well.
AddFilterOrValidate('logonname', TSynValidateText.Create('{"MinLength":5,"MaxSpaceCount":0}'));
Offline
Pages: 1