| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<p class="frm-has-modal"> |
| 7 |
<label for="frm_format_<?php echo esc_attr( absint( $field['id'] ) ); ?>" class="frm_help" title="<?php esc_attr_e( 'Insert the format you would like to accept. Use a regular expression starting with ^ or an exact format like (999)999-9999.', 'formidable' ); ?>"> |
| 8 |
<?php esc_html_e( 'Format', 'formidable' ); ?> |
| 9 |
</label> |
| 10 |
<span class="frm-with-right-icon"> |
| 11 |
<?php |
| 12 |
FrmAppHelper::icon_by_class( |
| 13 |
'frm_icon_font frm_more_horiz_solid_icon frm-show-inline-modal', |
| 14 |
array( |
| 15 |
'data-open' => 'frm-input-mask-box', |
| 16 |
'title' => esc_attr__( 'Toggle Options', 'formidable' ), |
| 17 |
) |
| 18 |
); |
| 19 |
?> |
| 20 |
<input type="text" class="frm_long_input frm_format_opt" value="<?php echo esc_attr( $field['format'] ); ?>" name="field_options[format_<?php echo absint( $field['id'] ); ?>]" id="frm_format_<?php echo absint( $field['id'] ); ?>" data-fid="<?php echo intval( $field['id'] ); ?>" /> |
| 21 |
</span> |
| 22 |
</p> |
| 23 |
|