Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
required field validator is server side validator?
Posted

1 solution

You can have a required field validator be coded/implemented both client and server side. The client side would more than likely be done in JavaScript checking the input BEFORE sending on to the server.

The server-side script however would have to read the input then if invalid data redirect the client to the input screen (form, for example).

I prefer client-side because to me its less coding.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900