| 1 |
<?php |
| 2 |
/** |
| 3 |
* Field description setting in the form builder. |
| 4 |
* |
| 5 |
* @package Formidable |
| 6 |
* |
| 7 |
* @var array $field Field data including 'id' and 'description'. |
| 8 |
*/ |
| 9 |
|
| 10 |
if ( ! defined( 'ABSPATH' ) ) { |
| 11 |
die( 'You are not allowed to call this page directly.' ); |
| 12 |
} |
| 13 |
?> |
| 14 |
<p class="frm-flex-col"> |
| 15 |
<label for="frm_description_<?php echo esc_attr( $field['id'] ); ?>"> |
| 16 |
<?php esc_html_e( 'Field Description', 'formidable' ); ?> |
| 17 |
</label> |
| 18 |
<textarea id="frm_description_<?php echo esc_attr( $field['id'] ); ?>" name="field_options[description_<?php echo esc_attr( $field['id'] ); ?>]" class="frm_long_input" rows="2" data-changeme="field_description_<?php echo esc_attr( $field['id'] ); ?>"><?php |
| 19 |
echo FrmAppHelper::esc_textarea( $field['description'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 20 |
?></textarea> |
| 21 |
</p> |
| 22 |
|