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

How to prepopulate some value and lock it in a comb text field.

Avatar

Level 9

Hello All,

How to prepopulate and lock the last four cells of a text field which is of comb property? (The text field has 8 cells)

Thanks,

Bibhu

1 Reply

Avatar

Level 10

Hi,

You can't partially lock a field. What you could try is to add script which sets the display pattern for the field, making the last four digits part of the display pattern. That way when the user enters into the field they can only edit the first four digits. However note that the .rawValue of the field would be the first four digits.

Niall