Move create form to only show in list

This commit is contained in:
2026-05-12 13:17:27 +02:00
parent 2d537f07dd
commit 5c287eceba
2 changed files with 10 additions and 18 deletions

View File

@@ -103,7 +103,6 @@
// Display custom fields
$custom_fields = go_form_get_custom_fields($form_id);
foreach ($custom_fields as $field):
if (!$field->is_public) continue;
$field_id = 'custom_field_' . $field->id;
echo '<div' . ($field->field_type === 'checkbox' ? ' style="grid-column: span 2;"' : '') . '>';
echo '<label for="' . esc_attr($field_id) . '">' . esc_html($field->field_name) . ($field->is_required ? '*' : '') . ':</label>';