Tagged “forms”
-
TIL CSRF Attacks security hack forms
Cross-site Request Forgery (CSRF) is submitting post data from a fake site. To prevent CSRF attacks, web applications should implement measures such as requiring a valid CSRF token to be included with each request, checking the referer header, and using secure cookies.
-
TIL How to auto-grow textarea with pure css css no-js forms
To do this, you replicate the content of the '<textarea>' in an element that can auto expand height, and match its sizing.Same font, same padding, same margin, same border… everything.
-
TIL Value as Number mdn inputs forms
Returns the value of the element, interpreted as one of the following, in order: A time value, A number, NaN if conversion is impossible.
-
TIL about Constraint Validation API (forms) forms html css mdn
Inputs are pretty powerful. Right out of the box, they can autocomplete, validate data, create minimum/maximum lengths, allow for patterns, and even provide state!
-
TIL prohibit inserting text forms javascript
You may want to prevent the user from pasting text copied from somewhere in the input fields by calling its method preventDefault().
-
TIL Putting error messages above the field accessibility forms
Putting error messages above the field
See all tags.