| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<p class="frm6 frm_form_field"> |
| 7 |
<label for="field_options_max_<?php echo esc_attr( $field['id'] ); ?>"> |
| 8 |
<?php |
| 9 |
if ( 'textarea' === $field['type'] || 'rte' === $field['type'] ) { |
| 10 |
esc_html_e( 'Rows', 'formidable' ); |
| 11 |
} else { |
| 12 |
esc_html_e( 'Max Characters', 'formidable' ); |
| 13 |
} |
| 14 |
?> |
| 15 |
</label> |
| 16 |
<input type="text" name="field_options[max_<?php echo esc_attr( $field['id'] ); ?>]" value="<?php echo esc_attr( $field['max'] ); ?>" id="field_options_max_<?php echo esc_attr( $field['id'] ); ?>" size="5" /> |
| 17 |
</p> |
| 18 |
|