Comments on: Permissive user input validation https://j11y.io/javascript/permissive-user-input-validation/ Sun, 22 Mar 2015 15:39:22 +0000 hourly 1 https://wordpress.org/?v=5.0.13 By: AdrianC https://j11y.io/javascript/permissive-user-input-validation/#comment-2589 Wed, 13 Mar 2013 11:19:57 +0000 https://j11y.io/?p=2197#comment-2589 I think that the majority of users are annoyed sometimes when trying to enter this type of data into various fields, although in corporate environments, a rigid system is preferable because of the problems that might occur when entering incorrect data.

But for us normal users, this idea can be more than a smooth way to enter data, but also a time saver, skipping the few tries until the correct format is entered.

]]>
By: Chris42 https://j11y.io/javascript/permissive-user-input-validation/#comment-2588 Sat, 02 Feb 2013 08:16:18 +0000 https://j11y.io/?p=2197#comment-2588 Excellent post and great idea on the code. I have similar issues with most libraries that support validation: they end-up being too strict and interfere with the user flow. Entering IP addresses is often a pain as comments above mentioned.

My other pet hate is fields that simply limit the number of but include spaces in the count. For example phone numbers and credit cards. I should be able to paste or type with spaces between arbitrary character groups (e.g. ‘xxx xx xxxx’) and only the actual characters count towards the limit. I’d expect the whitespace to be removed by the app on blur or submit and only get an error once this has been done.

I’d love to see something like this integrated within common frameworks e.g. AngularJS that I’m playing with at the moment.

]]>
By: maxw3st https://j11y.io/javascript/permissive-user-input-validation/#comment-2587 Thu, 31 Jan 2013 00:52:02 +0000 https://j11y.io/?p=2197#comment-2587 Thank you for vic.js. It’s a great idea, and I’ll definitely check out vic.js.

]]>
By: James https://j11y.io/javascript/permissive-user-input-validation/#comment-2586 Mon, 28 Jan 2013 21:26:44 +0000 https://j11y.io/?p=2197#comment-2586 @J.B. Thanks for the link! There’s always useful stuff hidden away on c2.com

I very much like the idea of a domain model attempting to extract the correct information from an input and then deferring validation. It’s a bit of a wonder that we’re so used to the status quo of immediately punishing the user whenever they get something wrong.

]]>
By: J. B. Rainsberger https://j11y.io/javascript/permissive-user-input-validation/#comment-2585 Sun, 27 Jan 2013 22:12:24 +0000 https://j11y.io/?p=2197#comment-2585 Thanks for this. Have you seen Ward Cunningham’s paper on the CHECKS Pattern Language of Information Integrity? It relates and you might find it interesting.

http://link.jbrains.ca/UJl7q0

]]>