CodeIgniter 3 - using form_validation on raw POST requests? - Stack Overflow
Form Validation - What method do you use these days?
I don't like any existing form validation solutions
Form validation. Which library is the best one yet?
Videos
I’m wondering what methods most people use for form validation these days.
I haven’t built a contact form in a while and I am updating a React front end with a form that was built using react-bootstrap. I need to add a ’Website’ input field to the form in case the user wants to include their website in their contact information. The old/existing form used html validation, but <input type=‘url’ /> requires the user to type ‘http://‘, which seems a bit annoying for the average non-tech person entering their website address. Also, <input type=‘email’ /> only requires an ‘@‘ with some text after it and does not require a domain such as ‘.com’, ‘.net’, etc.
So I am wondering…what do most do for validation?
Plain HTML validation
HTML validation with some sort of check and then prepending or appending when necessary
<form noValidate />and a completely separate logic for front end validationSomething else