PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / V3.3.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder vV3.3.2
V3.3.3 V3.3.2 3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 All 140 releases
← All changes | includes/Frontend/Form/View/Conversational/Fields/SectionField.php +19 -9 2.10.0 → V3.3.2 View file →
@@ -23,16 +23,26 @@
23 23 $fieldHtml .= $conversationalTheme->inputWrapper($formViewerInstance, $row->i, true);
24 24 }
25 25 }
26 26
27 - return <<<SECTIONFIELD
28 - <div
29 - {$fieldHelpers->getCustomAttributes('inp-fld-wrp')}
30 - class="{$fieldHelpers->getConversationalMultiCls('inp-fld-wrp')} {$fieldHelpers->getConversationalCls('inner-grid-fld-wrp')} {$fieldHelpers->getCustomClasses('inp-fld-wrp')}"
27 + $wrapperAttrs = $fieldHelpers->getCustomAttributes('inp-fld-wrp');
28 + $wrapperClass = $fieldHelpers->getConversationalMultiCls('inp-fld-wrp')
29 + . ' ' . $fieldHelpers->getConversationalCls('inner-grid-fld-wrp')
30 + . ' ' . $fieldHelpers->getCustomClasses('inp-fld-wrp');
31 + $sectionGridClass = "_frm-b{$formID} b{$formID}-bf-section-grid bf-section-grid";
32 +
33 + return sprintf(
34 + '<div
35 + %1$s
36 + class="%2$s"
31 37 >
32 - <div class="_frm-b{$formID} section-grid">
33 - {$fieldHtml}
34 - </div>
35 - </div>
36 -SECTIONFIELD;
38 + <div class="%3$s">
39 + %4$s
40 + </div>
41 + </div>',
42 + $wrapperAttrs,
43 + $wrapperClass,
44 + $sectionGridClass,
45 + $fieldHtml
46 + );
37 47 }
38 48 }