[Links checked February/10/2017] User’s input can be validated on the server and on the client (web browser).Thus we have server-side and client-side validation. In the server-side validation, information is being sent to the server and validated using one of server-side languages.Note that the kses system can be resource-intensive, and should therefore not be run as an output sanitization filter directly, but as a filter to data after it has been input and processed, before it is saved in the database.Word Press runs kses on the pre_comment_content filter, for example, to filter the HTML before saving the comment. This function does not encode characters as HTML entities: use it when storing a URL or in other cases where you need the non-encoded URL.
From a business perspective, the data are how the FDA, other regulators, and business partners evaluate the worth of the product.
Data validation is a series of documented tests of the data with the goal of ensuring the quality and integrity of the data.
More specifically, validation is usually concerned with checking four of the eight characteristics of good clinical data – these characteristics are from the first guidance and the first other reference listed below.
Server-side validation is enough to have a successful and secure form validation.
For better user experience, however, you might consider using client-side validation.