The Web Quality Assurance Checklist

Picto thématique

Best practice n° 90 - Copy-and-paste is possible in the form’s fields.

#Forms #Development

Goal

  • Simplify form completion.

Implementation

  • Do not catch onpaste or keydown JavaScript events to block pasting into a form field.
  • Do not catch oncopy or oncut JavaScript events to block copying into a form field.

Control

Check that it is possible to copy the content of each field including password fields (using the browser context menu or, failing that, a mechanism specific to the form).
Check that it is possible to paste content into each field including in password fields (by using the contextual menu of the browser or, failing this, a mechanism specific to the form).