PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.9
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.9
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / frm-fields / back-end / settings.php

settings.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.9, at classes/views/frm-fields/back-end/settings.php

410 lines 19.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5 ?>
6 <div class="frm-single-settings frm_hidden frm-fields frm-type-<?php echo esc_attr( $field['type'] ); ?>" id="frm-single-settings-<?php echo esc_attr( $field['id'] ); ?>" data-fid="<?php echo esc_attr( $field['id'] ); ?>">
7 <input type="hidden" name="frm_fields_submitted[]" value="<?php echo esc_attr( $field['id'] ); ?>" />
8 <input type="hidden" name="field_options[field_order_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['field_order'] ); ?>" />
9
10 <h3 aria-expanded="true">
11 <?php
12 printf(
13 /* translators: %s: Field type */
14 esc_html__( '%s Field', 'formidable' ),
15 esc_html( $type_name )
16 );
17 ?>
18 <span class="frm-sub-label frm-text-sm">
19 (ID <?php echo esc_html( $field['id'] ); ?>)
20 </span>
21 </h3>
22
23 <div class="frm_grid_container frm-collapse-me" role="group">
24 <?php
25 if ( $field['type'] === 'captcha' && ! FrmFieldCaptcha::should_show_captcha() ) {
26 ?>
27 <div class="frm_warning_style frm-with-icon">
28 <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_alert_icon', array( 'style' => 'width:24px' ) ); ?>
29 <span>
30 <?php
31 /* translators: %1$s: Link HTML, %2$s: End link */
32 printf( esc_html__( 'Captchas will not be used until the Site and Secret Keys are %1$sset up%2$s.', 'formidable' ), '<a href="?page=formidable-settings&t=captcha_settings" target="_blank">', '</a>' );
33 ?>
34 </span>
35 </div>
36 <?php
37 }
38 if ( $field['type'] === 'credit_card' && ! FrmAppHelper::pro_is_installed() ) {
39 if ( ! FrmStrpLiteConnectHelper::at_least_one_mode_is_setup() ) {
40 FrmStrpLiteAppHelper::not_connected_warning();
41 } elseif ( ! FrmTransLiteActionsController::get_actions_for_form( $field['form_id'] ) ) {
42 ?>
43 <div class="frm_warning_style frm-with-icon">
44 <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_alert_icon', array( 'style' => 'width:24px' ) ); ?>
45 <span>
46 <?php
47 /* translators: %1$s: Link HTML, %2$s: End link */
48 printf( esc_html__( 'Credit Cards will not work without %1$sadding a Collect Payment action%2$s.', 'formidable' ), '<a href="?page=formidable&frm_action=settings&id=' . absint( $field['form_id'] ) . '&t=email_settings" target="_blank">', '</a>' );
49 ?>
50 </span>
51 </div>
52 <?php
53 }
54 }
55 ?>
56 <?php if ( $display['label'] ) { ?>
57 <p>
58 <label for="frm_name_<?php echo esc_attr( $field['id'] ); ?>">
59 <?php echo esc_html( apply_filters( 'frm_builder_field_label', __( 'Field Label', 'formidable' ), $field ) ); ?>
60 </label>
61 <input type="text" name="field_options[name_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['name'] ); ?>" id="frm_name_<?php echo esc_attr( $field['id'] ); ?>" data-changeme="field_label_<?php echo esc_attr( $field['id'] ); ?>" />
62 </p>
63 <?php } else { ?>
64 <input type="hidden" name="field_options[name_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['name'] ); ?>" id="frm_name_<?php echo esc_attr( $field['id'] ); ?>" />
65 <?php } ?>
66
67 <p class="frm-hide-empty">
68 <?php if ( $display['required'] ) { ?>
69 <label for="frm_req_field_<?php echo esc_attr( $field['id'] ); ?>" class="frm_inline_label">
70 <input type="checkbox" id="frm_req_field_<?php echo esc_attr( $field['id'] ); ?>" class="frm_req_field" name="field_options[required_<?php echo esc_attr( $field['id'] ); ?>]" value="1" <?php checked( $field['required'], 1 ); ?> />
71 <?php esc_html_e( 'Required', 'formidable' ); ?>
72 </label>
73 <?php
74 }
75
76 if ( $display['unique'] ) {
77 ?>
78 <label for="frm_uniq_field_<?php echo esc_attr( $field['id'] ); ?>" class="frm_inline_label frm_help" title="<?php esc_attr_e( 'Unique: Do not allow the same response multiple times. For example, if one user enters \'Joe\', then no one else will be allowed to enter the same name.', 'formidable' ); ?>"><input type="checkbox" name="field_options[unique_<?php echo esc_attr( $field['id'] ); ?>]" id="frm_uniq_field_<?php echo esc_attr( $field['id'] ); ?>" value="1" <?php checked( $field['unique'], 1 ); ?> class="frm_mark_unique" />
79 <?php esc_html_e( 'Unique', 'formidable' ); ?>
80 </label>
81 <?php
82 }
83
84 if ( $display['read_only'] ) {
85 ?>
86 <label for="frm_read_only_field_<?php echo esc_attr( $field['id'] ); ?>" class="frm_inline_label frm_help" title="<?php esc_attr_e( 'Read Only: Show this field but do not allow the field value to be edited from the front-end.', 'formidable' ); ?>" >
87 <input type="checkbox" id="frm_read_only_field_<?php echo esc_attr( $field['id'] ); ?>" name="field_options[read_only_<?php echo esc_attr( $field['id'] ); ?>]" value="1" <?php checked( $field['read_only'], 1 ); ?>/>
88 <?php esc_html_e( 'Read Only', 'formidable' ); ?>
89 </label>
90 <?php
91 }
92
93 do_action( 'frm_field_options_form_top', $field, $display, $values );
94 ?>
95 </p>
96
97 <?php
98 if ( $display['range'] ) {
99 include FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/number-range.php';
100 }
101
102 $field_obj->show_primary_options( compact( 'field', 'display', 'values' ) );
103
104 ?>
105
106 <?php if ( $display['css'] ) { ?>
107 <p class="frm-has-modal">
108 <label for="frm_classes_<?php echo esc_attr( $field['id'] ); ?>" class="frm_help" title="<?php esc_attr_e( 'Add a CSS class to the field container. Use our predefined classes to align multiple fields in single row.', 'formidable' ); ?>">
109 <?php esc_html_e( 'CSS Layout Classes', 'formidable' ); ?>
110 </label>
111 <span class="frm-with-right-icon">
112 <?php
113 FrmAppHelper::icon_by_class(
114 'frm_icon_font frm_more_horiz_solid_icon frm-show-inline-modal',
115 array(
116 'data-open' => 'frm-layout-classes-box',
117 'title' => esc_attr__( 'Toggle Options', 'formidable' ),
118 )
119 );
120 ?>
121 <input type="text" name="field_options[classes_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['classes'] ); ?>" class="frm_classes" id="frm_classes_<?php echo esc_attr( $field['id'] ); ?>" data-changeme="frm_field_id_<?php echo esc_attr( $field['id'] ); ?>" data-changeatt="class" data-sep=" " data-shortcode="0" />
122 </span>
123 </p>
124 <?php } ?>
125 </div>
126
127 <?php
128
129 $field_obj->show_field_choices( compact( 'field', 'display', 'values' ) );
130
131 if ( $display['clear_on_focus'] ) {
132 do_action( 'frm_extra_field_display_options', $field );
133 }
134
135 /**
136 * Fires after printing the primary options section of field.
137 *
138 * @since 5.0.04 Added `$display` and `$values`.
139 *
140 * @param array $field Field data.
141 * @param FrmFieldType $field_obj Field type object.
142 * @param array $display Display data.
143 * @param array $values Field values.
144 */
145 do_action( 'frm_before_field_options', $field, compact( 'field_obj', 'display', 'values' ) );
146
147 ?>
148 <h3 class="frm-collapsed" aria-expanded="false" tabindex="0" role="button" aria-label="<?php esc_html_e( 'Collapsible Advanced Settings', 'formidable' ); ?>" aria-controls="collapsible-section">
149 <?php esc_html_e( 'Advanced', 'formidable' ); ?>
150 <?php FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown6_icon', array( 'aria-hidden' => 'true' ) ); ?>
151 </h3>
152 <div class="frm_grid_container frm-collapse-me" role="group">
153
154 <?php if ( $display['default'] ) { ?>
155 <div class="frm-has-modal">
156 <?php if ( count( $default_value_types ) > 1 ) { ?>
157 <span class="frm-default-switcher">
158 <?php foreach ( $default_value_types as $def_name => $link ) { ?>
159 <a href="#" title="<?php echo esc_attr( $link['title'] ); ?>" class="<?php echo esc_attr( $link['class'] ); ?>" data-toggleclass="frm_hidden frm-open"
160 <?php foreach ( $link['data'] as $data_key => $data_value ) { ?>
161 data-<?php echo esc_attr( $data_key ); ?>="<?php echo esc_attr( $data_value . ( substr( $data_value, -1 ) === '-' ? $field['id'] : '' ) ); ?>"
162 <?php } ?>
163 <?php if ( isset( $link['data']['frmshow'] ) ) { ?>
164 data-frmhide=".frm-inline-modal,.default-value-section-<?php echo esc_attr( $field['id'] ); ?>"
165 <?php } ?>
166 >
167 <?php FrmAppHelper::icon_by_class( $link['icon'] ); ?>
168 </a>
169 <?php } ?>
170 </span>
171 <?php } ?>
172 <?php $field_obj->show_default_value_setting( $field, $field_obj, $default_value_types, $display ); ?>
173 <?php do_action( 'frm_default_value_setting', compact( 'field', 'display', 'default_value_types' ) ); ?>
174 </div>
175 <?php
176 }//end if
177 ?>
178
179 <?php $field_obj->show_after_default( compact( 'field', 'display' ) ); ?>
180
181 <?php if ( $display['clear_on_focus'] ) { ?>
182 <p>
183 <label for="frm_placeholder_<?php echo esc_attr( $field['id'] ); ?>">
184 <?php esc_html_e( 'Placeholder Text', 'formidable' ); ?>
185 </label>
186 <?php
187 if ( $display['type'] === 'textarea' || $display['type'] === 'rte' ) {
188 ?>
189 <textarea name="field_options[placeholder_<?php echo esc_attr( $field['id'] ); ?>]" id="frm_placeholder_<?php echo esc_attr( $field['id'] ); ?>" rows="3" data-changeme="field_<?php echo esc_attr( $field['field_key'] ); ?>" data-changeatt="placeholder"><?php
190 echo FrmAppHelper::esc_textarea( $field['placeholder'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
191 ?></textarea>
192 <?php
193 } else {
194 ?>
195 <input type="text" name="field_options[placeholder_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['placeholder'] ); ?>" id="frm_placeholder_<?php echo esc_attr( $field['id'] ); ?>" data-changeme="field_<?php echo esc_attr( $field['field_key'] ); ?>" data-changeatt="placeholder" />
196 <?php
197 }
198 ?>
199 </p>
200 <?php } ?>
201
202 <?php
203 if ( $display['description'] ) {
204 include FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-description.php';
205 }
206
207 // Field Size
208 if ( $display['size'] && ! in_array( $field['type'], array( 'select', 'data', 'time' ) ) ) {
209 $display_max = $display['max'];
210 include FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/pixels-wide.php';
211 }
212 ?>
213
214 <?php if ( $display['show_image'] ) { ?>
215 <p>
216 <label for="frm_show_image_<?php echo esc_attr( $field['id'] ); ?>">
217 <input type="checkbox" id="frm_show_image_<?php echo esc_attr( $field['id'] ); ?>" name="field_options[show_image_<?php echo esc_attr( $field['id'] ); ?>]" value="1" <?php checked( $field['show_image'], 1 ); ?> />
218 <?php esc_html_e( 'If this URL points to an image, show to image on the entries listing page.', 'formidable' ); ?>
219 </label>
220 </p>
221 <?php } ?>
222
223 <?php if ( $display['captcha_size'] ) { ?>
224 <p class="frm6 frm_first frm_form_field">
225 <label for="field_options_captcha_size_<?php echo esc_attr( $field['id'] ); ?>" class="frm_help" title="<?php esc_attr_e( 'Set the size of the captcha field. The compact option is best if your form is in a small area.', 'formidable' ); ?>">
226 <?php esc_html_e( 'Captcha Size', 'formidable' ); ?>
227 </label>
228 <select name="field_options[captcha_size_<?php echo esc_attr( $field['id'] ); ?>]" id="field_options_captcha_size_<?php echo esc_attr( $field['id'] ); ?>">
229 <option value="normal" <?php selected( $field['captcha_size'], 'normal' ); ?>>
230 <?php esc_html_e( 'Normal', 'formidable' ); ?>
231 </option>
232 <option value="compact" <?php selected( $field['captcha_size'], 'compact' ); ?>>
233 <?php esc_html_e( 'Compact', 'formidable' ); ?>
234 </option>
235 </select>
236 </p>
237 <?php } ?>
238 <?php if ( $display['captcha_theme'] ) { ?>
239 <p class="frm6 frm_form_field">
240 <label for="captcha_theme_<?php echo esc_attr( $field['field_key'] ); ?>">
241 <?php esc_html_e( 'Captcha Theme', 'formidable' ); ?>
242 </label>
243 <select name="field_options[captcha_theme_<?php echo esc_attr( $field['id'] ); ?>]" id="captcha_theme_<?php echo esc_attr( $field['field_key'] ); ?>">
244 <option value="light" <?php selected( $field['captcha_theme'], 'light' ); ?>>
245 <?php esc_html_e( 'Light', 'formidable' ); ?>
246 </option>
247 <option value="dark" <?php selected( $field['captcha_theme'], 'dark' ); ?>>
248 <?php esc_html_e( 'Dark', 'formidable' ); ?>
249 </option>
250 <?php if ( $display['captcha_theme_auto_option'] ) { ?>
251 <option value="auto" <?php selected( $field['captcha_theme'], 'auto' ); ?>>
252 <?php esc_html_e( 'Auto', 'formidable' ); ?>
253 </option>
254 <?php } ?>
255 </select>
256 </p>
257 <?php } ?>
258
259 <?php
260 if ( $display['format'] ) {
261 FrmFieldsController::show_format_option( $field );
262 }
263
264 do_action( 'frm_field_options', compact( 'field', 'display', 'values' ) );
265 ?>
266
267 <?php if ( $display['required'] ) { ?>
268 <p class="frm6 frm_form_field frm_required_details<?php echo esc_attr( $field['id'] . ( $field['required'] ? '' : ' frm_hidden' ) ); ?>">
269 <label for="field_options_required_indicator_<?php echo esc_attr( $field['id'] ); ?>">
270 <?php esc_html_e( 'Required Field Indicator', 'formidable' ); ?>
271 </label>
272 <input type="text" id="field_options_required_indicator_<?php echo esc_attr( $field['id'] ); ?>" name="field_options[required_indicator_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['required_indicator'] ); ?>" />
273 </p>
274 <?php } ?>
275
276 <?php if ( $display['label_position'] ) { ?>
277 <p class="frm6 frm_form_field">
278 <label for="field_options_label_<?php echo esc_attr( $field['id'] ); ?>"><?php esc_html_e( 'Label Position', 'formidable' ); ?></label>
279 <select id="field_options_label_<?php echo esc_attr( $field['id'] ); ?>" name="field_options[label_<?php echo esc_attr( $field['id'] ); ?>]">
280 <option value="" <?php selected( $field['label'], '' ); ?>>
281 <?php esc_html_e( 'Default', 'formidable' ); ?>
282 </option>
283 <?php
284 foreach ( FrmStylesHelper::get_single_label_positions() as $pos => $pos_label ) {
285 if ( ! $display['clear_on_focus'] && 'inside' === $pos ) {
286 // Don't allow inside labels for fields without placeholders.
287 continue;
288 }
289 ?>
290 <option value="<?php echo esc_attr( $pos ); ?>"<?php selected( $field['label'], $pos ); ?>>
291 <?php echo esc_html( $pos_label ); ?>
292 </option>
293 <?php } ?>
294 <?php if ( $field['type'] === 'divider' ) { ?>
295 <option value="center" <?php selected( $field['label'], 'center' ); ?>>
296 <?php esc_html_e( 'Center', 'formidable' ); ?>
297 </option>
298 <?php } ?>
299 </select>
300 </p>
301 <?php
302 }//end if
303 ?>
304
305 <p class="frm6 frm_form_field">
306 <label for="field_options_field_key_<?php echo esc_attr( $field['id'] ); ?>" class="frm_help" title="<?php esc_attr_e( 'The field key can be used as an alternative to the field ID in many cases.', 'formidable' ); ?>">
307 <?php esc_html_e( 'Field Key', 'formidable' ); ?>
308 </label>
309 <input type="text" name="field_options[field_key_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['field_key'] ); ?>" id="field_options_field_key_<?php echo esc_attr( $field['id'] ); ?>"/>
310 </p>
311
312 <?php if ( count( $field_types ) > 1 ) { ?>
313 <p class="frm6 frm_form_field">
314 <label for="field_options_type_<?php echo esc_attr( $field['id'] ); ?>">
315 <?php esc_html_e( 'Field Type', 'formidable' ); ?>
316 </label>
317 <select name="field_options[type_<?php echo esc_attr( $field['id'] ); ?>]" id="field_options_type_<?php echo esc_attr( $field['id'] ); ?>">
318 <?php foreach ( $field_types as $fkey => $ftype ) { ?>
319 <?php
320 // We need to avoid the word "select" in POST requests.
321 // When "dropdown" is sent as a type value, we'll map it back to "select" with PHP.
322 $type_option_value = 'select' === $fkey ? 'dropdown' : $fkey;
323 ?>
324 <option value="<?php echo esc_attr( $type_option_value ); ?>" <?php echo ( $fkey === $field['type'] ) ? ' selected="selected"' : ''; ?> <?php echo array_key_exists( $fkey, $disabled_fields ) ? 'disabled="disabled"' : ''; ?>>
325 <?php echo esc_html( is_array( $ftype ) ? $ftype['name'] : $ftype ); ?>
326 </option>
327 <?php
328 unset( $fkey, $ftype, $type_option_value );
329 }
330 ?>
331 </select>
332 </p>
333 <?php } else { ?>
334 <input type="hidden" id="field_options_type_<?php echo esc_attr( $field['id'] ); ?>" value="<?php echo esc_attr( $field['type'] ); ?>" />
335 <?php
336 }//end if
337 ?>
338
339 <table class="form-table frm-mt-0">
340 <?php $field_obj->show_options( $field, $display, $values ); ?>
341 <?php do_action( 'frm_field_options_form', $field, $display, $values ); ?>
342 </table>
343 </div>
344
345 <?php if ( $display['required'] || $display['invalid'] || $display['unique'] || $display['conf_field'] ) { ?>
346 <?php
347 $hidden_invalid = FrmField::is_field_type( $field, 'text' ) && ! FrmField::is_option_true( $field, 'format' ) && FrmField::is_option_empty( $field, 'max' );
348 $has_validation = ( ( $display['invalid'] && ! $hidden_invalid ) || $field['required'] || FrmField::is_option_true( $field, 'unique' ) || FrmField::is_option_true( $field, 'conf_field' ) );
349 ?>
350 <div class="frm_validation_msg <?php echo esc_attr( $has_validation ? '' : 'frm_hidden' ); ?>">
351 <h3 class="frm-collapsed" aria-expanded="false" tabindex="0" role="button" aria-label="<?php esc_html_e( 'Collapsible Validation Messages Settings', 'formidable' ); ?>" aria-controls="collapsible-section">
352 <?php esc_html_e( 'Validation Messages', 'formidable' ); ?>
353 <?php FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown6_icon', array( 'aria-hidden' => 'true' ) ); ?>
354 </h3>
355
356 <div class="frm_validation_box frm-collapse-me" role="group">
357 <?php if ( $display['required'] ) { ?>
358 <p class="frm_required_details<?php echo esc_attr( $field['id'] . ( $field['required'] ? '' : ' frm_hidden' ) ); ?>">
359 <label for="field_options_blank_<?php echo esc_attr( $field['id'] ); ?>">
360 <?php esc_html_e( 'Required', 'formidable' ); ?>
361 </label>
362 <input type="text" name="field_options[blank_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['blank'] ); ?>" id="field_options_blank_<?php echo esc_attr( $field['id'] ); ?>"/>
363 </p>
364 <?php } ?>
365
366 <?php if ( $display['invalid'] ) { ?>
367 <p class="frm_invalid_msg<?php echo esc_attr( $field['id'] . ( $hidden_invalid ? ' frm_hidden' : '' ) ); ?>">
368 <label for="field_options_invalid_<?php echo esc_attr( $field['id'] ); ?>">
369 <?php esc_html_e( 'Invalid Format', 'formidable' ); ?>
370 </label>
371 <input type="text" name="field_options[invalid_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['invalid'] ); ?>" id="field_options_invalid_<?php echo esc_attr( $field['id'] ); ?>"/>
372 </p>
373 <?php
374 }
375
376 if ( $display['unique'] ) {
377 ?>
378 <p class="frm_unique_details<?php echo esc_attr( $field['id'] . ( $field['unique'] ? '' : ' frm_hidden' ) ); ?>">
379 <label for="field_options_unique_msg_<?php echo esc_attr( $field['id'] ); ?>">
380 <?php esc_html_e( 'Unique', 'formidable' ); ?>
381 </label>
382 <input type="text" name="field_options[unique_msg_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['unique_msg'] ); ?>" id="field_options_unique_msg_<?php echo esc_attr( $field['id'] ); ?>" />
383 </p>
384 <?php
385 }
386
387 if ( $display['conf_field'] ) {
388 ?>
389 <p class="frm_conf_details<?php echo esc_attr( $field['id'] . ( $field['conf_field'] ? '' : ' frm_hidden' ) ); ?>">
390 <label for="field_options_conf_msg_<?php echo esc_attr( $field['id'] ); ?>">
391 <?php esc_html_e( 'Confirmation', 'formidable' ); ?>
392 </label>
393 <input type="text" name="field_options[conf_msg_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['conf_msg'] ); ?>" id="field_options_conf_msg_<?php echo esc_attr( $field['id'] ); ?>" />
394 </p>
395 <?php
396 }
397 ?>
398 </div>
399 </div>
400 <?php
401 }//end if
402 ?>
403
404 <?php do_action( 'frm_after_field_options', compact( 'field', 'display', 'values' ) ); ?>
405
406 <?php if ( $display['conf_field'] ) { ?>
407 <input type="hidden" name="field_options[conf_desc_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['conf_desc'] ); ?>" />
408 <?php } ?>
409 </div>
410