ebs.setFormAttributeRequired
Sets the required level of an attribute.
Syntax
Copy
ebs.setFormAttributeRequired(formId: string, attributeName: string, requiredLevel: 0 | 1 | 2): void
| Parameter | Description |
|---|---|
formId
|
The ID of the entity form from on which you want to set the required level of a specific attribute value. |
attributeName
|
The name of the attribute whose required level you want to set. |
requiredLevel
|
The required level to be set: 0 - None 1 - Recommended 2 - Required |
Response
void