Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the best form validation in your opinion? why?

user-image
Question ajoutée par عبدالرزاق رحمون , IT engineer , Ministry of Education
Date de publication: 2016/03/25
Syed Sabur
par Syed Sabur , Sr Technical Recruiter , SQL Pager LLC

Use Ajax for form validation, because it has the power to work on the specific target instantly without impacting on any other part.

Mohammad Aman
par Mohammad Aman , Web Developer , IHCC

Best choice to use server side validation. Client side validation are harmful and hackers may attack on your web site. Client side code can be viewed in browser while server side code in parsed before render the page. I want to suggest you don't use html 5 require attribute to validate your input because it is removed if user want going to developer console by clicking inspect element.

Rehan Farooq
par Rehan Farooq , WEB DEVELOPER/DIGITAL MARKETING EXPERT , Upwork

Here is the best validation practices and tutorials!

https://www.smashingmagazine.com/2009/07/web-form-validation-best-practices-and-tutorials/

Gayasuddin Mohammed
par Gayasuddin Mohammed , Advocate , Practicing Law before High Court at Hyderabad

like -not accepting numerical values for alphabets or vice versa

- when the values are limited and known set then providing the drop down box so that restricting the values of inappropriate.

- radio buttons for yes/no, true/false, for known very limited kind of sets had to choose only one out of them

-  check boxes when more than a option can be choosen out of limited set of values known prior.

few I can think of. sure they are very much useful for validation when you are designing UI.

My 2 cents. Thanks.

عبدالرزاق رحمون
par عبدالرزاق رحمون , IT engineer , Ministry of Education

Most of php framework have theire own form validation (example : codeigniter form validation) -server side validation- as mentionned in Mohammad Aman answer,

but i think that the best is cited in this link http://formvalidation.io/

what do you think about?

nassreddine seydi
par nassreddine seydi , Web and Hybrid Mobile apps Developer , DealTeamQatar

hi,

 please be more specific

More Questions Like This