| 1 |
<?php |
| 2 |
/** |
| 3 |
* Hidden field form builder view. |
| 4 |
* |
| 5 |
* @package Formidable |
| 6 |
* |
| 7 |
* @var string $html_id HTML id attribute for the input. |
| 8 |
* @var string $field_name HTML name attribute for the input. |
| 9 |
* @var array $field Field data including 'default_value'. |
| 10 |
*/ |
| 11 |
|
| 12 |
if ( ! defined( 'ABSPATH' ) ) { |
| 13 |
die( 'You are not allowed to call this page directly.' ); |
| 14 |
} |
| 15 |
?> |
| 16 |
<input type="text" id="<?php echo esc_attr( $html_id ); ?>" name="<?php echo esc_attr( $field_name ); ?>" value="<?php echo esc_attr( $field['default_value'] ); ?>" class="dyn_default_value" /> |
| 17 |
<p class="howto frm_clear"> |
| 18 |
<?php esc_html_e( 'Note: This field will not show in the form. Enter the value to be hidden.', 'formidable' ); ?> |
| 19 |
</p> |
| 20 |
|