Avatar

Level 10

You can add a JavaScript script in the change event to check how long the inserted value is.

When users types in the value it will be 1 but when the value is pasted it will be longer.

if (xfa.event.change.length > 1) {

     xfa.event.change = "";

}