PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
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
← All changes | classes/views/frm-fields/back-end/pixels-wide.php +10 -0 6.25.1 → trunk View file →
@@ -1,10 +1,20 @@
1 1 <?php
2 +/**
3 + * Field size (pixels wide) setting in field settings.
4 + *
5 + * @package Formidable
6 + *
7 + * @var array $field Field data including 'id' and 'size'.
8 + * @var bool $display_max Whether to include the Max Characters input.
9 + */
10 +
2 11 if ( ! defined( 'ABSPATH' ) ) {
3 12 die( 'You are not allowed to call this page directly.' );
4 13 }
5 14
6 15 $field_size_container_atts = array();
16 +
7 17 if ( $display_max ) {
8 18 $max_characters_label = __( 'Max Characters', 'formidable' );
9 19 $can_fit_label_in_two_columns = FrmAppHelper::mb_function( array( 'mb_strlen', 'strlen' ), array( $max_characters_label ) ) < 20;
10 20