Tuesday, January 1, 2019

Set Display Type of Custom Field to Normal via Script

We can use a User Event script deployed on the before record load to change the field's display type to "normal" to allow users to edit the field. Below is a sample line we can use to change the display type via script.

form.getField('custom_field_internal_id').setDisplayType('normal');

No comments:

Post a Comment