save_acpt_form

save_acpt_form

Register a new form.

Usage

save_acpt_form([
    'name' => 'new-form',
    'label' => 'new form',
    'key' => '12345678',
    'action' => 'CUSTOM',
    'fields' => [],
    'meta' => []
]);

Parameters

  • name (string) (Required) The form name

  • label (string) (Optional) The form label

  • key (string) (Required) The form key

  • action (string) (Required) The

  • fields (array) (Required) Array of form fields

  • meta (array) (Required) Array of associated meta fields

Return

  • boolean

Last updated