# formidable/trunk/classes/views/frm-fields/back-end/field-options.php

Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &amp; More, version trunk. 51 lines.

- Page: https://pluginprobe.com/plugins/formidable/trunk/code/classes/views/frm-fields/back-end/field-options.php
- Raw: https://pluginprobe.com/plugins/formidable/trunk/raw/classes/views/frm-fields/back-end/field-options.php
- Modified: 2026-07-14T18:37:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/formidable/trunk/code/classes/views/frm-fields/back-end/field-options.php#L10-L20`.

```php
<?php
/**
 * Field options settings in the form builder.
 *
 * @package Formidable
 *
 * @var FrmFieldType $this                  Field type handler that included this template.
 * @var array        $args                  Arguments including 'field' and 'field_obj'.
 * @var bool         $should_hide_bulk_edit Whether to hide the bulk edit link.
 * @var string       $option_title          Title attribute for the bulk edit link.
 */

if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}

$field_option_count = is_array( $args['field']['options'] ) ? count( $args['field']['options'] ) : 0;
?>
<span class="frm-hr frm-mb-sm"></span>

<span class="frm-bulk-edit-link <?php echo $should_hide_bulk_edit ? 'frm_hidden' : ''; ?>">
	<a href="#" title="<?php echo esc_attr( $option_title ); ?>" class="frm-h-stack frm-justify-end frm-bulk-edit-link">
		<span>
			<?php
			FrmAppHelper::icon_by_class(
				'frmfont frm_simple_pencil_icon frm_svg24',
				array(

					'aria-label' => __( 'Bulk Edit', 'formidable' ),
				)
			);
			?>
		</span>
		<span>
			<?php
			// skipcq: PHP-E1002
			echo esc_html( $this->get_bulk_edit_string() );
			?>
		</span>
	</a>
</span>

<?php do_action( 'frm_add_multiple_opts_labels', $args['field'] ); ?>

<ul id="frm_field_<?php echo esc_attr( $args['field']['id'] ); ?>_opts" class="frm_sortable_field_opts frm_clear<?php echo $field_option_count > 10 ? ' frm_field_opts_list' : ''; ?> frm_add_remove" data-key="<?php echo esc_attr( $args['field']['field_key'] ); ?>">
	<?php
	// skipcq: PHP-E1002
	$this->show_single_option( $args );
	?>
</ul>

```
