Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Locking Field

Avatar

Level 1

Could someone let me know how I can lock a field after exiting it. I am not familiar with programing so any help would be appricated.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

In the exit event of the field, place the following JavaScript:

this.access = "readOnly";

Please note that this will lock the field and the user will not be able to go back and edit the data or put in new data. This may not be the behaviour the user expects.

Hope that helps,

Niall

View solution in original post

0 Replies

Avatar

Correct answer by
Level 10

Hi,

In the exit event of the field, place the following JavaScript:

this.access = "readOnly";

Please note that this will lock the field and the user will not be able to go back and edit the data or put in new data. This may not be the behaviour the user expects.

Hope that helps,

Niall