Data validation is a SpreadJS feature that you can use to define restrictions on what data can or should be entered in a cell. You can configure data validation to prevent users from entering data that is not valid. This can be particularly useful if you have a form connected to a database that you want to allow users to enter data in, but you want to restrict the input to fit the restrictions in your database.