November Happy Hour will be moved to Thursday December 5th.

Required field validator different behavior client/server-side

Vote:
 

Because of an issue with spam prevention we found out that the behavior of the Required field validator on Text controls in EPI Forms is different on the client and server. When enabled with JavaScript, the validators detect spaces as non valid input for required validators. However when disabling JavaScript in the browser the server-side validation triggers and that one allows spaces as valid data. Is this behavior by design different in JavaScript then on the server?

#202198
Edited, Mar 19, 2019 11:42
Vote:
 

Hi,

This should be a bug. I will report one for fixing.

Thanks

#202224
Mar 20, 2019 7:10
Vote:
 

Hi Jeroen,

Thank you for reporting the bug.

This has been fixed in EPiServer.Forms.4.24.3. Details

#203821
May 08, 2019 4:35
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.