# formidable/6.31/classes/models/FrmFieldSelectionData.php

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

- Page: https://pluginprobe.com/plugins/formidable/6.31/code/classes/models/FrmFieldSelectionData.php
- Raw: https://pluginprobe.com/plugins/formidable/6.31/raw/classes/models/FrmFieldSelectionData.php
- Modified: 2024-05-06T16:07: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/6.31/code/classes/models/FrmFieldSelectionData.php#L10-L20`.

```php
<?php

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

/**
 * This is a simple data object for field selection data.
 * Used in the form builder.
 *
 * @since 6.9.1
 */
class FrmFieldSelectionData {

	/**
	 * @var array
	 */
	public $all_field_types;

	/**
	 * @var array
	 */
	public $disabled_fields;

	public function __construct() {
		$pro_field_selection   = FrmField::pro_field_selection();
		$this->all_field_types = array_merge( $pro_field_selection, FrmField::field_selection() );
		$this->disabled_fields = FrmAppHelper::pro_is_installed() ? array() : $pro_field_selection;
	}
}

```
