setting("formId"); if ($id > 0): $form = $formRepository->findWithId($id); $fields = json_decode($form["fields"], true); $formInstanceId = uniqid("form-$id-"); ?>
$field): $fieldName = $field["name"]; $fieldLabel = $field["label"]; $fieldType = $field["type"]; $fieldId = $formInstanceId . "-field-" . (int) $fieldIndex; $fieldRequired = isset($field["required"]) && $field["required"]; $fieldOptions = isset($field["options"]) ? $field["options"] : []; ?>
"> (required)
$option): ?>
$option): ?>
>

Select a form in the settings