Avatar

Correct answer by
Level 10

Hi,

you can check if the Ctrl-Button is pressed while the new value is entered in a field.

So you can at least avoid pasing through Ctrl + V key combination.


if (xfa.event.change.length > 1 || xfa.event.modifier === true ) {


    xfa.event.change = "";


}


View solution in original post