The value can’t be set in the Edit context In Beforeload

When a record is in edit mode, the user event script can’t set value in any fields in beforeload entry point.

But we can set value in create context, using user event script in beforeload entry point.

This restriction only exists in beforeload entry point. In beforeSubmit entry point, we can use setValue to set values in the fields.

In aftersubmit we can set value by using submitFields function or by leading and saving the record.

Leave a comment

Your email address will not be published. Required fields are marked *