Move create form to only show in list
This commit is contained in:
@@ -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>';
|
||||
|
||||
Reference in New Issue
Block a user