PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.22
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.22
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / frm-fields / back-end / max.php

max.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.22, at classes/views/frm-fields/back-end/max.php

23 lines 902 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 $max_setting_container_atts = array();
7 if ( ! empty( $can_fit_label_in_two_columns ) ) {
8 $max_setting_container_atts['class'] = 'frm6 frm_form_field';
9 }
10 ?>
11 <p <?php FrmAppHelper::array_to_html_params( $max_setting_container_atts, true ); ?>>
12 <label for="field_options_max_<?php echo esc_attr( $field['id'] ); ?>">
13 <?php
14 if ( 'textarea' === $field['type'] || 'rte' === $field['type'] ) {
15 esc_html_e( 'Rows', 'formidable' );
16 } else {
17 esc_html_e( 'Max Characters', 'formidable' );
18 }
19 ?>
20 </label>
21 <input type="text" class="frm_max_length_opt" 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" data-fid="<?php echo intval( $field['id'] ); ?>" />
22 </p>
23