getFormType (Client API reference)
Gets the form type for the record.
Syntax
formContext.ui.getFormType();
Return Value
Type: Number
Description: Form type. Returns one of the following values
| Value | Form type |
|---|---|
| 0 | Undefined |
| 1 | Create |
| 2 | Update |
| 3 | Read Only |
| 4 | Disabled |
| 6 | Bulk Edit |
Note
Quick Create forms return 1.