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/format-dropdown-options.php +2 -1 6.25 → trunk View file →
@@ -1,7 +1,8 @@
1 1 <?php
2 2 /**
3 3 * @package Formidable
4 + *
4 5 * @since 6.18
5 6 *
6 7 * @var array $field Field data.
7 8 * @var array $args Includes 'field', 'display', and 'values' settings.
@@ -41,9 +42,9 @@
41 42
42 43 if ( 'text' === $field_type ) {
43 44 FrmHtmlHelper::echo_dropdown_option(
44 45 __( 'Custom', 'formidable' ),
45 - ! empty( $format ) && ! FrmCurrencyHelper::is_currency_format( $format ),
46 + $format && ! FrmCurrencyHelper::is_currency_format( $format ),
46 47 array(
47 48 'value' => 'custom',
48 49 'data-dependency' => '#frm-field-format-custom-' . $field_id,
49 50 )