DEV Community

Discussion on: How to prevent pasting into input fields

Collapse
 
jarelsc81 profile image
Jarel C

Mostly this should be avoided, however I see one good use for this. Verifying an account number on ACH payment forms. You want users to actually verify their account number by typing it in twice instead of just copying an incorrect number from the first field into the second. This reduces the invalid account kick backs from banks that happen several days after payment is made.