Google News
logo
Software Testing - Interview Questions
Define Client-side validation.
Client-side validation is the one which is basically done at the browser level where the user’s input is validated at the browser itself with no involvement of the server.
 
Let’s understand it with the help of an Example.
 
Suppose a user is entering an incorrect email format while filling a form. The browser will instantly prompt an error message to correct it before moving on to the next field. Thus every field is corrected before submitting the form.
 
The client-side validation is usually done by script language such as JavaScript, VBScript, HTML 5 attributes.
 
The two types of Client-side validation are :
 
* Field-level validation
* Form level validation
Advertisement