# formidable/5.2/classes/views/frm-fields/back-end/dropdown-field.php

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

- Page: https://pluginprobe.com/plugins/formidable/5.2/code/classes/views/frm-fields/back-end/dropdown-field.php
- Raw: https://pluginprobe.com/plugins/formidable/5.2/raw/classes/views/frm-fields/back-end/dropdown-field.php
- Modified: 2021-11-17T19:23:10+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/5.2/code/classes/views/frm-fields/back-end/dropdown-field.php#L10-L20`.

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

$replacement = FrmAppHelper::plugin_path() . '/classes/views/frm-fields/front-end/dropdown-field.php';
_deprecated_file( esc_html( basename( __FILE__ ) ), '5.0.13', esc_html( $replacement ) );

if ( ! isset( $read_only ) ) {
	$read_only = FrmField::get_option( $field, 'read_only' );
}

if ( ! isset( $html_id ) ) {
	$html_id = isset( $field['html_id'] ) ? $field['html_id'] : FrmFieldsHelper::get_html_id( $field );
}

require $replacement;

```
