Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

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

user-image
Question added by عبدالرزاق رحمون , IT engineer , Ministry of Education
Date Posted: 2016/03/25
Syed Sabur
by 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
by 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
by 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
by 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.

عبدالرزاق رحمون
by عبدالرزاق رحمون , 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
by nassreddine seydi , Web and Hybrid Mobile apps Developer , DealTeamQatar

hi,

 please be more specific

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.