PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.2
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/styles/_sample_form.php +11 -12 6.276.2 View file →
@@ -2,9 +2,9 @@
2 2 if ( ! defined( 'ABSPATH' ) ) {
3 3 die( 'You are not allowed to call this page directly.' );
4 4 }
5 5
6 -$pos_class = 'frm_' . ( $style->post_content['position'] === 'none' ? 'top' : ( $style->post_content['position'] === 'no_label' ? 'none' : $style->post_content['position'] ) ) . '_container';
6 +$pos_class = 'frm_' . ( $style->post_content['position'] == 'none' ? 'top' : ( $style->post_content['position'] == 'no_label' ? 'none' : $style->post_content['position'] ) ) . '_container';
7 7 ?>
8 8 <div class="frm_forms with_frm_style frm_style_<?php echo esc_attr( $style->post_name ); ?> <?php echo esc_attr( FrmAppHelper::pro_is_installed() ? 'frm_pro_form' : 'frm_lite_form' ); ?>">
9 9 <div class="frm-show-form">
10 10 <div class="frm_form_fields">
@@ -14,10 +14,10 @@
14 14 <div class="frm_description"><p><?php esc_html_e( 'This is an example form description for styling purposes.', 'formidable' ); ?></p></div>
15 15
16 16 <div class="frm_fields_container">
17 17 <div class="frm_form_field frm_half frm_first form-field <?php echo esc_attr( $pos_class ); ?>">
18 - <label for="field_aq7w5e" class="frm_primary_label"><?php esc_html_e( 'Text field', 'formidable' ); ?> <span class="frm_required">*</span></label>
19 - <input id="field_aq7w5e" type="text" value="<?php esc_attr_e( 'This is sample text', 'formidable' ); ?>" />
18 + <label class="frm_primary_label"><?php esc_html_e( 'Text field', 'formidable' ); ?> <span class="frm_required">*</span></label>
19 + <input type="text" value="<?php esc_attr_e( 'This is sample text', 'formidable' ); ?>" />
20 20 <div class="frm_description"><?php esc_html_e( 'A field with a description', 'formidable' ); ?></div>
21 21 </div>
22 22
23 23 <div class="frm_form_field form-field frm_half <?php echo esc_attr( $pos_class ); ?>">
@@ -29,26 +29,26 @@
29 29 </select>
30 30 </div>
31 31
32 32 <div class="frm_form_field form-field frm_third frm_first frm_blank_field <?php echo esc_attr( $pos_class ); ?>">
33 - <label for="field_bq7w5e" class="frm_primary_label"><?php esc_html_e( 'Text field with error', 'formidable' ); ?> <span class="frm_required">*</span></label>
34 - <input id="field_bq7w5e" type="text" value="<?php esc_attr_e( 'This is sample text', 'formidable' ); ?>" />
33 + <label class="frm_primary_label"><?php esc_html_e( 'Text field with error', 'formidable' ); ?> <span class="frm_required">*</span></label>
34 + <input type="text" value="<?php esc_attr_e( 'This is sample text', 'formidable' ); ?>" />
35 35 <div class="frm_error"><?php echo esc_html( $frm_settings->blank_msg ); ?></div>
36 36 </div>
37 37
38 38 <div class="frm_form_field frm_third form-field frm_focus_field <?php echo esc_attr( $pos_class ); ?>">
39 - <label for="field_cq7w5e" class="frm_primary_label"><?php esc_html_e( 'Text field in active state', 'formidable' ); ?> <span class="frm_required">*</span></label>
40 - <input id="field_cq7w5e" type="text" value="<?php esc_attr_e( 'Active state will be seen when the field is clicked', 'formidable' ); ?>" />
39 + <label class="frm_primary_label"><?php esc_html_e( 'Text field in active state', 'formidable' ); ?> <span class="frm_required">*</span></label>
40 + <input type="text" value="<?php esc_attr_e( 'Active state will be seen when the field is clicked', 'formidable' ); ?>" />
41 41 </div>
42 42
43 43 <div class="frm_form_field frm_third form-field <?php echo esc_attr( $pos_class ); ?>">
44 - <label for="field_dq7w5e" class="frm_primary_label"><?php esc_html_e( 'Read-only field', 'formidable' ); ?></label>
45 - <input id="field_dq7w5e" type="text" value="<?php esc_attr_e( 'This field is not editable', 'formidable' ); ?>" disabled="disabled" />
44 + <label class="frm_primary_label"><?php esc_html_e( 'Read-only field', 'formidable' ); ?></label>
45 + <input type="text" value="<?php esc_attr_e( 'This field is not editable', 'formidable' ); ?>" disabled="disabled" />
46 46 </div>
47 47
48 48 <div class="frm_form_field form-field frm_half frm_first <?php echo esc_attr( $pos_class ); ?> frm_lite_style">
49 - <label for="field_eq7w5e" class="frm_primary_label"><?php esc_html_e( 'Text Area', 'formidable' ); ?></label>
50 - <textarea id="field_eq7w5e"></textarea>
49 + <label class="frm_primary_label"><?php esc_html_e( 'Text Area', 'formidable' ); ?></label>
50 + <textarea></textarea>
51 51 <div class="frm_description"><?php esc_html_e( 'Another field with a description', 'formidable' ); ?></div>
52 52 </div>
53 53
54 54 <div class="frm_form_field form-field frm_fourth <?php echo esc_attr( $pos_class ); ?> frm_lite_style">
@@ -71,9 +71,8 @@
71 71 /**
72 72 * @since 2.03
73 73 *
74 74 * @param array $args {
75 - *
76 75 * @type WP_Post $style
77 76 * @type string $pos_class
78 77 * }
79 78 */