I have a long form that heavily uses client-side validation (written in jQuery). To prevent users with JavaScript disabled from submitting the form, I included a hidden field that is populated with javascript_enabled jQuery. If JS is disabled in the browser, then the file remains empty and the form will not be submitted.
The question is, is this enough, and should I feel safe, or do I also need to enable server-side validation for each field?
source
share