Expand my Community achievements bar.

hide cursor

Avatar

Level 3

Hello

I there a way to hide the cursor from a textField, i tried to put it in readOnly ou proteced mode, it dont works !

Thanks

1 Reply

Avatar

Level 10

You can use the setFocus method in the mouseEnter and enter event of the field to jump to another form object.

     xfa.host.setFocus(TextField5);

This will make is unpossible for the users to select the text in the field with the mouse or the keyboard as long JavaScript is activated.