Expand my Community achievements bar.

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