addControl( )


Adds an input control to the draft form.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Events - all permissions
Manage Events
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
eventIdstringRequired

Event ID to which the form belongs.


optionsAddControlOptions

Optional fields.

Returns
Return Type:Promise<AddControlResponse>
Did this help?