Insights

Server Side Validation with Sitecore Forms

Always Think About The Server Side

When starting on Sitecore Forms functionality, one must carefully consider validation and security requirements for each individual client based on their organizational standard for security and how that affects form behaviour.

For those who are not familiar with the importance of client side AND server side validation when it comes to user inputs through the use of forms, organizations can easily expose themselves to risks. Let's use string length validation as an example.

Client Side Validation

Front End Length Validation

Sitecore Forms validates field inputs on the front end using the jQuery Validation plugin. Content authors can select front end validations in the Forms editor.

Form Submit Actions

On form submit there are various built in actions that come out of the box with Sitecore Forms. Let's use "Save Data" as an example.

Form Submit Action Save Data

Server Side Validation

Sitecore Forms Server Side Validation

👋 Hey Sitecore Enthusiasts!

Sign up to our bi-weekly newsletter for a bite-sized curation of valuable insight from the Sitecore community.

What’s in it for you?

  • Stay up-to-date with the latest Sitecore news
  • New to Sitecore? Learn tips and tricks to help you navigate this powerful tool
  • Sitecore pro? Expand your skill set and discover troubleshooting tips
  • Browse open careers and opportunities
  • Get a chance to be featured in upcoming editions
  • Learn our secret handshake
  • And more!
Sitecore Snack a newsletter by Fishtank Consulting