{"name2":"Tom Riddle","ssn2":"777-00-7777"}

Form validation

Client-side validation

Client-side validations are done in the browser and do not perform a round-trip to the backend. Validations are always repeated on the backend to prevent circumventing the browser checks. Standard error popups are generated by the browser.
Name (required)
SSN (not required)

Server-side validation

Server-side validations are done in the backend and require a round-trip to the server. The entire form is re-rendered on each request. Error messages are generated at the backend and may be customized.
Name (required)
SSN (not required)