Formidable Forms – Form Builder for WordPress - Version 4.05

Version Description

  • Updates to the default form styling.
  • New: Added an inbox as a centralized place for notices and communication.
  • New: Added frm_color_block and frm_total_big classes for more beautiful forms.
  • Help prevent common email issues by showing a warning in the email settings when the from and to email addresses are the same.
  • Fix: Forms edited after export and reimported were losing the required indicator in some cases.
Download this release

Release Info

Developer sswells
Plugin Icon 128x128 Formidable Forms – Form Builder for WordPress
Version 4.05
Comparing to
See all releases

Code changes from version 4.04.05 to 4.05

classes/controllers/FrmAppController.php CHANGED
@@ -8,7 +8,9 @@ class FrmAppController {
8
  return;
9
  }
10
 
11
- $menu_name = FrmAppHelper::get_menu_name();
 
 
12
  add_menu_page( 'Formidable', $menu_name, 'frm_view_forms', 'formidable', 'FrmFormsController::route', self::menu_icon(), self::get_menu_position() );
13
  }
14
 
@@ -16,6 +18,14 @@ class FrmAppController {
16
  return apply_filters( 'frm_menu_position', '29.3' );
17
  }
18
 
 
 
 
 
 
 
 
 
19
  /**
20
  * @since 3.05
21
  */
@@ -88,6 +98,8 @@ class FrmAppController {
88
  'formidable-import',
89
  'formidable-settings',
90
  'formidable-styles',
 
 
91
  );
92
 
93
  $get_page = FrmAppHelper::simple_get( 'page', 'sanitize_title' );
@@ -277,6 +289,7 @@ class FrmAppController {
277
  public static function remove_upsells() {
278
  remove_action( 'frm_before_settings', 'FrmSettingsController::license_box' );
279
  remove_action( 'frm_after_settings', 'FrmSettingsController::settings_cta' );
 
280
  }
281
 
282
  /**
@@ -364,7 +377,7 @@ class FrmAppController {
364
  'bootstrap-multiselect',
365
  );
366
 
367
- if ( FrmAppHelper::is_admin_page( 'formidable-styles' ) ) {
368
  $dependecies[] = 'wp-color-picker';
369
  }
370
 
@@ -389,7 +402,7 @@ class FrmAppController {
389
  FrmAppHelper::localize_script( 'admin' );
390
 
391
  wp_enqueue_style( 'formidable-admin' );
392
- if ( 'formidable-styles' !== $page ) {
393
  wp_enqueue_style( 'formidable-grids' );
394
  wp_enqueue_style( 'formidable-dropzone' );
395
  } else {
8
  return;
9
  }
10
 
11
+ $unread = self::get_notice_count();
12
+
13
+ $menu_name = FrmAppHelper::get_menu_name() . $unread;
14
  add_menu_page( 'Formidable', $menu_name, 'frm_view_forms', 'formidable', 'FrmFormsController::route', self::menu_icon(), self::get_menu_position() );
15
  }
16
 
18
  return apply_filters( 'frm_menu_position', '29.3' );
19
  }
20
 
21
+ /**
22
+ * @since 4.05
23
+ */
24
+ private static function get_notice_count() {
25
+ $inbox = new FrmInbox();
26
+ return $inbox->unread_html();
27
+ }
28
+
29
  /**
30
  * @since 3.05
31
  */
98
  'formidable-import',
99
  'formidable-settings',
100
  'formidable-styles',
101
+ 'formidable-styles2',
102
+ 'formidable-inbox',
103
  );
104
 
105
  $get_page = FrmAppHelper::simple_get( 'page', 'sanitize_title' );
289
  public static function remove_upsells() {
290
  remove_action( 'frm_before_settings', 'FrmSettingsController::license_box' );
291
  remove_action( 'frm_after_settings', 'FrmSettingsController::settings_cta' );
292
+ remove_action( 'frm_add_form_style_tab_options', 'FrmFormsController::add_form_style_tab_options' );
293
  }
294
 
295
  /**
377
  'bootstrap-multiselect',
378
  );
379
 
380
+ if ( FrmAppHelper::is_admin_page( 'formidable-styles' ) || FrmAppHelper::is_admin_page( 'formidable-styles2' ) ) {
381
  $dependecies[] = 'wp-color-picker';
382
  }
383
 
402
  FrmAppHelper::localize_script( 'admin' );
403
 
404
  wp_enqueue_style( 'formidable-admin' );
405
+ if ( 'formidable-styles' !== $page && 'formidable-styles2' !== $page ) {
406
  wp_enqueue_style( 'formidable-grids' );
407
  wp_enqueue_style( 'formidable-dropzone' );
408
  } else {
classes/controllers/FrmFormsController.php CHANGED
@@ -1401,6 +1401,15 @@ class FrmFormsController {
1401
  return $errors;
1402
  }
1403
 
 
 
 
 
 
 
 
 
 
1404
  /* FRONT-END FORMS */
1405
  public static function admin_bar_css() {
1406
  if ( is_admin() || ! current_user_can( 'frm_edit_forms' ) ) {
1401
  return $errors;
1402
  }
1403
 
1404
+ /**
1405
+ * Education for premium features.
1406
+ *
1407
+ * @since 4.05
1408
+ */
1409
+ public static function add_form_style_tab_options() {
1410
+ include( FrmAppHelper::plugin_path() . '/classes/views/frm-forms/add_form_style_options.php' );
1411
+ }
1412
+
1413
  /* FRONT-END FORMS */
1414
  public static function admin_bar_css() {
1415
  if ( is_admin() || ! current_user_can( 'frm_edit_forms' ) ) {
classes/controllers/FrmHooksController.php CHANGED
@@ -106,6 +106,7 @@ class FrmHooksController {
106
  // Form Actions Controller.
107
  if ( FrmAppHelper::is_admin_page( 'formidable' ) ) {
108
  add_action( 'frm_before_update_form_settings', 'FrmFormActionsController::update_settings' );
 
109
  }
110
  add_action( 'frm_after_duplicate_form', 'FrmFormActionsController::duplicate_form_actions', 20, 3 );
111
 
@@ -121,6 +122,9 @@ class FrmHooksController {
121
  // Forms Model.
122
  add_action( 'frm_after_duplicate_form', 'FrmForm::after_duplicate', 10, 2 );
123
 
 
 
 
124
  // Settings Controller.
125
  add_action( 'admin_menu', 'FrmSettingsController::menu', 45 );
126
  add_action( 'frm_before_settings', 'FrmSettingsController::license_box' );
@@ -140,8 +144,6 @@ class FrmHooksController {
140
 
141
  add_action( 'admin_init', 'FrmUsageController::schedule_send' );
142
 
143
- add_action( 'wp_ajax_frm_dismiss_migrator', 'FrmFormMigratorsHelper::dismiss_migrator' );
144
-
145
  FrmSMTPController::load_hooks();
146
  }
147
 
@@ -178,6 +180,11 @@ class FrmHooksController {
178
  add_action( 'wp_ajax_frm_install_form', 'FrmFormsController::build_new_form' );
179
  add_action( 'wp_ajax_frm_build_template', 'FrmFormsController::build_template' );
180
 
 
 
 
 
 
181
  // Settings.
182
  add_action( 'wp_ajax_frm_lite_settings_upgrade', 'FrmSettingsController::settings_cta_dismiss' );
183
 
106
  // Form Actions Controller.
107
  if ( FrmAppHelper::is_admin_page( 'formidable' ) ) {
108
  add_action( 'frm_before_update_form_settings', 'FrmFormActionsController::update_settings' );
109
+ add_action( 'frm_add_form_style_tab_options', 'FrmFormsController::add_form_style_tab_options' );
110
  }
111
  add_action( 'frm_after_duplicate_form', 'FrmFormActionsController::duplicate_form_actions', 20, 3 );
112
 
122
  // Forms Model.
123
  add_action( 'frm_after_duplicate_form', 'FrmForm::after_duplicate', 10, 2 );
124
 
125
+ // Inbox Controller.
126
+ add_action( 'admin_menu', 'FrmInboxController::menu', 50 );
127
+
128
  // Settings Controller.
129
  add_action( 'admin_menu', 'FrmSettingsController::menu', 45 );
130
  add_action( 'frm_before_settings', 'FrmSettingsController::license_box' );
144
 
145
  add_action( 'admin_init', 'FrmUsageController::schedule_send' );
146
 
 
 
147
  FrmSMTPController::load_hooks();
148
  }
149
 
180
  add_action( 'wp_ajax_frm_install_form', 'FrmFormsController::build_new_form' );
181
  add_action( 'wp_ajax_frm_build_template', 'FrmFormsController::build_template' );
182
 
183
+ add_action( 'wp_ajax_frm_dismiss_migrator', 'FrmFormMigratorsHelper::dismiss_migrator' );
184
+
185
+ // Inbox.
186
+ add_action( 'wp_ajax_frm_inbox_dismiss', 'FrmInboxController::dismiss_message' );
187
+
188
  // Settings.
189
  add_action( 'wp_ajax_frm_lite_settings_upgrade', 'FrmSettingsController::settings_cta_dismiss' );
190
 
classes/controllers/FrmInboxController.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @since 4.05
4
+ */
5
+ class FrmInboxController {
6
+
7
+ /**
8
+ * @since 4.05
9
+ */
10
+ public static function menu() {
11
+ $unread = self::get_notice_count();
12
+
13
+ add_submenu_page( 'formidable', 'Formidable | ' . __( 'Inbox', 'formidable' ), __( 'Inbox', 'formidable' ) . $unread, 'frm_change_settings', 'formidable-inbox', 'FrmInboxController::inbox' );
14
+ }
15
+
16
+ /**
17
+ * @since 4.05
18
+ */
19
+ private static function get_notice_count() {
20
+ FrmFormMigratorsHelper::maybe_add_to_inbox();
21
+
22
+ $inbox = new FrmInbox();
23
+ return $inbox->unread_html();
24
+ }
25
+
26
+ /**
27
+ * @since 4.05
28
+ */
29
+ public static function inbox() {
30
+ FrmAppHelper::include_svg();
31
+ self::add_tracking_request();
32
+
33
+ $inbox = new FrmInbox();
34
+ $messages = $inbox->get_messages();
35
+ $messages = array_reverse( $messages );
36
+ $user = wp_get_current_user();
37
+
38
+ include( FrmAppHelper::plugin_path() . '/classes/views/inbox/list.php' );
39
+ }
40
+
41
+ /**
42
+ * @since 4.05
43
+ */
44
+ public static function dismiss_message() {
45
+ check_ajax_referer( 'frm_ajax', 'nonce' );
46
+ FrmAppHelper::permission_check( 'frm_change_settings' );
47
+
48
+ $key = FrmAppHelper::get_param( 'key', '', 'post', 'sanitize_text_field' );
49
+ if ( ! empty( $key ) ) {
50
+ $message = new FrmInbox();
51
+ $message->dismiss( $key );
52
+ }
53
+
54
+ wp_die();
55
+ }
56
+
57
+ /**
58
+ * @since 4.05
59
+ */
60
+ private static function add_tracking_request() {
61
+ $settings = FrmAppHelper::get_settings();
62
+ if ( $settings->tracking ) {
63
+ return;
64
+ }
65
+
66
+ $link = admin_url( 'admin.php?page=formidable-settings&t=misc_settings' );
67
+
68
+ $message = new FrmInbox();
69
+ $message->add_message(
70
+ array(
71
+ 'key' => 'usage',
72
+ 'message' => 'Gathering usage data allows us to improve Formidable. Your forms will be considered as we evaluate new features, judge the quality of an update, or determine if an improvement makes sense. You can always visit the <a href="' . esc_url( $link ) . '">Global Settings</a> and choose to stop sharing data. <a href="https://formidableforms.com/knowledgebase/global-settings-overview/#kb-usage-tracking" target="_blank" rel="noopener noreferrer">Read more about what data we collect</a>.',
73
+ 'subject' => __( 'Help Formidable improve with usage tracking', 'formidable' ),
74
+ 'cta' => '<a href="#" class="button-secondary frm-button-secondary frm_inbox_dismiss">Dismiss</a> <a href="' . esc_url( $link ) . '" class="button-primary frm-button-primary frm_inbox_dismiss">Activate usage tracking</a>',
75
+ )
76
+ );
77
+ }
78
+ }
classes/controllers/FrmSimpleBlocksController.php CHANGED
@@ -26,6 +26,7 @@ class FrmSimpleBlocksController {
26
  'forms' => self::get_forms_options(),
27
  'icon' => $icon,
28
  'name' => $block_name,
 
29
  );
30
 
31
  wp_localize_script( 'formidable-form-selector', 'formidable_form_selector', $script_vars );
26
  'forms' => self::get_forms_options(),
27
  'icon' => $icon,
28
  'name' => $block_name,
29
+ 'link' => FrmAppHelper::admin_upgrade_link( 'block' ),
30
  );
31
 
32
  wp_localize_script( 'formidable-form-selector', 'formidable_form_selector', $script_vars );
classes/controllers/FrmStylesController.php CHANGED
@@ -45,10 +45,11 @@ class FrmStylesController {
45
 
46
  public static function menu() {
47
  add_submenu_page( 'formidable', 'Formidable | ' . __( 'Styles', 'formidable' ), __( 'Styles', 'formidable' ), 'frm_change_settings', 'formidable-styles', 'FrmStylesController::route' );
 
48
  }
49
 
50
  public static function admin_init() {
51
- if ( ! FrmAppHelper::is_admin_page( 'formidable-styles' ) ) {
52
  return;
53
  }
54
 
45
 
46
  public static function menu() {
47
  add_submenu_page( 'formidable', 'Formidable | ' . __( 'Styles', 'formidable' ), __( 'Styles', 'formidable' ), 'frm_change_settings', 'formidable-styles', 'FrmStylesController::route' );
48
+ add_submenu_page( 'themes.php', 'Formidable | ' . __( 'Styles', 'formidable' ), __( 'Forms', 'formidable' ), 'frm_change_settings', 'formidable-styles2', 'FrmStylesController::route' );
49
  }
50
 
51
  public static function admin_init() {
52
+ if ( ! FrmAppHelper::is_admin_page( 'formidable-styles' ) && ! FrmAppHelper::is_admin_page( 'formidable-styles2' ) ) {
53
  return;
54
  }
55
 
classes/controllers/FrmXMLController.php CHANGED
@@ -3,8 +3,7 @@
3
  class FrmXMLController {
4
 
5
  public static function menu() {
6
- $notification_count = FrmFormMigratorsHelper::notification_count();
7
- add_submenu_page( 'formidable', 'Formidable | ' . __( 'Import/Export', 'formidable' ), __( 'Import/Export', 'formidable' ) . $notification_count, 'frm_edit_forms', 'formidable-import', 'FrmXMLController::route' );
8
  }
9
 
10
  public static function add_default_templates() {
3
  class FrmXMLController {
4
 
5
  public static function menu() {
6
+ add_submenu_page( 'formidable', 'Formidable | ' . __( 'Import/Export', 'formidable' ), __( 'Import/Export', 'formidable' ), 'frm_edit_forms', 'formidable-import', 'FrmXMLController::route' );
 
7
  }
8
 
9
  public static function add_default_templates() {
classes/helpers/FrmAppHelper.php CHANGED
@@ -11,7 +11,7 @@ class FrmAppHelper {
11
  /**
12
  * @since 2.0
13
  */
14
- public static $plug_version = '4.04.05';
15
 
16
  /**
17
  * @since 1.07.02
@@ -231,7 +231,10 @@ class FrmAppHelper {
231
  $get_page = self::simple_get( 'page', 'sanitize_title' );
232
  if ( $pagenow ) {
233
  // allow this to be true during ajax load i.e. ajax form builder loading
234
- return ( $pagenow == 'admin.php' || $pagenow == 'admin-ajax.php' ) && $get_page == $page;
 
 
 
235
  }
236
 
237
  return is_admin() && $get_page == $page;
@@ -1109,7 +1112,7 @@ class FrmAppHelper {
1109
  public static function is_full_screen() {
1110
  $action = self::simple_get( 'frm_action', 'sanitize_title' );
1111
  $full_builder = self::is_admin_page( 'formidable' ) && ( $action === 'edit' || $action === 'settings' || $action === 'duplicate' );
1112
- $styler = self::is_admin_page( 'formidable-styles' );
1113
  $full_entries = self::simple_get( 'frm-full', 'absint' );
1114
 
1115
  return $full_builder || $full_entries || $styler || self::is_view_builder_page();
@@ -1605,7 +1608,7 @@ class FrmAppHelper {
1605
  $field_array['unique_msg'] = '';
1606
  }
1607
 
1608
- $field_array = array_merge( $field->field_options, $field_array );
1609
 
1610
  $values['fields'][ $field->id ] = $field_array;
1611
  }
11
  /**
12
  * @since 2.0
13
  */
14
+ public static $plug_version = '4.05';
15
 
16
  /**
17
  * @since 1.07.02
231
  $get_page = self::simple_get( 'page', 'sanitize_title' );
232
  if ( $pagenow ) {
233
  // allow this to be true during ajax load i.e. ajax form builder loading
234
+ $is_page = ( $pagenow == 'admin.php' || $pagenow == 'admin-ajax.php' ) && $get_page == $page;
235
+ if ( $is_page ) {
236
+ return true;
237
+ }
238
  }
239
 
240
  return is_admin() && $get_page == $page;
1112
  public static function is_full_screen() {
1113
  $action = self::simple_get( 'frm_action', 'sanitize_title' );
1114
  $full_builder = self::is_admin_page( 'formidable' ) && ( $action === 'edit' || $action === 'settings' || $action === 'duplicate' );
1115
+ $styler = self::is_admin_page( 'formidable-styles' ) || self::is_admin_page( 'formidable-styles2' );
1116
  $full_entries = self::simple_get( 'frm-full', 'absint' );
1117
 
1118
  return $full_builder || $full_entries || $styler || self::is_view_builder_page();
1608
  $field_array['unique_msg'] = '';
1609
  }
1610
 
1611
+ $field_array = array_merge( (array) $field->field_options, $field_array );
1612
 
1613
  $values['fields'][ $field->id ] = $field_array;
1614
  }
classes/helpers/FrmFormMigratorsHelper.php CHANGED
@@ -5,29 +5,6 @@ if ( ! defined( 'ABSPATH' ) ) {
5
 
6
  class FrmFormMigratorsHelper {
7
 
8
- public static function notification_count() {
9
- $forms = self::import_links();
10
- if ( empty( $forms ) ) {
11
- return '';
12
- }
13
-
14
- $count = count( $forms );
15
- $dismissed = get_option( 'frm_dismissed' );
16
- if ( ! empty( $dismissed ) ) {
17
- foreach ( $forms as $form ) {
18
- if ( self::is_dismissed( $form, $dismissed ) ) {
19
- $count --;
20
- }
21
- }
22
- }
23
-
24
- if ( $count < 1 ) {
25
- return '';
26
- }
27
-
28
- return ' <span class="update-plugins"><span class="plugin-count">' . absint( $count ) . '</span></span>';
29
- }
30
-
31
  private static function is_dismissed( $form, $dismissed = null ) {
32
  if ( $dismissed === null ) {
33
  $dismissed = get_option( 'frm_dismissed' );
@@ -53,6 +30,26 @@ class FrmFormMigratorsHelper {
53
  }
54
  }
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  private static function import_links() {
57
  if ( ! current_user_can( 'activate_plugins' ) ) {
58
  return array();
@@ -153,4 +150,11 @@ class FrmFormMigratorsHelper {
153
  update_option( 'frm_dismissed', array_filter( $dismissed ), 'no' );
154
  wp_die();
155
  }
 
 
 
 
 
 
 
156
  }
5
 
6
  class FrmFormMigratorsHelper {
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  private static function is_dismissed( $form, $dismissed = null ) {
9
  if ( $dismissed === null ) {
10
  $dismissed = get_option( 'frm_dismissed' );
30
  }
31
  }
32
 
33
+ /**
34
+ * @since 4.05
35
+ */
36
+ public static function maybe_add_to_inbox() {
37
+ $inbox = new FrmInbox();
38
+ $forms = self::import_links();
39
+
40
+ foreach ( $forms as $form ) {
41
+ $inbox->add_message(
42
+ array(
43
+ 'key' => $form['class'],
44
+ 'subject' => 'You have new importable forms',
45
+ 'message' => 'Did you know you can import your forms created in ' . esc_html( $form['name'] ) . '?',
46
+ 'cta' => '<a href="' . esc_url( admin_url( 'admin.php?page=formidable-import' ) ) . '" class="button-primary frm-button-primary">' . esc_html__( 'Learn More', 'formidable' ) . '</a>',
47
+ 'icon' => 'frm_cloud_upload_solid_icon',
48
+ )
49
+ );
50
+ }
51
+ }
52
+
53
  private static function import_links() {
54
  if ( ! current_user_can( 'activate_plugins' ) ) {
55
  return array();
150
  update_option( 'frm_dismissed', array_filter( $dismissed ), 'no' );
151
  wp_die();
152
  }
153
+
154
+ /**
155
+ * @deprecated 4.05
156
+ */
157
+ public static function notification_count() {
158
+ _deprecated_function( __METHOD__, '4.05' );
159
+ }
160
  }
classes/helpers/FrmFormsHelper.php CHANGED
@@ -1118,6 +1118,10 @@ BEFORE_HTML;
1118
  'label' => __( 'Total', 'formidable' ),
1119
  'title' => __( 'Add this to a read-only field to display the text in bold without a border or background.', 'formidable' ),
1120
  ),
 
 
 
 
1121
  'frm_scroll_box' => array(
1122
  'label' => __( 'Scroll Box', 'formidable' ),
1123
  'title' => __( 'If you have many checkbox or radio button options, you may add this class to allow your user to easily scroll through the options. Or add a scrolling area around content in an HTML field.', 'formidable' ),
@@ -1130,6 +1134,10 @@ BEFORE_HTML;
1130
  'frm_grid_first' => __( 'First Grid Row', 'formidable' ),
1131
  'frm_grid' => __( 'Even Grid Row', 'formidable' ),
1132
  'frm_grid_odd' => __( 'Odd Grid Row', 'formidable' ),
 
 
 
 
1133
  'frm_capitalize' => array(
1134
  'label' => __( 'Capitalize', 'formidable' ),
1135
  'title' => __( 'Automatically capitalize the first letter in each word.', 'formidable' ),
1118
  'label' => __( 'Total', 'formidable' ),
1119
  'title' => __( 'Add this to a read-only field to display the text in bold without a border or background.', 'formidable' ),
1120
  ),
1121
+ 'frm_total_big' => array(
1122
+ 'label' => __( 'Big Total', 'formidable' ),
1123
+ 'title' => __( 'Add this to a read-only field to display the text in large, bold text without a border or background.', 'formidable' ),
1124
+ ),
1125
  'frm_scroll_box' => array(
1126
  'label' => __( 'Scroll Box', 'formidable' ),
1127
  'title' => __( 'If you have many checkbox or radio button options, you may add this class to allow your user to easily scroll through the options. Or add a scrolling area around content in an HTML field.', 'formidable' ),
1134
  'frm_grid_first' => __( 'First Grid Row', 'formidable' ),
1135
  'frm_grid' => __( 'Even Grid Row', 'formidable' ),
1136
  'frm_grid_odd' => __( 'Odd Grid Row', 'formidable' ),
1137
+ 'frm_color_block' => array(
1138
+ 'label' => __( 'Color Block', 'formidable' ),
1139
+ 'title' => __( 'Add a background color to the field or section.', 'formidable' ),
1140
+ ),
1141
  'frm_capitalize' => array(
1142
  'label' => __( 'Capitalize', 'formidable' ),
1143
  'title' => __( 'Automatically capitalize the first letter in each word.', 'formidable' ),
classes/helpers/FrmXMLHelper.php CHANGED
@@ -370,6 +370,7 @@ class FrmXMLHelper {
370
  }
371
  }
372
 
 
373
  self::maybe_update_in_section_variable( $in_section, $f );
374
  self::maybe_update_form_select( $f, $imported );
375
  self::maybe_update_get_values_form_setting( $imported, $f );
@@ -423,6 +424,17 @@ class FrmXMLHelper {
423
  );
424
  }
425
 
 
 
 
 
 
 
 
 
 
 
 
426
  /**
427
  * Update the current in_section value
428
  *
370
  }
371
  }
372
 
373
+ self::maybe_add_required( $f );
374
  self::maybe_update_in_section_variable( $in_section, $f );
375
  self::maybe_update_form_select( $f, $imported );
376
  self::maybe_update_get_values_form_setting( $imported, $f );
424
  );
425
  }
426
 
427
+ /**
428
+ * Make sure the required indicator is set.
429
+ *
430
+ * @since 4.05
431
+ */
432
+ private static function maybe_add_required( &$f ) {
433
+ if ( $f['required'] && ! isset( $f['field_options']['required_indicator'] ) ) {
434
+ $f['field_options']['required_indicator'] = '*';
435
+ }
436
+ }
437
+
438
  /**
439
  * Update the current in_section value
440
  *
classes/models/FrmInbox.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @since 4.05
4
+ */
5
+ class FrmInbox extends FrmFormApi {
6
+
7
+ protected $cache_key;
8
+
9
+ private $option = 'frm_inbox';
10
+
11
+ private $messages = false;
12
+
13
+ public function __construct( $for_parent = null ) {
14
+ $this->set_cache_key();
15
+ $this->set_messages();
16
+ }
17
+
18
+ /**
19
+ * @since 4.05
20
+ */
21
+ protected function set_cache_key() {
22
+ $this->cache_key = 'frm_inbox_cache';
23
+ }
24
+
25
+ /**
26
+ * @since 4.05
27
+ */
28
+ protected function api_url() {
29
+ return 'https://formidableforms.com/wp-json/inbox/v1/message/';
30
+ }
31
+
32
+ /**
33
+ * @since 4.05
34
+ */
35
+ public function get_messages() {
36
+ return $this->messages;
37
+ }
38
+
39
+ /**
40
+ * @since 4.05
41
+ */
42
+ public function set_messages() {
43
+ $this->messages = get_option( $this->option );
44
+ if ( empty( $this->messages ) ) {
45
+ $this->messages = array();
46
+ }
47
+
48
+ $this->add_api_messages();
49
+
50
+ /**
51
+ * Messages are in an array.
52
+ */
53
+ $this->messages = apply_filters( 'frm_inbox', $this->messages );
54
+ }
55
+
56
+ /**
57
+ * @since 4.05
58
+ */
59
+ private function add_api_messages() {
60
+ $api = $this->get_api_info();
61
+ if ( empty( $api ) ) {
62
+ return;
63
+ }
64
+
65
+ foreach ( $api as $message ) {
66
+ $this->add_message( $message );
67
+ }
68
+ }
69
+
70
+ /**
71
+ * @param array $message
72
+ */
73
+ public function add_message( $message ) {
74
+ if ( isset( $this->messages[ $message['key'] ] ) && ! isset( $message['force'] ) ) {
75
+ // Don't replace messages unless required.
76
+ return;
77
+ }
78
+
79
+ if ( isset( $this->messages[ $message['key'] ] ) ) {
80
+ // Move up and mark as new.
81
+ unset( $this->messages[ $message['key'] ] );
82
+ }
83
+
84
+ $message = $this->fill_message( $message );
85
+ $this->messages[ $message['key'] ] = array(
86
+ 'created' => $message['time'],
87
+ 'message' => $message['message'],
88
+ 'subject' => $message['subject'],
89
+ 'icon' => $message['icon'],
90
+ 'cta' => $message['cta'],
91
+ 'expires' => $message['expires'],
92
+ );
93
+
94
+ $this->update_list();
95
+
96
+ $this->clean_messages();
97
+ }
98
+
99
+ private function fill_message( $message ) {
100
+ $defaults = array(
101
+ 'time' => time(),
102
+ 'message' => '',
103
+ 'subject' => '',
104
+ 'icon' => 'frm_tooltip_icon',
105
+ 'cta' => '',
106
+ 'expires' => false,
107
+ );
108
+
109
+ return array_merge( $defaults, $message );
110
+ }
111
+
112
+ private function clean_messages() {
113
+ $removed = false;
114
+ foreach ( $this->messages as $t => $message ) {
115
+ $read = isset( $message['read'] ) && ! empty( $message['read'] ) && isset( $message['read'][ get_current_user_id() ] ) && $message['read'][ get_current_user_id() ] < strtotime( '-1 month' );
116
+ $dismissed = isset( $message['dismissed'] ) && ! empty( $message['dismissed'] ) && isset( $message['dismissed'][ get_current_user_id() ] ) && $message['dismissed'][ get_current_user_id() ] < strtotime( '-1 week' );
117
+ $expired = isset( $message['expires'] ) && ! empty( $message['expires'] ) && $message['expires'] < time();
118
+ if ( $read || $expired || $dismissed ) {
119
+ unset( $this->messages[ $t ] );
120
+ $removed = true;
121
+ }
122
+ }
123
+
124
+ if ( $removed ) {
125
+ $this->update_list();
126
+ }
127
+ }
128
+
129
+ /**
130
+ * @param string $key
131
+ */
132
+ public function mark_read( $key ) {
133
+ if ( ! isset( $this->messages[ $key ] ) ) {
134
+ return;
135
+ }
136
+
137
+ if ( ! isset( $this->messages[ $key ]['read'] ) ) {
138
+ $this->messages[ $key ]['read'] = array();
139
+ }
140
+ $this->messages[ $key ]['read'][ get_current_user_id() ] = time();
141
+
142
+ $this->update_list();
143
+ }
144
+
145
+ /**
146
+ * @param string $key
147
+ */
148
+ public function dismiss( $key ) {
149
+ if ( ! isset( $this->messages[ $key ] ) ) {
150
+ return;
151
+ }
152
+
153
+ if ( ! isset( $this->messages[ $key ]['dismissed'] ) ) {
154
+ $this->messages[ $key ]['dismissed'] = array();
155
+ }
156
+ $this->messages[ $key ]['dismissed'][ get_current_user_id() ] = time();
157
+
158
+ $this->update_list();
159
+ }
160
+
161
+ private function update_list() {
162
+ update_option( $this->option, $this->messages, 'no' );
163
+ }
164
+
165
+ public function unread() {
166
+ $messages = $this->get_messages();
167
+ $user_id = get_current_user_id();
168
+ foreach ( $messages as $t => $message ) {
169
+ if ( isset( $message['read'] ) && isset( $message['read'][ $user_id ] ) ) {
170
+ unset( $messages[ $t ] );
171
+ }
172
+ }
173
+ return $messages;
174
+ }
175
+
176
+ public function unread_html() {
177
+ $html = '';
178
+ $count = count( $this->unread() );
179
+ if ( $count ) {
180
+ $html = ' <span class="update-plugins frm_inbox_count"><span class="plugin-count">' . absint( $count ) . '</span></span>';
181
+ }
182
+ return $html;
183
+ }
184
+ }
classes/models/FrmNotification.php CHANGED
@@ -1,6 +1,5 @@
1
  <?php
2
 
3
- // TODO: change class name to FrmEmailController by 08/2017 or later
4
  class FrmNotification {
5
  public function __construct() {
6
  if ( ! defined( 'ABSPATH' ) ) {
1
  <?php
2
 
 
3
  class FrmNotification {
4
  public function __construct() {
5
  if ( ! defined( 'ABSPATH' ) ) {
classes/models/FrmReviews.php CHANGED
@@ -98,10 +98,35 @@ class FrmReviews {
98
  $name = ' ' . $name;
99
  }
100
 
 
 
 
 
 
 
 
 
 
101
  // We have a candidate! Output a review message.
102
  include( FrmAppHelper::plugin_path() . '/classes/views/shared/review.php' );
103
  }
104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  /**
106
  * Save the request to hide the review
107
  *
98
  $name = ' ' . $name;
99
  }
100
 
101
+ $title = sprintf(
102
+ /* translators: %s: User name, %2$d: number of entries */
103
+ esc_html__( 'Congratulations%1$s! You have collected %2$d form submissions.', 'formidable' ),
104
+ esc_html( $name ),
105
+ absint( $entries )
106
+ );
107
+
108
+ $this->add_to_inbox( $title );
109
+
110
  // We have a candidate! Output a review message.
111
  include( FrmAppHelper::plugin_path() . '/classes/views/shared/review.php' );
112
  }
113
 
114
+ private function add_to_inbox( $title ) {
115
+ $message = new FrmInbox();
116
+ $message->add_message(
117
+ array(
118
+ 'key' => 'review',
119
+ 'force' => true,
120
+ 'message' => __( 'If you are enjoying Formidable, could you do me a BIG favor and give us a review to help me grow my little business and boost our motivation?', 'formidable' ) . '<br/>' .
121
+ '- Steph Wells<br/>' .
122
+ '<span>' . esc_html__( 'Founder and Lead Developer of Formidable Forms', 'formidable' ) . '<span>',
123
+ 'subject' => $title,
124
+ 'cta' => '<a href="https://wordpress.org/support/plugin/formidable/reviews/?filter=5#new-post" class="frm-dismiss-review-notice frm-review-out button-secondary frm-button-secondary" data-link="yes" target="_blank" rel="noopener noreferrer">' .
125
+ esc_html__( 'Ok, you deserve it', 'formidable' ) . '</a>',
126
+ )
127
+ );
128
+ }
129
+
130
  /**
131
  * Save the request to hide the review
132
  *
classes/models/FrmStyle.php CHANGED
@@ -337,19 +337,19 @@ class FrmStyle {
337
  'fieldset_padding' => '0 0 15px 0',
338
  'fieldset_bg_color' => '',
339
 
340
- 'title_size' => '20px',
341
  'title_color' => '444444',
342
  'title_margin_top' => '10px',
343
- 'title_margin_bottom' => '10px',
344
  'form_desc_size' => '14px',
345
  'form_desc_color' => '666666',
346
  'form_desc_margin_top' => '10px',
347
  'form_desc_margin_bottom' => '25px',
348
 
349
  'font' => '"Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif',
350
- 'font_size' => '14px',
351
- 'label_color' => '444444',
352
- 'weight' => 'bold',
353
  'position' => 'none',
354
  'align' => 'left',
355
  'width' => '150px',
@@ -374,7 +374,7 @@ class FrmStyle {
374
  'field_weight' => 'normal',
375
  'text_color' => '555555',
376
  //'border_color_hv' => 'cccccc',
377
- 'border_color' => 'cccccc',
378
  'field_border_width' => '1px',
379
  'field_border_style' => 'solid',
380
 
@@ -404,7 +404,7 @@ class FrmStyle {
404
  'section_weight' => 'bold',
405
  'section_pad' => '15px 0 3px 0',
406
  'section_mar_top' => '15px',
407
- 'section_mar_bottom' => '12px',
408
  'section_bg_color' => '',
409
  'section_border_color' => 'e8e8e8',
410
  'section_border_width' => '2px',
@@ -415,18 +415,18 @@ class FrmStyle {
415
  'repeat_icon' => '1',
416
 
417
  'submit_style' => false,
418
- 'submit_font_size' => '14px',
419
  'submit_width' => 'auto',
420
  'submit_height' => 'auto',
421
- 'submit_bg_color' => 'ffffff',
422
- 'submit_border_color' => 'cccccc',
423
  'submit_border_width' => '1px',
424
- 'submit_text_color' => '444444',
425
  'submit_weight' => 'normal',
426
  'submit_border_radius' => '4px',
427
  'submit_bg_img' => '',
428
  'submit_margin' => '10px',
429
- 'submit_padding' => '6px 11px',
430
  'submit_shadow_color' => 'eeeeee',
431
  'submit_hover_bg_color' => 'efefef',
432
  'submit_hover_color' => '444444',
@@ -448,11 +448,11 @@ class FrmStyle {
448
 
449
  'important_style' => false,
450
 
451
- 'progress_bg_color' => 'dddddd',
452
  'progress_active_color' => 'ffffff',
453
- 'progress_active_bg_color' => '4199FD',
454
- 'progress_color' => 'ffffff',
455
- 'progress_border_color' => 'dfdfdf',
456
  'progress_border_size' => '2px',
457
  'progress_size' => '30px',
458
 
337
  'fieldset_padding' => '0 0 15px 0',
338
  'fieldset_bg_color' => '',
339
 
340
+ 'title_size' => '40px',
341
  'title_color' => '444444',
342
  'title_margin_top' => '10px',
343
+ 'title_margin_bottom' => '60px',
344
  'form_desc_size' => '14px',
345
  'form_desc_color' => '666666',
346
  'form_desc_margin_top' => '10px',
347
  'form_desc_margin_bottom' => '25px',
348
 
349
  'font' => '"Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif',
350
+ 'font_size' => '15px',
351
+ 'label_color' => '3f4b5b',
352
+ 'weight' => 'normal',
353
  'position' => 'none',
354
  'align' => 'left',
355
  'width' => '150px',
374
  'field_weight' => 'normal',
375
  'text_color' => '555555',
376
  //'border_color_hv' => 'cccccc',
377
+ 'border_color' => 'BFC3C8',
378
  'field_border_width' => '1px',
379
  'field_border_style' => 'solid',
380
 
404
  'section_weight' => 'bold',
405
  'section_pad' => '15px 0 3px 0',
406
  'section_mar_top' => '15px',
407
+ 'section_mar_bottom' => '30px',
408
  'section_bg_color' => '',
409
  'section_border_color' => 'e8e8e8',
410
  'section_border_width' => '2px',
415
  'repeat_icon' => '1',
416
 
417
  'submit_style' => false,
418
+ 'submit_font_size' => '15px',
419
  'submit_width' => 'auto',
420
  'submit_height' => 'auto',
421
+ 'submit_bg_color' => '579AF6',
422
+ 'submit_border_color' => '579AF6',
423
  'submit_border_width' => '1px',
424
+ 'submit_text_color' => 'ffffff',
425
  'submit_weight' => 'normal',
426
  'submit_border_radius' => '4px',
427
  'submit_bg_img' => '',
428
  'submit_margin' => '10px',
429
+ 'submit_padding' => '10px 20px',
430
  'submit_shadow_color' => 'eeeeee',
431
  'submit_hover_bg_color' => 'efefef',
432
  'submit_hover_color' => '444444',
448
 
449
  'important_style' => false,
450
 
451
+ 'progress_bg_color' => 'eaeaea',
452
  'progress_active_color' => 'ffffff',
453
+ 'progress_active_bg_color' => '579AF6',
454
+ 'progress_color' => '3f4b5b',
455
+ 'progress_border_color' => 'E5E5E5',
456
  'progress_border_size' => '2px',
457
  'progress_size' => '30px',
458
 
classes/views/frm-form-actions/_email_settings.php CHANGED
@@ -40,6 +40,10 @@
40
  <input type="text" name="<?php echo esc_attr( $this->get_field_name( 'from' ) ); ?>" value="<?php echo esc_attr( $form_action->post_content['from'] ); ?>" class="frm_not_email_to frm_email_blur large-text <?php FrmAppHelper::maybe_add_tooltip( 'from', 'open' ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'from' ) ); ?>" />
41
  </p>
42
 
 
 
 
 
43
  <p class="frm_reply_to_container">
44
  <a href="javascript:void(0)" class="button frm_email_buttons frm_reply_to_button <?php echo ( ! empty( $form_action->post_content['reply_to'] ) ? 'frm_hidden' : '' ); ?>" data-emailrow="reply_to">
45
  <?php esc_html_e( 'Reply To', 'formidable' ); ?>
40
  <input type="text" name="<?php echo esc_attr( $this->get_field_name( 'from' ) ); ?>" value="<?php echo esc_attr( $form_action->post_content['from'] ); ?>" class="frm_not_email_to frm_email_blur large-text <?php FrmAppHelper::maybe_add_tooltip( 'from', 'open' ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'from' ) ); ?>" />
41
  </p>
42
 
43
+ <p class="frm_error_style frm_from_to_match_row <?php echo ( ( $form_action->post_content['from'] !== $form_action->post_content['email_to'] ) ? 'frm_hidden' : '' ); ?>" data-emailrow="from_to_warning">
44
+ <?php esc_html_e( 'Warning: If you are sending an email to the user, the To and From fields should not match.', 'formidable' ); ?>
45
+ </p>
46
+
47
  <p class="frm_reply_to_container">
48
  <a href="javascript:void(0)" class="button frm_email_buttons frm_reply_to_button <?php echo ( ! empty( $form_action->post_content['reply_to'] ) ? 'frm_hidden' : '' ); ?>" data-emailrow="reply_to">
49
  <?php esc_html_e( 'Reply To', 'formidable' ); ?>
classes/views/frm-forms/add_form_style_options.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <tr>
2
+ <td>
3
+ <label for="frm_option_transition" class="frm_show_upgrade frm_noallow" data-medium="transitions" data-upgrade="Form transitions">
4
+ <?php esc_html_e( 'Page Turn Transitions', 'formidable' ); ?>
5
+ </label>
6
+ </td>
7
+ <td>
8
+ <select id="frm_option_transition" >
9
+ <option disabled>
10
+ <?php esc_html_e( 'Slide horizonally', 'formidable' ); ?>
11
+ </option>
12
+ <option disabled>
13
+ <?php esc_html_e( 'Slide vertically', 'formidable' ); ?>
14
+ </option>
15
+ </select>
16
+ </td>
17
+ </tr>
classes/views/frm-forms/settings-buttons.php CHANGED
@@ -35,6 +35,12 @@
35
  <?php } ?>
36
  </td>
37
  </tr>
 
 
 
 
 
 
38
  <tr>
39
  <td><label><?php esc_html_e( 'Submit Button Text', 'formidable' ); ?></label></td>
40
  <td>
35
  <?php } ?>
36
  </td>
37
  </tr>
38
+ <?php do_action( 'frm_add_form_style_tab_options', $values ); ?>
39
+ <tr>
40
+ <td colspan="2">
41
+ <h3><?php esc_html_e( 'Buttons', 'formidable' ); ?></h3>
42
+ </td>
43
+ </tr>
44
  <tr>
45
  <td><label><?php esc_html_e( 'Submit Button Text', 'formidable' ); ?></label></td>
46
  <td>
classes/views/frm-settings/form.php CHANGED
@@ -34,14 +34,14 @@
34
  <?php } ?>
35
  <div id="<?php echo esc_attr( $section['anchor'] ); ?>"
36
  class="<?php echo esc_attr( $section['anchor'] ); ?> tabs-panel <?php echo esc_attr( $current === $section['anchor'] ? 'frm_block' : 'frm_hidden' ); ?>">
 
 
 
37
  <?php if ( isset( $section['ajax'] ) ) { ?>
38
  <div class="frm_ajax_settings_tab frm_<?php echo esc_attr( $section['anchor'] ); ?>_ajax">
39
  <span class="frm-wait"></span>
40
  </div>
41
  <?php } else { ?>
42
- <h2 class="frm-h2">
43
- <?php echo esc_html( $section['name'] ); ?>
44
- </h2>
45
  <?php
46
  if ( isset( $section['class'] ) ) {
47
  call_user_func( array( $section['class'], $section['function'] ) );
34
  <?php } ?>
35
  <div id="<?php echo esc_attr( $section['anchor'] ); ?>"
36
  class="<?php echo esc_attr( $section['anchor'] ); ?> tabs-panel <?php echo esc_attr( $current === $section['anchor'] ? 'frm_block' : 'frm_hidden' ); ?>">
37
+ <h2 class="frm-h2">
38
+ <?php echo FrmAppHelper::kses( $section['name'], array( 'span' ) ); // WPCS: XSS ok. ?>
39
+ </h2>
40
  <?php if ( isset( $section['ajax'] ) ) { ?>
41
  <div class="frm_ajax_settings_tab frm_<?php echo esc_attr( $section['anchor'] ); ?>_ajax">
42
  <span class="frm-wait"></span>
43
  </div>
44
  <?php } else { ?>
 
 
 
45
  <?php
46
  if ( isset( $section['class'] ) ) {
47
  call_user_func( array( $section['class'], $section['function'] ) );
classes/views/frm-settings/tabs.php CHANGED
@@ -13,7 +13,7 @@
13
  ?>
14
  >
15
  <?php FrmAppHelper::icon_by_class( $section['icon'], array( 'aria-hidden' => 'true' ) ); ?>
16
- <?php echo esc_html( $section['name'] ); ?>
17
  </a>
18
  </li>
19
  <?php } ?>
13
  ?>
14
  >
15
  <?php FrmAppHelper::icon_by_class( $section['icon'], array( 'aria-hidden' => 'true' ) ); ?>
16
+ <?php echo FrmAppHelper::kses( $section['name'], array( 'span' ) ); // WPCS: XSS ok. ?>
17
  </a>
18
  </li>
19
  <?php } ?>
classes/views/inbox/list.php ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="frm_wrap" id="frm_inbox_page">
2
+ <div class="frm_page_container">
3
+ <?php
4
+ FrmAppHelper::get_admin_header(
5
+ array(
6
+ 'label' => __( 'Inbox', 'formidable' ),
7
+ )
8
+ );
9
+ ?>
10
+ <div id="post-body-content">
11
+
12
+ <?php if ( empty( $messages ) ) { ?>
13
+ <div class="frm_no_items">
14
+ <h2><?php esc_html_e( 'You don\'t have any messages', 'formidable' ); ?></h2>
15
+ <p>
16
+ <?php esc_html_e( 'Get the details about new updates, tips, sales, and more. We\'ll keep you in the loop.', 'formidable' ); ?>
17
+ <?php esc_html_e( 'Want more news and email updates?', 'formidable' ); ?>
18
+ </p>
19
+ <form target="_blank" action="//formidablepro.us1.list-manage.com/subscribe/post?u=a4a913790ffb892daacc6f271&id=7e7df15967" method="post" selector="newsletter-form" accept-charset="<?php echo esc_attr( get_bloginfo( 'charset' ) ); ?>" class="frm-fields frm-subscribe">
20
+ <p>
21
+ <input type="text" name="EMAIL" value="<?php echo esc_attr( $user->user_email ); ?>" selector="newsletter-email" placeholder="<?php esc_attr_e( 'Email', 'formidable' ); ?>"/>
22
+ </p>
23
+ <input type="hidden" name="group[4505]" value="4" />
24
+ <p>
25
+ <button type="submit" class="button-primary frm-button-primary">
26
+ <?php esc_html_e( 'Subscribe', 'formidable' ); ?>
27
+ </button>
28
+ </p>
29
+ </form>
30
+ </div>
31
+ <?php } ?>
32
+
33
+ <?php
34
+
35
+ foreach ( $messages as $key => $message ) {
36
+ if ( ! isset( $message['icon'] ) ) {
37
+ $message['icon'] = 'frm_tooltip_icon';
38
+ }
39
+
40
+ if ( isset( $message['dismissed'] ) && isset( $message['dismissed'][ $user->ID ] ) ) {
41
+ continue;
42
+ }
43
+ ?>
44
+ <section class="frm_inbox_card" data-message="<?php echo esc_attr( $key ); ?>">
45
+ <span class="frm_inbox_card_icon" aria-hidden="true">
46
+ <?php FrmAppHelper::icon_by_class( 'frmfont ' . esc_attr( $message['icon'] ) ); ?>
47
+ </span>
48
+ <header>
49
+ <h3>
50
+ <?php echo esc_html( $message['subject'] ); ?>
51
+ </h3>
52
+ <span class="frm_inbox_date">
53
+ <?php
54
+ if ( ! isset( $message['read'] ) || ! isset( $message['read'][ $user->ID ] ) ) {
55
+ $inbox->mark_read( $key );
56
+ ?>
57
+ <span class="frm_inbox_unread"></span>
58
+ <?php
59
+ }
60
+
61
+ printf(
62
+ /* translators: %s: Time stamp */
63
+ esc_html__( '%s ago', 'formidable' ),
64
+ esc_html( FrmAppHelper::human_time_diff( $message['created'] ) )
65
+ );
66
+ ?>
67
+ </span>
68
+ </header>
69
+ <div class="frm_inbox_body">
70
+ <p><?php echo FrmAppHelper::kses( $message['message'], array( 'a', 'p', 'div', 'span', 'br' ) ); // WPCS: XSS ok. ?></p>
71
+ </div>
72
+ <footer>
73
+ <?php echo FrmAppHelper::kses( $message['cta'], array( 'a' ) ); // WPCS: XSS ok. ?>
74
+ </footer>
75
+ </section>
76
+ <?php
77
+ }
78
+ ?>
79
+ </div>
80
+ </div>
81
+ </div>
classes/views/shared/errors.php CHANGED
@@ -9,6 +9,24 @@ if ( isset( $message ) && '' !== $message ) {
9
  }
10
  }
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  if ( isset( $warnings ) && is_array( $warnings ) && count( $warnings ) > 0 ) {
13
  ?>
14
  <div class="frm_warning_style inline" role="alert">
9
  }
10
  }
11
 
12
+ if ( ! isset( $show_messages ) ) {
13
+ $show_messages = array();
14
+ }
15
+ $show_messages = apply_filters( 'frm_message_list', $show_messages );
16
+ if ( is_array( $show_messages ) && count( $show_messages ) > 0 ) {
17
+ ?>
18
+ <div class="frm_warning_style" role="alert">
19
+ <ul id="frm_messages">
20
+ <?php
21
+ foreach ( $show_messages as $m ) {
22
+ echo '<li>' . FrmAppHelper::kses( $m, array( 'a', 'br' ) ) . '</li>'; // WPCS: XSS ok.
23
+ }
24
+ ?>
25
+ </ul>
26
+ </div>
27
+ <?php
28
+ }
29
+
30
  if ( isset( $warnings ) && is_array( $warnings ) && count( $warnings ) > 0 ) {
31
  ?>
32
  <div class="frm_warning_style inline" role="alert">
classes/views/shared/review.php CHANGED
@@ -1,14 +1,7 @@
1
  <div class="notice notice-info is-dismissible frm-review-notice">
2
  <div class="frm-satisfied">
3
  <p>
4
- <?php
5
- printf(
6
- /* translators: %s: User name, %2$d: number of entries */
7
- esc_html__( 'Congratulations%1$s! You have collected %2$d form submissions.', 'formidable' ),
8
- esc_html( $name ),
9
- absint( $entries )
10
- );
11
- ?>
12
  <br/>
13
  <?php esc_html_e( 'Are you enjoying Formidable Forms?', 'formidable' ); ?>
14
  </p>
1
  <div class="notice notice-info is-dismissible frm-review-notice">
2
  <div class="frm-satisfied">
3
  <p>
4
+ <?php echo esc_html( $title ); ?>
 
 
 
 
 
 
 
5
  <br/>
6
  <?php esc_html_e( 'Are you enjoying Formidable Forms?', 'formidable' ); ?>
7
  </p>
css/_single_theme.css.php CHANGED
@@ -9,7 +9,19 @@ $label_margin = (int) $width + 10;
9
  $minus_icons = FrmStylesHelper::minus_icons();
10
  $arrow_icons = FrmStylesHelper::arrow_icons();
11
 
 
12
  ?>
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  .frm_forms.<?php echo esc_html( $style_class ); ?>{
15
  max-width:<?php echo esc_html( $form_width . $important ); ?>;
@@ -424,17 +436,6 @@ if ( ! empty( $important ) ) {
424
  width:auto<?php echo esc_html( $important ); ?>;
425
  }
426
 
427
- .<?php echo esc_html( $style_class ); ?> input[disabled],
428
- .<?php echo esc_html( $style_class ); ?> select[disabled],
429
- .<?php echo esc_html( $style_class ); ?> textarea[disabled],
430
- .<?php echo esc_html( $style_class ); ?> input[readonly],
431
- .<?php echo esc_html( $style_class ); ?> select[readonly],
432
- .<?php echo esc_html( $style_class ); ?> textarea[readonly]{
433
- background-color:<?php echo esc_html( $bg_color_disabled . $important ); ?>;
434
- color:<?php echo esc_html( $text_color_disabled . $important ); ?>;
435
- border-color:<?php echo esc_html( $border_color_disabled . $important ); ?>;
436
- }
437
-
438
  /* These do not work if they are combined */
439
  .<?php echo esc_html( $style_class ); ?> input::placeholder,
440
  .<?php echo esc_html( $style_class ); ?> textarea::placeholder{
@@ -801,6 +802,8 @@ if ( ! empty( $important ) ) {
801
  outline:none<?php echo esc_html( $important ); ?>;
802
  }
803
 
 
 
804
  .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total input,
805
  .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total textarea{
806
  color: <?php echo esc_html( $text_color . $important ); ?>;
9
  $minus_icons = FrmStylesHelper::minus_icons();
10
  $arrow_icons = FrmStylesHelper::arrow_icons();
11
 
12
+ $vars = array( 'bg_color_disabled', 'text_color_disabled', 'border_color_disabled' );
13
  ?>
14
+ .<?php echo esc_html( $style_class ); ?> {
15
+ <?php
16
+ foreach ( $vars as $var ) {
17
+ if ( isset( $settings[ $var ] ) && $settings[ $var ] !== '' && $settings[ $var ] !== $defaults[ $var ] ) {
18
+ ?>
19
+ --<?php echo esc_html( str_replace( '_', '-', $var ) ); ?>:<?php echo esc_html( $settings[ $var ] ); ?>;
20
+ <?php
21
+ }
22
+ }
23
+ ?>
24
+ }
25
 
26
  .frm_forms.<?php echo esc_html( $style_class ); ?>{
27
  max-width:<?php echo esc_html( $form_width . $important ); ?>;
436
  width:auto<?php echo esc_html( $important ); ?>;
437
  }
438
 
 
 
 
 
 
 
 
 
 
 
 
439
  /* These do not work if they are combined */
440
  .<?php echo esc_html( $style_class ); ?> input::placeholder,
441
  .<?php echo esc_html( $style_class ); ?> textarea::placeholder{
802
  outline:none<?php echo esc_html( $important ); ?>;
803
  }
804
 
805
+ .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total_big input,
806
+ .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total_big textarea,
807
  .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total input,
808
  .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total textarea{
809
  color: <?php echo esc_html( $text_color . $important ); ?>;
css/custom_theme.css.php CHANGED
@@ -15,8 +15,19 @@ if ( ! isset( $frm_style ) ) {
15
  $styles = $frm_style->get_all();
16
  $default_style = $frm_style->get_default_style( $styles );
17
  $defaults = FrmStylesHelper::get_settings_for_output( $default_style );
 
18
 
 
19
  ?>
 
 
 
 
 
 
 
 
 
20
 
21
  .frm_hidden,
22
  .frm_add_form_row.frm_hidden,
@@ -67,6 +78,20 @@ legend.frm_hidden{
67
  display:initial;
68
  }
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  .frm_preview_page:before{
71
  content:normal !important;
72
  }
@@ -474,6 +499,18 @@ table.form_results.with_frm_style tr.frm_odd,
474
  <?php } ?>
475
  }
476
 
 
 
 
 
 
 
 
 
 
 
 
 
477
  .frm_collapse .ui-icon{
478
  display:inline-block;
479
  }
@@ -865,6 +902,8 @@ select.frm_loading_lookup{
865
  box-shadow:0 1px 1px rgba(0, 0, 0, 0.075) inset;
866
  }
867
 
 
 
868
  .frm_form_field.frm_total input,
869
  .frm_form_field.frm_total textarea{
870
  opacity:1;
@@ -874,17 +913,22 @@ select.frm_loading_lookup{
874
  -moz-box-shadow:none;
875
  -webkit-box-shadow:none;
876
  width:auto !important;
 
877
  box-shadow:none !important;
878
  display:inline;
879
  -moz-appearance:textfield;
880
  padding:0;
881
  }
882
 
 
 
883
  .frm_form_field.frm_total input::-webkit-outer-spin-button,
884
  .frm_form_field.frm_total input::-webkit-inner-spin-button {
885
  -webkit-appearance: none;
886
  }
887
 
 
 
888
  .frm_form_field.frm_total input:focus,
889
  .frm_form_field.frm_total textarea:focus{
890
  background-color:transparent;
15
  $styles = $frm_style->get_all();
16
  $default_style = $frm_style->get_default_style( $styles );
17
  $defaults = FrmStylesHelper::get_settings_for_output( $default_style );
18
+ $important = empty( $defaults['important_style'] ) ? '' : ' !important';
19
 
20
+ $vars = array( 'bg_color_disabled', 'text_color_disabled', 'border_color_disabled' );
21
  ?>
22
+ .with_frm_style {
23
+ <?php
24
+ foreach ( $vars as $var ) {
25
+ ?>
26
+ --<?php echo esc_html( str_replace( '_', '-', $var ) ); ?>:<?php echo esc_html( $defaults[ $var ] ); ?>;
27
+ <?php
28
+ }
29
+ ?>
30
+ }
31
 
32
  .frm_hidden,
33
  .frm_add_form_row.frm_hidden,
78
  display:initial;
79
  }
80
 
81
+ .with_frm_style input[disabled],
82
+ .with_frm_style select[disabled],
83
+ .with_frm_style textarea[disabled],
84
+ .with_frm_style input[readonly],
85
+ .with_frm_style select[readonly],
86
+ .with_frm_style textarea[readonly]{
87
+ background-color:<?php echo esc_html( $defaults['bg_color_disabled'] ); ?>;
88
+ background-color:var(--bg-color-disabled)<?php echo esc_html( $important ); ?>;
89
+ color:<?php echo esc_html( $defaults['text_color_disabled'] ); ?>;
90
+ color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>;
91
+ border-color:<?php echo esc_html( $defaults['border_color_disabled'] ); ?>;
92
+ border-color:var(--border-color-disabled)<?php echo esc_html( $important ); ?>;
93
+ }
94
+
95
  .frm_preview_page:before{
96
  content:normal !important;
97
  }
499
  <?php } ?>
500
  }
501
 
502
+ <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
503
+ .frm_color_block {
504
+ background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
505
+ padding: 40px;
506
+ }
507
+
508
+ .with_frm_style .frm-show-form .frm_color_block.frm_section_heading h3,
509
+ .frm_color_block.frm_section_heading h3 {
510
+ border-width: 0 !important;
511
+ }
512
+ <?php } ?>
513
+
514
  .frm_collapse .ui-icon{
515
  display:inline-block;
516
  }
902
  box-shadow:0 1px 1px rgba(0, 0, 0, 0.075) inset;
903
  }
904
 
905
+ .frm_form_field.frm_total_big input,
906
+ .frm_form_field.frm_total_big textarea,
907
  .frm_form_field.frm_total input,
908
  .frm_form_field.frm_total textarea{
909
  opacity:1;
913
  -moz-box-shadow:none;
914
  -webkit-box-shadow:none;
915
  width:auto !important;
916
+ height:auto !important;
917
  box-shadow:none !important;
918
  display:inline;
919
  -moz-appearance:textfield;
920
  padding:0;
921
  }
922
 
923
+ .frm_form_field.frm_total_big input::-webkit-outer-spin-button,
924
+ .frm_form_field.frm_total_big input::-webkit-inner-spin-button,
925
  .frm_form_field.frm_total input::-webkit-outer-spin-button,
926
  .frm_form_field.frm_total input::-webkit-inner-spin-button {
927
  -webkit-appearance: none;
928
  }
929
 
930
+ .frm_form_field.frm_total_big input:focus,
931
+ .frm_form_field.frm_total_big textarea:focus,
932
  .frm_form_field.frm_total input:focus,
933
  .frm_form_field.frm_total textarea:focus{
934
  background-color:transparent;
css/frm_admin.css CHANGED
@@ -274,6 +274,10 @@ a .frmsvg,
274
  margin: 13px 0 0;
275
  }
276
 
 
 
 
 
277
  ul.frm_form_nav {
278
  margin: 0 auto;
279
  padding-top: 19px;
@@ -2912,6 +2916,7 @@ img.frm_help {
2912
  width: 20px;
2913
  height: 20px;
2914
  position: relative;
 
2915
  }
2916
 
2917
  #frm-show-fields .frm-wait:only-child {
@@ -3663,6 +3668,97 @@ label.frm-example-icon {
3663
  color: green;
3664
  }
3665
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3666
  /* Styles tabs */
3667
 
3668
  #frm_styling_form #frm_delete_style {
@@ -4511,7 +4607,7 @@ a.frm_action_icon:hover {
4511
  .frm-field-action-icons a {
4512
  margin-left: 15px;
4513
  float: right;
4514
- font-size: 17px;
4515
  width: 17px;
4516
  }
4517
 
@@ -6518,16 +6614,16 @@ iframe#dyncontent_ifr {
6518
  }
6519
 
6520
  #frm_styling_form .wp-color-result-text {
6521
- line-height: 28px !important;
6522
  font-size: 15px;
6523
  background: #fff !important;
6524
  }
6525
 
6526
  .wp-picker-open + .wp-picker-input-wrap {
6527
  position: absolute;
6528
- margin-left: -80px;
6529
- margin-top: 2px;
6530
- width: 79px;
6531
  }
6532
 
6533
  .frm6 .wp-picker-open + .wp-picker-input-wrap {
@@ -6541,6 +6637,8 @@ iframe#dyncontent_ifr {
6541
  color: var(--dark-grey);
6542
  font-size: 15px;
6543
  width: 100%;
 
 
6544
  }
6545
 
6546
  .wp-picker-input-wrap .wp-picker-clear {
274
  margin: 13px 0 0;
275
  }
276
 
277
+ .frm_page_container .frm-header-logo {
278
+ margin-bottom: 6px;
279
+ }
280
+
281
  ul.frm_form_nav {
282
  margin: 0 auto;
283
  padding-top: 19px;
2916
  width: 20px;
2917
  height: 20px;
2918
  position: relative;
2919
+ display: inline-block;
2920
  }
2921
 
2922
  #frm-show-fields .frm-wait:only-child {
3668
  color: green;
3669
  }
3670
 
3671
+ /* Empty List */
3672
+
3673
+ .frm_no_items {
3674
+ margin: 75px auto;
3675
+ text-align: center;
3676
+ color: var(--dark-grey);
3677
+ max-width: 500px;
3678
+ }
3679
+
3680
+ .frm_no_items h2 {
3681
+ font-size: 25px;
3682
+ margin-bottom: 30px !important;
3683
+ }
3684
+
3685
+ .frm_no_items p {
3686
+ font-size: 14px;
3687
+ }
3688
+
3689
+ .frm-subscribe {
3690
+ margin: 30px 0;
3691
+ }
3692
+
3693
+ /* Inbox */
3694
+
3695
+ #frm_inbox_page .frm_page_container {
3696
+ height: auto;
3697
+ }
3698
+
3699
+ .frm_inbox_card {
3700
+ display: grid;
3701
+ grid-template-columns: 72px 1fr;
3702
+ grid-gap: 15px;
3703
+ border-bottom: 1px solid var(--grey-border);
3704
+ padding: 25px;
3705
+ }
3706
+
3707
+ .frm_inbox_card_icon {
3708
+ grid-row: span 3 / span 3;
3709
+ padding-top: 20px;
3710
+ text-align: center
3711
+ }
3712
+
3713
+ .frm_inbox_card_icon svg {
3714
+ height: 48px;
3715
+ width: 48px;
3716
+ color: var(--blue-border);
3717
+ }
3718
+
3719
+ .frm_inbox_card header {
3720
+ display: grid;
3721
+ grid-template-columns: 1fr 150px;
3722
+ align-items: center;
3723
+ }
3724
+
3725
+ .frm_inbox_card h3 {
3726
+ border: none;
3727
+ text-transform: none;
3728
+ margin: 0;
3729
+ padding: 0;
3730
+ font-weight: 600;
3731
+ color: var(--medium-grey);
3732
+ font-size: 16px;
3733
+ }
3734
+
3735
+ .frm_inbox_date {
3736
+ text-align: right;
3737
+ }
3738
+
3739
+ .frm_inbox_count,
3740
+ .frm_inbox_unread {
3741
+ background: var(--orange);
3742
+ color: #fff;
3743
+ border-radius: 50%;
3744
+ display: inline-block;
3745
+ margin-right: 8px;
3746
+ font-size: 11px;
3747
+ text-align: center;
3748
+ }
3749
+
3750
+ .frm_inbox_unread {
3751
+ width: 8px;
3752
+ height: 8px;
3753
+ }
3754
+
3755
+ .frm_inbox_count {
3756
+ min-width: 18px;
3757
+ height: 18px;
3758
+ margin-left: 2px;
3759
+ vertical-align: text-bottom;
3760
+ }
3761
+
3762
  /* Styles tabs */
3763
 
3764
  #frm_styling_form #frm_delete_style {
4607
  .frm-field-action-icons a {
4608
  margin-left: 15px;
4609
  float: right;
4610
+ font-size: 16px;
4611
  width: 17px;
4612
  }
4613
 
6614
  }
6615
 
6616
  #frm_styling_form .wp-color-result-text {
6617
+ line-height: 30px !important;
6618
  font-size: 15px;
6619
  background: #fff !important;
6620
  }
6621
 
6622
  .wp-picker-open + .wp-picker-input-wrap {
6623
  position: absolute;
6624
+ margin-left: -87px;
6625
+ margin-top: 1px;
6626
+ width: 86px;
6627
  }
6628
 
6629
  .frm6 .wp-picker-open + .wp-picker-input-wrap {
6637
  color: var(--dark-grey);
6638
  font-size: 15px;
6639
  width: 100%;
6640
+ line-height: 1;
6641
+ text-align: center;
6642
  }
6643
 
6644
  .wp-picker-input-wrap .wp-picker-clear {
css/frm_blocks.css CHANGED
@@ -13,7 +13,6 @@
13
  -ms-flex-align: center;
14
  align-items: center;
15
  text-align: center;
16
- background-color: #f3f3f4;
17
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
18
  }
19
 
13
  -ms-flex-align: center;
14
  align-items: center;
15
  text-align: center;
 
16
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
17
  }
18
 
formidable.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Formidable Forms
4
  Description: Quickly and easily create drag-and-drop forms
5
- Version: 4.04.05
6
  Plugin URI: https://formidableforms.com/
7
  Author URI: https://formidableforms.com/
8
  Author: Strategy11
2
  /*
3
  Plugin Name: Formidable Forms
4
  Description: Quickly and easily create drag-and-drop forms
5
+ Version: 4.05
6
  Plugin URI: https://formidableforms.com/
7
  Author URI: https://formidableforms.com/
8
  Author: Strategy11
js/formidable.js CHANGED
@@ -453,7 +453,7 @@ function frmFrontFormJS() {
453
  type: 'POST', url: frm_js.ajax_url,
454
  data: jQuery( object ).serialize() + '&action=frm_entries_' + action + '&nonce=' + frm_js.nonce,
455
  success: function( response ) {
456
- var formID, replaceContent, pageOrder, formReturned, contSubmit,
457
  showCaptcha, $fieldCont, key, inCollapsedSection, frmTrigger,
458
  $recaptcha, recaptchaID,
459
  defaultResponse = { 'content': '', 'errors': {}, 'pass': false };
@@ -482,17 +482,24 @@ function frmFrontFormJS() {
482
  response.content = response.content.replace( / frm_pro_form /g, ' frm_pro_form frm_no_hide ' );
483
  replaceContent = jQuery( object ).closest( '.frm_forms' );
484
  removeAddedScripts( replaceContent, formID );
485
- replaceContent.replaceWith( response.content );
486
 
487
- addUrlParam( response );
 
 
488
 
489
- if ( typeof frmThemeOverride_frmAfterSubmit === 'function' ) { // eslint-disable-line camelcase
490
- pageOrder = jQuery( 'input[name="frm_page_order_' + formID + '"]' ).val();
491
- formReturned = jQuery( response.content ).find( 'input[name="form_id"]' ).val();
492
- frmThemeOverride_frmAfterSubmit( formReturned, pageOrder, response.content, object );
493
- }
 
 
494
 
495
- afterFormSubmitted( object, response );
 
 
 
496
 
497
  } else if ( Object.keys( response.errors ).length ) {
498
  // errors were returned
@@ -591,6 +598,21 @@ function frmFrontFormJS() {
591
  }
592
  }
593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
594
  function addUrlParam( response ) {
595
  var url;
596
  if ( history.pushState && typeof response.page !== 'undefined' ) {
453
  type: 'POST', url: frm_js.ajax_url,
454
  data: jQuery( object ).serialize() + '&action=frm_entries_' + action + '&nonce=' + frm_js.nonce,
455
  success: function( response ) {
456
+ var formID, replaceContent, pageOrder, formReturned, contSubmit, delay,
457
  showCaptcha, $fieldCont, key, inCollapsedSection, frmTrigger,
458
  $recaptcha, recaptchaID,
459
  defaultResponse = { 'content': '', 'errors': {}, 'pass': false };
482
  response.content = response.content.replace( / frm_pro_form /g, ' frm_pro_form frm_no_hide ' );
483
  replaceContent = jQuery( object ).closest( '.frm_forms' );
484
  removeAddedScripts( replaceContent, formID );
485
+ delay = maybeSlideOut( replaceContent, response.content );
486
 
487
+ setTimeout(
488
+ function() {
489
+ replaceContent.replaceWith( response.content );
490
 
491
+ addUrlParam( response );
492
+
493
+ if ( typeof frmThemeOverride_frmAfterSubmit === 'function' ) { // eslint-disable-line camelcase
494
+ pageOrder = jQuery( 'input[name="frm_page_order_' + formID + '"]' ).val();
495
+ formReturned = jQuery( response.content ).find( 'input[name="form_id"]' ).val();
496
+ frmThemeOverride_frmAfterSubmit( formReturned, pageOrder, response.content, object );
497
+ }
498
 
499
+ afterFormSubmitted( object, response );
500
+ },
501
+ delay
502
+ );
503
 
504
  } else if ( Object.keys( response.errors ).length ) {
505
  // errors were returned
598
  }
599
  }
600
 
601
+ function maybeSlideOut( oldContent, newContent ) {
602
+ var c,
603
+ newClass = 'frm_slideout';
604
+ if ( newContent.indexOf( ' frm_slide' ) !== -1 ) {
605
+ c = oldContent.children();
606
+ if ( newContent.indexOf( ' frm_going_back' ) !== -1 ) {
607
+ newClass += ' frm_going_back';
608
+ }
609
+ c.removeClass( 'frm_going_back' );
610
+ c.addClass( newClass );
611
+ return 300;
612
+ }
613
+ return 0;
614
+ }
615
+
616
  function addUrlParam( response ) {
617
  var url;
618
  if ( history.pushState && typeof response.page !== 'undefined' ) {
js/formidable.min.js CHANGED
@@ -15,40 +15,40 @@ false){fieldID=getFieldId(field,true);if(!(fieldID in errors))errors[fieldID]=ge
15
  recaptchaID,alreadyChecked;if(isGoingToPrevPage(object))return false;recaptcha=jQuery(object).find('.frm-g-recaptcha[data-size="invisible"], .g-recaptcha[data-size="invisible"]');if(recaptcha.length){recaptchaID=recaptcha.data("rid");alreadyChecked=grecaptcha.getResponse(recaptchaID);if(alreadyChecked.length===0)return recaptcha;else return false}else return false}function executeInvisibleRecaptcha(invisibleRecaptcha){var recaptchaID=invisibleRecaptcha.data("rid");grecaptcha.reset(recaptchaID);grecaptcha.execute(recaptchaID)}
16
  function validateRecaptcha(form,errors){var recaptchaID,response,fieldContainer,fieldID,$recaptcha=jQuery(form).find(".frm-g-recaptcha");if($recaptcha.length){recaptchaID=$recaptcha.data("rid");response=grecaptcha.getResponse(recaptchaID);if(response.length===0){fieldContainer=$recaptcha.closest(".frm_form_field");fieldID=fieldContainer.attr("id").replace("frm_field_","").replace("_container","");errors[fieldID]=""}}return errors}function getFieldValidationMessage(field,messageType){var msg=field.getAttribute(messageType);
17
  if(msg===null)msg="";return msg}function shouldJSValidate(object){var validate=jQuery(object).hasClass("frm_js_validate");if(validate&&typeof frmProForm!=="undefined"&&(frmProForm.savingDraft(object)||frmProForm.goingToPreviousPage(object)))validate=false;return validate}function getFormErrors(object,action){var fieldset;if(typeof action==="undefined")jQuery(object).find('input[name="frm_action"]').val();fieldset=jQuery(object).find(".frm_form_field");fieldset.addClass("frm_doing_ajax");jQuery.ajax({type:"POST",
18
- url:frm_js.ajax_url,data:jQuery(object).serialize()+"&action=frm_entries_"+action+"&nonce="+frm_js.nonce,success:function(response){var formID,replaceContent,pageOrder,formReturned,contSubmit,showCaptcha,$fieldCont,key,inCollapsedSection,frmTrigger,$recaptcha,recaptchaID,defaultResponse={"content":"","errors":{},"pass":false};if(response===null)response=defaultResponse;response=response.replace(/^\s+|\s+$/g,"");if(response.indexOf("{")===0)response=jQuery.parseJSON(response);else response=defaultResponse;
19
  if(typeof response.redirect!=="undefined"){jQuery(document).trigger("frmBeforeFormRedirect",[object,response]);window.location=response.redirect}else if(response.content!==""){removeSubmitLoading(jQuery(object));if(frm_js.offset!=-1)frmFrontForm.scrollMsg(jQuery(object),false);formID=jQuery(object).find('input[name="form_id"]').val();response.content=response.content.replace(/ frm_pro_form /g," frm_pro_form frm_no_hide ");replaceContent=jQuery(object).closest(".frm_forms");removeAddedScripts(replaceContent,
20
- formID);replaceContent.replaceWith(response.content);addUrlParam(response);if(typeof frmThemeOverride_frmAfterSubmit==="function"){pageOrder=jQuery('input[name="frm_page_order_'+formID+'"]').val();formReturned=jQuery(response.content).find('input[name="form_id"]').val();frmThemeOverride_frmAfterSubmit(formReturned,pageOrder,response.content,object)}afterFormSubmitted(object,response)}else if(Object.keys(response.errors).length){removeSubmitLoading(jQuery(object),"enable");contSubmit=true;removeAllErrors();
21
- showCaptcha=false;$fieldCont=null;for(key in response.errors){$fieldCont=jQuery(object).find("#frm_field_"+key+"_container");if($fieldCont.length){if(!$fieldCont.is(":visible")){inCollapsedSection=$fieldCont.closest(".frm_toggle_container");if(inCollapsedSection.length){frmTrigger=inCollapsedSection.prev();if(!frmTrigger.hasClass("frm_trigger"))frmTrigger=frmTrigger.prev(".frm_trigger");frmTrigger.click()}}if($fieldCont.is(":visible")){addFieldError($fieldCont,key,response.errors);contSubmit=false;
22
- $recaptcha=jQuery(object).find("#frm_field_"+key+"_container .frm-g-recaptcha, #frm_field_"+key+"_container .g-recaptcha");if($recaptcha.length){showCaptcha=true;recaptchaID=$recaptcha.data("rid");if(jQuery().grecaptcha)if(recaptchaID)grecaptcha.reset(recaptchaID);else grecaptcha.reset()}}}}jQuery(document).trigger("frmFormErrors",[object,response]);fieldset.removeClass("frm_doing_ajax");scrollToFirstField(object);if(showCaptcha!==true)replaceCheckedRecaptcha(object,false);if(contSubmit)object.submit();
23
- else jQuery(object).prepend(response.error_message)}else{showFileLoading(object);replaceCheckedRecaptcha(object,true);object.submit()}},error:function(){jQuery(object).find('input[type="submit"], input[type="button"]').removeAttr("disabled");object.submit()}})}function afterFormSubmitted(object,response){var formCompleted=jQuery(response.content).find(".frm_message");if(formCompleted.length)jQuery(document).trigger("frmFormComplete",[object,response]);else jQuery(document).trigger("frmPageChanged",
24
- [object,response])}function removeAddedScripts(formContainer,formID){var endReplace=jQuery(".frm_end_ajax_"+formID);if(endReplace.length){formContainer.nextUntil(".frm_end_ajax_"+formID).remove();endReplace.remove()}}function addUrlParam(response){var url;if(history.pushState&&typeof response.page!=="undefined"){url=addQueryVar("frm_page",response.page);window.history.pushState({"html":response.html},"","?"+url)}}function addQueryVar(key,value){var kvp,i,x;key=encodeURI(key);value=encodeURI(value);
25
- kvp=document.location.search.substr(1).split("&");i=kvp.length;while(i--){x=kvp[i].split("=");if(x[0]==key){x[1]=value;kvp[i]=x.join("=");break}}if(i<0)kvp[kvp.length]=[key,value].join("=");return kvp.join("&")}function addFieldError($fieldCont,key,jsErrors){var input,id,describedBy;if($fieldCont.length&&$fieldCont.is(":visible")){$fieldCont.addClass("frm_blank_field");input=$fieldCont.find("input, select, textarea");id="frm_error_field_"+key;describedBy=input.attr("aria-describedby");if(typeof frmThemeOverride_frmPlaceError===
26
- "function")frmThemeOverride_frmPlaceError(key,jsErrors);else{$fieldCont.append('<div class="frm_error" id="'+id+'">'+jsErrors[key]+"</div>");if(typeof describedBy==="undefined")describedBy=id;else if(describedBy.indexOf(id)===-1)describedBy=describedBy+" "+id;input.attr("aria-describedby",describedBy)}input.attr("aria-invalid",true);jQuery(document).trigger("frmAddFieldError",[$fieldCont,key,jsErrors])}}function removeFieldError($fieldCont){var errorMessage=$fieldCont.find(".frm_error"),errorId=errorMessage.attr("id"),
27
- input=$fieldCont.find("input, select, textarea"),describedBy=input.attr("aria-describedby");$fieldCont.removeClass("frm_blank_field has-error");errorMessage.remove();input.attr("aria-invalid",false);if(typeof describedBy!=="undefined"){describedBy=describedBy.replace(errorId,"");input.attr("aria-describedby",describedBy)}}function removeAllErrors(){jQuery(".form-field").removeClass("frm_blank_field has-error");jQuery(".form-field .frm_error").replaceWith("");jQuery(".frm_error_style").remove()}function scrollToFirstField(object){var field=
28
- jQuery(object).find(".frm_blank_field:first");if(field.length)frmFrontForm.scrollMsg(field,object,true)}function showSubmitLoading($object){showLoadingIndicator($object);disableSubmitButton($object);disableSaveDraft($object)}function showLoadingIndicator($object){if(!$object.hasClass("frm_loading_form")&&!$object.hasClass("frm_loading_prev")){addLoadingClass($object);$object.trigger("frmStartFormLoading")}}function addLoadingClass($object){var loadingClass=isGoingToPrevPage($object)?"frm_loading_prev":
29
- "frm_loading_form";$object.addClass(loadingClass)}function isGoingToPrevPage($object){return typeof frmProForm!=="undefined"&&frmProForm.goingToPreviousPage($object)}function removeSubmitLoading($object,enable,processesRunning){var loadingForm;if(processesRunning>0)return;loadingForm=jQuery(".frm_loading_form");loadingForm.removeClass("frm_loading_form");loadingForm.removeClass("frm_loading_prev");loadingForm.trigger("frmEndFormLoading");if(enable==="enable"){enableSubmitButton(loadingForm);enableSaveDraft(loadingForm)}}
30
- function showFileLoading(object){var fileval,loading=document.getElementById("frm_loading");if(loading!==null){fileval=jQuery(object).find("input[type=file]").val();if(typeof fileval!=="undefined"&&fileval!=="")setTimeout(function(){jQuery(loading).fadeIn("slow")},2E3)}}function replaceCheckedRecaptcha(object,checkPage){var morePages,$recapField=jQuery(object).find(".frm-g-recaptcha, .g-recaptcha");if($recapField.length){if(checkPage){morePages=jQuery(object).find(".frm_next_page").length<1||jQuery(object).find(".frm_next_page").val()<
31
- 1;if(!morePages)return}$recapField.closest(".frm_form_field").replaceWith('<input type="hidden" name="recaptcha_checked" value="'+frm_js.nonce+'">')}}function clearDefault(){toggleDefault(jQuery(this),"clear")}function replaceDefault(){toggleDefault(jQuery(this),"replace")}function toggleDefault($thisField,e){var thisVal,v=$thisField.data("frmval").replace(/(\n|\r\n)/g,"\r");if(v===""||typeof v==="undefined")return false;thisVal=$thisField.val().replace(/(\n|\r\n)/g,"\r");if("replace"===e){if(thisVal===
32
- "")$thisField.addClass("frm_default").val(v)}else if(thisVal==v)$thisField.removeClass("frm_default").val("")}function resendEmail(){var $link=jQuery(this),entryId=this.getAttribute("data-eid"),formId=this.getAttribute("data-fid"),label=$link.find(".frm_link_label");if(label.length<1)label=$link;label.append('<span class="frm-wait"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_send_email",entry_id:entryId,form_id:formId,nonce:frm_js.nonce},success:function(msg){var admin=
33
- document.getElementById("wpbody");if(admin===null)label.html(msg);else{label.html("");$link.after(msg)}}});return false}function confirmClick(){var message=jQuery(this).data("frmconfirm");return confirm(message)}function toggleDiv(){var div=jQuery(this).data("frmtoggle");if(jQuery(div).is(":visible"))jQuery(div).slideUp("fast");else jQuery(div).slideDown("fast");return false}function addIndexOfFallbackForIE8(){var len,from;if(!Array.prototype.indexOf)Array.prototype.indexOf=function(elt){len=this.length>>>
34
- 0;from=Number(arguments[1])||0;from=from<0?Math.ceil(from):Math.floor(from);if(from<0)from+=len;for(;from<len;from++)if(from in this&&this[from]===elt)return from;return-1}}function addTrimFallbackForIE8(){if(typeof String.prototype.trim!=="function")String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}function addFilterFallbackForIE8(){var t,len,res,thisp,i,val;if(!Array.prototype.filter)Array.prototype.filter=function(fun){if(this===void 0||this===null)throw new TypeError;t=Object(this);
35
- len=t.length>>>0;if(typeof fun!=="function")throw new TypeError;res=[];thisp=arguments[1];for(i=0;i<len;i++)if(i in t){val=t[i];if(fun.call(thisp,val,i,t))res.push(val)}return res}}function addKeysFallbackForIE8(){var keys,i;if(!Object.keys)Object.keys=function(obj){keys=[];for(i in obj)if(obj.hasOwnProperty(i))keys.push(i);return keys}}return{init:function(){jQuery(document).off("submit.formidable",".frm-show-form");jQuery(document).on("submit.formidable",".frm-show-form",frmFrontForm.submitForm);
36
- jQuery(".frm-show-form input[onblur], .frm-show-form textarea[onblur]").each(function(){if(jQuery(this).val()==="")jQuery(this).blur()});jQuery(document).on("focus",".frm_toggle_default",clearDefault);jQuery(document).on("blur",".frm_toggle_default",replaceDefault);jQuery(".frm_toggle_default").blur();jQuery(document.getElementById("frm_resend_email")).click(resendEmail);jQuery(document).on("change",'.frm-show-form input[name^="item_meta"], .frm-show-form select[name^="item_meta"], .frm-show-form textarea[name^="item_meta"]',
37
- frmFrontForm.fieldValueChanged);jQuery(document).on("change keyup",".frm-show-form .frm_inside_container input, .frm-show-form .frm_inside_container select, .frm-show-form .frm_inside_container textarea",maybeShowLabel);jQuery(document).on("click","a[data-frmconfirm]",confirmClick);jQuery("a[data-frmtoggle]").click(toggleDiv);addIndexOfFallbackForIE8();addTrimFallbackForIE8();addFilterFallbackForIE8();addKeysFallbackForIE8()},getFieldId:function(field,fullID){return getFieldId(field,fullID)},renderRecaptcha:function(captcha){var formID,
38
- recaptchaID,size=captcha.getAttribute("data-size"),rendered=captcha.getAttribute("data-rid")!==null,params={"sitekey":captcha.getAttribute("data-sitekey"),"size":size,"theme":captcha.getAttribute("data-theme")};if(rendered)return;if(size==="invisible"){formID=jQuery(captcha).closest("form").find('input[name="form_id"]').val();jQuery(captcha).closest(".frm_form_field .frm_primary_label").hide();params.callback=function(token){frmFrontForm.afterRecaptcha(token,formID)}}recaptchaID=grecaptcha.render(captcha.id,
39
- params);captcha.setAttribute("data-rid",recaptchaID)},afterSingleRecaptcha:function(){var object=jQuery(".frm-show-form .g-recaptcha").closest("form")[0];frmFrontForm.submitFormNow(object)},afterRecaptcha:function(token,formID){var object=jQuery("#frm_form_"+formID+"_container form")[0];frmFrontForm.submitFormNow(object)},submitForm:function(e){frmFrontForm.submitFormManual(e,this)},submitFormManual:function(e,object){var isPro,errors,invisibleRecaptcha=hasInvisibleRecaptcha(object),classList=object.className.trim().split(/\s+/gi);
40
- if(classList&&invisibleRecaptcha.length<1){isPro=classList.indexOf("frm_pro_form")>-1;if(!isPro)return}if(jQuery("body").hasClass("wp-admin")&&jQuery(object).closest(".frmapi-form").length<1)return;e.preventDefault();if(typeof frmProForm!=="undefined"&&typeof frmProForm.submitAllowed==="function")if(!frmProForm.submitAllowed(object))return;if(invisibleRecaptcha.length){showLoadingIndicator(jQuery(object));executeInvisibleRecaptcha(invisibleRecaptcha)}else{errors=frmFrontForm.validateFormSubmit(object);
41
- if(Object.keys(errors).length===0){showSubmitLoading(jQuery(object));frmFrontForm.submitFormNow(object,classList)}}},submitFormNow:function(object){var hasFileFields,classList=object.className.trim().split(/\s+/gi);if(classList.indexOf("frm_ajax_submit")>-1){hasFileFields=jQuery(object).find('input[type="file"]').filter(function(){return!!this.value}).length;if(hasFileFields<1){action=jQuery(object).find('input[name="frm_action"]').val();frmFrontForm.checkFormErrors(object,action)}else object.submit()}else object.submit()},
42
- validateFormSubmit:function(object){if(typeof tinyMCE!=="undefined"&&jQuery(object).find(".wp-editor-wrap").length)tinyMCE.triggerSave();jsErrors=[];if(shouldJSValidate(object)){frmFrontForm.getAjaxFormErrors(object);if(Object.keys(jsErrors).length)frmFrontForm.addAjaxFormErrors(object)}return jsErrors},getAjaxFormErrors:function(object){var customErrors,key;jsErrors=validateForm(object);if(typeof frmThemeOverride_jsErrors==="function"){action=jQuery(object).find('input[name="frm_action"]').val();
43
- customErrors=frmThemeOverride_jsErrors(action,object);if(Object.keys(customErrors).length)for(key in customErrors)jsErrors[key]=customErrors[key]}return jsErrors},addAjaxFormErrors:function(object){var key,$fieldCont;removeAllErrors();for(key in jsErrors){$fieldCont=jQuery(object).find("#frm_field_"+key+"_container");if($fieldCont.length)addFieldError($fieldCont,key,jsErrors);else delete jsErrors[key]}scrollToFirstField(object)},checkFormErrors:function(object,action){getFormErrors(object,action)},
44
- checkRequiredField:function(field,errors){return checkRequiredField(field,errors)},showSubmitLoading:function($object){showSubmitLoading($object)},removeSubmitLoading:function($object,enable,processesRunning){removeSubmitLoading($object,enable,processesRunning)},scrollToID:function(id){var object=jQuery(document.getElementById(id));frmFrontForm.scrollMsg(object,false)},scrollMsg:function(id,object,animate){var newPos,m,b,screenTop,screenBottom,scrollObj="";if(typeof object==="undefined"){scrollObj=
45
- jQuery(document.getElementById("frm_form_"+id+"_container"));if(scrollObj.length<1)return}else if(typeof id==="string")scrollObj=jQuery(object).find("#frm_field_"+id+"_container");else scrollObj=id;newPos=scrollObj.offset().top;if(!newPos||frm_js.offset==="-1")return;newPos=newPos-frm_js.offset;m=jQuery("html").css("margin-top");b=jQuery("body").css("margin-top");if(m||b)newPos=newPos-parseInt(m)-parseInt(b);if(newPos&&window.innerHeight){screenTop=document.documentElement.scrollTop||document.body.scrollTop;
46
- screenBottom=screenTop+window.innerHeight;if(newPos>screenBottom||newPos<screenTop){if(typeof animate==="undefined")jQuery(window).scrollTop(newPos);else jQuery("html,body").animate({scrollTop:newPos},500);return false}}},fieldValueChanged:function(e){var fieldId=frmFrontForm.getFieldId(this,false);if(!fieldId||typeof fieldId==="undefined")return;if(e.frmTriggered&&e.frmTriggered==fieldId)return;jQuery(document).trigger("frmFieldChanged",[this,fieldId,e]);if(e.selfTriggered!==true)maybeValidateChange(fieldId,
47
- this)},savingDraft:function(object){console.warn("DEPRECATED: function frmFrontForm.savingDraft in v3.0 use frmProForm.savingDraft");if(typeof frmProForm!=="undefined")return frmProForm.savingDraft(object)},goingToPreviousPage:function(object){console.warn("DEPRECATED: function frmFrontForm.goingToPreviousPage in v3.0 use frmProForm.goingToPreviousPage");if(typeof frmProForm!=="undefined")return frmProForm.goingToPreviousPage(object)},hideOrShowFields:function(){console.warn("DEPRECATED: function frmFrontForm.hideOrShowFields in v3.0 use frmProForm.hideOrShowFields");
48
- if(typeof frmProForm!=="undefined")frmProForm.hideOrShowFields()},hidePreviouslyHiddenFields:function(){console.warn("DEPRECATED: function frmFrontForm.hidePreviouslyHiddenFields in v3.0 use frmProForm.hidePreviouslyHiddenFields");if(typeof frmProForm!=="undefined")frmProForm.hidePreviouslyHiddenFields()},checkDependentDynamicFields:function(ids){console.warn("DEPRECATED: function frmFrontForm.checkDependentDynamicFields in v3.0 use frmProForm.checkDependentDynamicFields");if(typeof frmProForm!==
49
- "undefined")frmProForm.checkDependentDynamicFields(ids)},checkDependentLookupFields:function(ids){console.warn("DEPRECATED: function frmFrontForm.checkDependentLookupFields in v3.0 use frmProForm.checkDependentLookupFields");if(typeof frmProForm!=="undefined")frmProForm.checkDependentLookupFields(ids)},loadGoogle:function(){console.warn("DEPRECATED: function frmFrontForm.loadGoogle in v3.0 use frmProForm.loadGoogle");frmProForm.loadGoogle()},escapeHtml:function(text){return text.replace(/&/g,"&amp;").replace(/</g,
50
- "&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},invisible:function(classes){jQuery(classes).css("visibility","hidden")},visible:function(classes){jQuery(classes).css("visibility","visible")}}}frmFrontForm=frmFrontFormJS();jQuery(document).ready(function(){frmFrontForm.init()});function frmRecaptcha(){var c,cl,captchas=jQuery(".frm-g-recaptcha");for(c=0,cl=captchas.length;c<cl;c++)frmFrontForm.renderRecaptcha(captchas[c])}
51
- function frmAfterRecaptcha(token){frmFrontForm.afterSingleRecaptcha(token)}
52
  function frmUpdateField(entryId,fieldId,value,message,num){jQuery(document.getElementById("frm_update_field_"+entryId+"_"+fieldId+"_"+num)).html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_update_field_ajax",entry_id:entryId,field_id:fieldId,value:value,nonce:frm_js.nonce},success:function(){if(message.replace(/^\s+|\s+$/g,"")==="")jQuery(document.getElementById("frm_update_field_"+entryId+"_"+fieldId+"_"+num)).fadeOut("slow");else jQuery(document.getElementById("frm_update_field_"+
53
  entryId+"_"+fieldId+"_"+num)).replaceWith(message)}})}
54
  function frmDeleteEntry(entryId,prefix){console.warn("DEPRECATED: function frmDeleteEntry in v2.0.13 use frmFrontForm.deleteEntry");jQuery(document.getElementById("frm_delete_"+entryId)).replaceWith('<span class="frm-loading-img" id="frm_delete_'+entryId+'"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_destroy",entry:entryId,nonce:frm_js.nonce},success:function(html){if(html.replace(/^\s+|\s+$/g,"")==="success")jQuery(document.getElementById(prefix+entryId)).fadeOut("slow");
15
  recaptchaID,alreadyChecked;if(isGoingToPrevPage(object))return false;recaptcha=jQuery(object).find('.frm-g-recaptcha[data-size="invisible"], .g-recaptcha[data-size="invisible"]');if(recaptcha.length){recaptchaID=recaptcha.data("rid");alreadyChecked=grecaptcha.getResponse(recaptchaID);if(alreadyChecked.length===0)return recaptcha;else return false}else return false}function executeInvisibleRecaptcha(invisibleRecaptcha){var recaptchaID=invisibleRecaptcha.data("rid");grecaptcha.reset(recaptchaID);grecaptcha.execute(recaptchaID)}
16
  function validateRecaptcha(form,errors){var recaptchaID,response,fieldContainer,fieldID,$recaptcha=jQuery(form).find(".frm-g-recaptcha");if($recaptcha.length){recaptchaID=$recaptcha.data("rid");response=grecaptcha.getResponse(recaptchaID);if(response.length===0){fieldContainer=$recaptcha.closest(".frm_form_field");fieldID=fieldContainer.attr("id").replace("frm_field_","").replace("_container","");errors[fieldID]=""}}return errors}function getFieldValidationMessage(field,messageType){var msg=field.getAttribute(messageType);
17
  if(msg===null)msg="";return msg}function shouldJSValidate(object){var validate=jQuery(object).hasClass("frm_js_validate");if(validate&&typeof frmProForm!=="undefined"&&(frmProForm.savingDraft(object)||frmProForm.goingToPreviousPage(object)))validate=false;return validate}function getFormErrors(object,action){var fieldset;if(typeof action==="undefined")jQuery(object).find('input[name="frm_action"]').val();fieldset=jQuery(object).find(".frm_form_field");fieldset.addClass("frm_doing_ajax");jQuery.ajax({type:"POST",
18
+ url:frm_js.ajax_url,data:jQuery(object).serialize()+"&action=frm_entries_"+action+"&nonce="+frm_js.nonce,success:function(response){var formID,replaceContent,pageOrder,formReturned,contSubmit,delay,showCaptcha,$fieldCont,key,inCollapsedSection,frmTrigger,$recaptcha,recaptchaID,defaultResponse={"content":"","errors":{},"pass":false};if(response===null)response=defaultResponse;response=response.replace(/^\s+|\s+$/g,"");if(response.indexOf("{")===0)response=jQuery.parseJSON(response);else response=defaultResponse;
19
  if(typeof response.redirect!=="undefined"){jQuery(document).trigger("frmBeforeFormRedirect",[object,response]);window.location=response.redirect}else if(response.content!==""){removeSubmitLoading(jQuery(object));if(frm_js.offset!=-1)frmFrontForm.scrollMsg(jQuery(object),false);formID=jQuery(object).find('input[name="form_id"]').val();response.content=response.content.replace(/ frm_pro_form /g," frm_pro_form frm_no_hide ");replaceContent=jQuery(object).closest(".frm_forms");removeAddedScripts(replaceContent,
20
+ formID);delay=maybeSlideOut(replaceContent,response.content);setTimeout(function(){replaceContent.replaceWith(response.content);addUrlParam(response);if(typeof frmThemeOverride_frmAfterSubmit==="function"){pageOrder=jQuery('input[name="frm_page_order_'+formID+'"]').val();formReturned=jQuery(response.content).find('input[name="form_id"]').val();frmThemeOverride_frmAfterSubmit(formReturned,pageOrder,response.content,object)}afterFormSubmitted(object,response)},delay)}else if(Object.keys(response.errors).length){removeSubmitLoading(jQuery(object),
21
+ "enable");contSubmit=true;removeAllErrors();showCaptcha=false;$fieldCont=null;for(key in response.errors){$fieldCont=jQuery(object).find("#frm_field_"+key+"_container");if($fieldCont.length){if(!$fieldCont.is(":visible")){inCollapsedSection=$fieldCont.closest(".frm_toggle_container");if(inCollapsedSection.length){frmTrigger=inCollapsedSection.prev();if(!frmTrigger.hasClass("frm_trigger"))frmTrigger=frmTrigger.prev(".frm_trigger");frmTrigger.click()}}if($fieldCont.is(":visible")){addFieldError($fieldCont,
22
+ key,response.errors);contSubmit=false;$recaptcha=jQuery(object).find("#frm_field_"+key+"_container .frm-g-recaptcha, #frm_field_"+key+"_container .g-recaptcha");if($recaptcha.length){showCaptcha=true;recaptchaID=$recaptcha.data("rid");if(jQuery().grecaptcha)if(recaptchaID)grecaptcha.reset(recaptchaID);else grecaptcha.reset()}}}}jQuery(document).trigger("frmFormErrors",[object,response]);fieldset.removeClass("frm_doing_ajax");scrollToFirstField(object);if(showCaptcha!==true)replaceCheckedRecaptcha(object,
23
+ false);if(contSubmit)object.submit();else jQuery(object).prepend(response.error_message)}else{showFileLoading(object);replaceCheckedRecaptcha(object,true);object.submit()}},error:function(){jQuery(object).find('input[type="submit"], input[type="button"]').removeAttr("disabled");object.submit()}})}function afterFormSubmitted(object,response){var formCompleted=jQuery(response.content).find(".frm_message");if(formCompleted.length)jQuery(document).trigger("frmFormComplete",[object,response]);else jQuery(document).trigger("frmPageChanged",
24
+ [object,response])}function removeAddedScripts(formContainer,formID){var endReplace=jQuery(".frm_end_ajax_"+formID);if(endReplace.length){formContainer.nextUntil(".frm_end_ajax_"+formID).remove();endReplace.remove()}}function maybeSlideOut(oldContent,newContent){var c,newClass="frm_slideout";if(newContent.indexOf(" frm_slide")!==-1){c=oldContent.children();if(newContent.indexOf(" frm_going_back")!==-1)newClass+=" frm_going_back";c.removeClass("frm_going_back");c.addClass(newClass);return 300}return 0}
25
+ function addUrlParam(response){var url;if(history.pushState&&typeof response.page!=="undefined"){url=addQueryVar("frm_page",response.page);window.history.pushState({"html":response.html},"","?"+url)}}function addQueryVar(key,value){var kvp,i,x;key=encodeURI(key);value=encodeURI(value);kvp=document.location.search.substr(1).split("&");i=kvp.length;while(i--){x=kvp[i].split("=");if(x[0]==key){x[1]=value;kvp[i]=x.join("=");break}}if(i<0)kvp[kvp.length]=[key,value].join("=");return kvp.join("&")}function addFieldError($fieldCont,
26
+ key,jsErrors){var input,id,describedBy;if($fieldCont.length&&$fieldCont.is(":visible")){$fieldCont.addClass("frm_blank_field");input=$fieldCont.find("input, select, textarea");id="frm_error_field_"+key;describedBy=input.attr("aria-describedby");if(typeof frmThemeOverride_frmPlaceError==="function")frmThemeOverride_frmPlaceError(key,jsErrors);else{$fieldCont.append('<div class="frm_error" id="'+id+'">'+jsErrors[key]+"</div>");if(typeof describedBy==="undefined")describedBy=id;else if(describedBy.indexOf(id)===
27
+ -1)describedBy=describedBy+" "+id;input.attr("aria-describedby",describedBy)}input.attr("aria-invalid",true);jQuery(document).trigger("frmAddFieldError",[$fieldCont,key,jsErrors])}}function removeFieldError($fieldCont){var errorMessage=$fieldCont.find(".frm_error"),errorId=errorMessage.attr("id"),input=$fieldCont.find("input, select, textarea"),describedBy=input.attr("aria-describedby");$fieldCont.removeClass("frm_blank_field has-error");errorMessage.remove();input.attr("aria-invalid",false);if(typeof describedBy!==
28
+ "undefined"){describedBy=describedBy.replace(errorId,"");input.attr("aria-describedby",describedBy)}}function removeAllErrors(){jQuery(".form-field").removeClass("frm_blank_field has-error");jQuery(".form-field .frm_error").replaceWith("");jQuery(".frm_error_style").remove()}function scrollToFirstField(object){var field=jQuery(object).find(".frm_blank_field:first");if(field.length)frmFrontForm.scrollMsg(field,object,true)}function showSubmitLoading($object){showLoadingIndicator($object);disableSubmitButton($object);
29
+ disableSaveDraft($object)}function showLoadingIndicator($object){if(!$object.hasClass("frm_loading_form")&&!$object.hasClass("frm_loading_prev")){addLoadingClass($object);$object.trigger("frmStartFormLoading")}}function addLoadingClass($object){var loadingClass=isGoingToPrevPage($object)?"frm_loading_prev":"frm_loading_form";$object.addClass(loadingClass)}function isGoingToPrevPage($object){return typeof frmProForm!=="undefined"&&frmProForm.goingToPreviousPage($object)}function removeSubmitLoading($object,
30
+ enable,processesRunning){var loadingForm;if(processesRunning>0)return;loadingForm=jQuery(".frm_loading_form");loadingForm.removeClass("frm_loading_form");loadingForm.removeClass("frm_loading_prev");loadingForm.trigger("frmEndFormLoading");if(enable==="enable"){enableSubmitButton(loadingForm);enableSaveDraft(loadingForm)}}function showFileLoading(object){var fileval,loading=document.getElementById("frm_loading");if(loading!==null){fileval=jQuery(object).find("input[type=file]").val();if(typeof fileval!==
31
+ "undefined"&&fileval!=="")setTimeout(function(){jQuery(loading).fadeIn("slow")},2E3)}}function replaceCheckedRecaptcha(object,checkPage){var morePages,$recapField=jQuery(object).find(".frm-g-recaptcha, .g-recaptcha");if($recapField.length){if(checkPage){morePages=jQuery(object).find(".frm_next_page").length<1||jQuery(object).find(".frm_next_page").val()<1;if(!morePages)return}$recapField.closest(".frm_form_field").replaceWith('<input type="hidden" name="recaptcha_checked" value="'+frm_js.nonce+'">')}}
32
+ function clearDefault(){toggleDefault(jQuery(this),"clear")}function replaceDefault(){toggleDefault(jQuery(this),"replace")}function toggleDefault($thisField,e){var thisVal,v=$thisField.data("frmval").replace(/(\n|\r\n)/g,"\r");if(v===""||typeof v==="undefined")return false;thisVal=$thisField.val().replace(/(\n|\r\n)/g,"\r");if("replace"===e){if(thisVal==="")$thisField.addClass("frm_default").val(v)}else if(thisVal==v)$thisField.removeClass("frm_default").val("")}function resendEmail(){var $link=
33
+ jQuery(this),entryId=this.getAttribute("data-eid"),formId=this.getAttribute("data-fid"),label=$link.find(".frm_link_label");if(label.length<1)label=$link;label.append('<span class="frm-wait"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_send_email",entry_id:entryId,form_id:formId,nonce:frm_js.nonce},success:function(msg){var admin=document.getElementById("wpbody");if(admin===null)label.html(msg);else{label.html("");$link.after(msg)}}});return false}function confirmClick(){var message=
34
+ jQuery(this).data("frmconfirm");return confirm(message)}function toggleDiv(){var div=jQuery(this).data("frmtoggle");if(jQuery(div).is(":visible"))jQuery(div).slideUp("fast");else jQuery(div).slideDown("fast");return false}function addIndexOfFallbackForIE8(){var len,from;if(!Array.prototype.indexOf)Array.prototype.indexOf=function(elt){len=this.length>>>0;from=Number(arguments[1])||0;from=from<0?Math.ceil(from):Math.floor(from);if(from<0)from+=len;for(;from<len;from++)if(from in this&&this[from]===
35
+ elt)return from;return-1}}function addTrimFallbackForIE8(){if(typeof String.prototype.trim!=="function")String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}function addFilterFallbackForIE8(){var t,len,res,thisp,i,val;if(!Array.prototype.filter)Array.prototype.filter=function(fun){if(this===void 0||this===null)throw new TypeError;t=Object(this);len=t.length>>>0;if(typeof fun!=="function")throw new TypeError;res=[];thisp=arguments[1];for(i=0;i<len;i++)if(i in t){val=t[i];if(fun.call(thisp,
36
+ val,i,t))res.push(val)}return res}}function addKeysFallbackForIE8(){var keys,i;if(!Object.keys)Object.keys=function(obj){keys=[];for(i in obj)if(obj.hasOwnProperty(i))keys.push(i);return keys}}return{init:function(){jQuery(document).off("submit.formidable",".frm-show-form");jQuery(document).on("submit.formidable",".frm-show-form",frmFrontForm.submitForm);jQuery(".frm-show-form input[onblur], .frm-show-form textarea[onblur]").each(function(){if(jQuery(this).val()==="")jQuery(this).blur()});jQuery(document).on("focus",
37
+ ".frm_toggle_default",clearDefault);jQuery(document).on("blur",".frm_toggle_default",replaceDefault);jQuery(".frm_toggle_default").blur();jQuery(document.getElementById("frm_resend_email")).click(resendEmail);jQuery(document).on("change",'.frm-show-form input[name^="item_meta"], .frm-show-form select[name^="item_meta"], .frm-show-form textarea[name^="item_meta"]',frmFrontForm.fieldValueChanged);jQuery(document).on("change keyup",".frm-show-form .frm_inside_container input, .frm-show-form .frm_inside_container select, .frm-show-form .frm_inside_container textarea",
38
+ maybeShowLabel);jQuery(document).on("click","a[data-frmconfirm]",confirmClick);jQuery("a[data-frmtoggle]").click(toggleDiv);addIndexOfFallbackForIE8();addTrimFallbackForIE8();addFilterFallbackForIE8();addKeysFallbackForIE8()},getFieldId:function(field,fullID){return getFieldId(field,fullID)},renderRecaptcha:function(captcha){var formID,recaptchaID,size=captcha.getAttribute("data-size"),rendered=captcha.getAttribute("data-rid")!==null,params={"sitekey":captcha.getAttribute("data-sitekey"),"size":size,
39
+ "theme":captcha.getAttribute("data-theme")};if(rendered)return;if(size==="invisible"){formID=jQuery(captcha).closest("form").find('input[name="form_id"]').val();jQuery(captcha).closest(".frm_form_field .frm_primary_label").hide();params.callback=function(token){frmFrontForm.afterRecaptcha(token,formID)}}recaptchaID=grecaptcha.render(captcha.id,params);captcha.setAttribute("data-rid",recaptchaID)},afterSingleRecaptcha:function(){var object=jQuery(".frm-show-form .g-recaptcha").closest("form")[0];frmFrontForm.submitFormNow(object)},
40
+ afterRecaptcha:function(token,formID){var object=jQuery("#frm_form_"+formID+"_container form")[0];frmFrontForm.submitFormNow(object)},submitForm:function(e){frmFrontForm.submitFormManual(e,this)},submitFormManual:function(e,object){var isPro,errors,invisibleRecaptcha=hasInvisibleRecaptcha(object),classList=object.className.trim().split(/\s+/gi);if(classList&&invisibleRecaptcha.length<1){isPro=classList.indexOf("frm_pro_form")>-1;if(!isPro)return}if(jQuery("body").hasClass("wp-admin")&&jQuery(object).closest(".frmapi-form").length<
41
+ 1)return;e.preventDefault();if(typeof frmProForm!=="undefined"&&typeof frmProForm.submitAllowed==="function")if(!frmProForm.submitAllowed(object))return;if(invisibleRecaptcha.length){showLoadingIndicator(jQuery(object));executeInvisibleRecaptcha(invisibleRecaptcha)}else{errors=frmFrontForm.validateFormSubmit(object);if(Object.keys(errors).length===0){showSubmitLoading(jQuery(object));frmFrontForm.submitFormNow(object,classList)}}},submitFormNow:function(object){var hasFileFields,classList=object.className.trim().split(/\s+/gi);
42
+ if(classList.indexOf("frm_ajax_submit")>-1){hasFileFields=jQuery(object).find('input[type="file"]').filter(function(){return!!this.value}).length;if(hasFileFields<1){action=jQuery(object).find('input[name="frm_action"]').val();frmFrontForm.checkFormErrors(object,action)}else object.submit()}else object.submit()},validateFormSubmit:function(object){if(typeof tinyMCE!=="undefined"&&jQuery(object).find(".wp-editor-wrap").length)tinyMCE.triggerSave();jsErrors=[];if(shouldJSValidate(object)){frmFrontForm.getAjaxFormErrors(object);
43
+ if(Object.keys(jsErrors).length)frmFrontForm.addAjaxFormErrors(object)}return jsErrors},getAjaxFormErrors:function(object){var customErrors,key;jsErrors=validateForm(object);if(typeof frmThemeOverride_jsErrors==="function"){action=jQuery(object).find('input[name="frm_action"]').val();customErrors=frmThemeOverride_jsErrors(action,object);if(Object.keys(customErrors).length)for(key in customErrors)jsErrors[key]=customErrors[key]}return jsErrors},addAjaxFormErrors:function(object){var key,$fieldCont;
44
+ removeAllErrors();for(key in jsErrors){$fieldCont=jQuery(object).find("#frm_field_"+key+"_container");if($fieldCont.length)addFieldError($fieldCont,key,jsErrors);else delete jsErrors[key]}scrollToFirstField(object)},checkFormErrors:function(object,action){getFormErrors(object,action)},checkRequiredField:function(field,errors){return checkRequiredField(field,errors)},showSubmitLoading:function($object){showSubmitLoading($object)},removeSubmitLoading:function($object,enable,processesRunning){removeSubmitLoading($object,
45
+ enable,processesRunning)},scrollToID:function(id){var object=jQuery(document.getElementById(id));frmFrontForm.scrollMsg(object,false)},scrollMsg:function(id,object,animate){var newPos,m,b,screenTop,screenBottom,scrollObj="";if(typeof object==="undefined"){scrollObj=jQuery(document.getElementById("frm_form_"+id+"_container"));if(scrollObj.length<1)return}else if(typeof id==="string")scrollObj=jQuery(object).find("#frm_field_"+id+"_container");else scrollObj=id;newPos=scrollObj.offset().top;if(!newPos||
46
+ frm_js.offset==="-1")return;newPos=newPos-frm_js.offset;m=jQuery("html").css("margin-top");b=jQuery("body").css("margin-top");if(m||b)newPos=newPos-parseInt(m)-parseInt(b);if(newPos&&window.innerHeight){screenTop=document.documentElement.scrollTop||document.body.scrollTop;screenBottom=screenTop+window.innerHeight;if(newPos>screenBottom||newPos<screenTop){if(typeof animate==="undefined")jQuery(window).scrollTop(newPos);else jQuery("html,body").animate({scrollTop:newPos},500);return false}}},fieldValueChanged:function(e){var fieldId=
47
+ frmFrontForm.getFieldId(this,false);if(!fieldId||typeof fieldId==="undefined")return;if(e.frmTriggered&&e.frmTriggered==fieldId)return;jQuery(document).trigger("frmFieldChanged",[this,fieldId,e]);if(e.selfTriggered!==true)maybeValidateChange(fieldId,this)},savingDraft:function(object){console.warn("DEPRECATED: function frmFrontForm.savingDraft in v3.0 use frmProForm.savingDraft");if(typeof frmProForm!=="undefined")return frmProForm.savingDraft(object)},goingToPreviousPage:function(object){console.warn("DEPRECATED: function frmFrontForm.goingToPreviousPage in v3.0 use frmProForm.goingToPreviousPage");
48
+ if(typeof frmProForm!=="undefined")return frmProForm.goingToPreviousPage(object)},hideOrShowFields:function(){console.warn("DEPRECATED: function frmFrontForm.hideOrShowFields in v3.0 use frmProForm.hideOrShowFields");if(typeof frmProForm!=="undefined")frmProForm.hideOrShowFields()},hidePreviouslyHiddenFields:function(){console.warn("DEPRECATED: function frmFrontForm.hidePreviouslyHiddenFields in v3.0 use frmProForm.hidePreviouslyHiddenFields");if(typeof frmProForm!=="undefined")frmProForm.hidePreviouslyHiddenFields()},
49
+ checkDependentDynamicFields:function(ids){console.warn("DEPRECATED: function frmFrontForm.checkDependentDynamicFields in v3.0 use frmProForm.checkDependentDynamicFields");if(typeof frmProForm!=="undefined")frmProForm.checkDependentDynamicFields(ids)},checkDependentLookupFields:function(ids){console.warn("DEPRECATED: function frmFrontForm.checkDependentLookupFields in v3.0 use frmProForm.checkDependentLookupFields");if(typeof frmProForm!=="undefined")frmProForm.checkDependentLookupFields(ids)},loadGoogle:function(){console.warn("DEPRECATED: function frmFrontForm.loadGoogle in v3.0 use frmProForm.loadGoogle");
50
+ frmProForm.loadGoogle()},escapeHtml:function(text){return text.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},invisible:function(classes){jQuery(classes).css("visibility","hidden")},visible:function(classes){jQuery(classes).css("visibility","visible")}}}frmFrontForm=frmFrontFormJS();jQuery(document).ready(function(){frmFrontForm.init()});
51
+ function frmRecaptcha(){var c,cl,captchas=jQuery(".frm-g-recaptcha");for(c=0,cl=captchas.length;c<cl;c++)frmFrontForm.renderRecaptcha(captchas[c])}function frmAfterRecaptcha(token){frmFrontForm.afterSingleRecaptcha(token)}
52
  function frmUpdateField(entryId,fieldId,value,message,num){jQuery(document.getElementById("frm_update_field_"+entryId+"_"+fieldId+"_"+num)).html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_update_field_ajax",entry_id:entryId,field_id:fieldId,value:value,nonce:frm_js.nonce},success:function(){if(message.replace(/^\s+|\s+$/g,"")==="")jQuery(document.getElementById("frm_update_field_"+entryId+"_"+fieldId+"_"+num)).fadeOut("slow");else jQuery(document.getElementById("frm_update_field_"+
53
  entryId+"_"+fieldId+"_"+num)).replaceWith(message)}})}
54
  function frmDeleteEntry(entryId,prefix){console.warn("DEPRECATED: function frmDeleteEntry in v2.0.13 use frmFrontForm.deleteEntry");jQuery(document.getElementById("frm_delete_"+entryId)).replaceWith('<span class="frm-loading-img" id="frm_delete_'+entryId+'"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_destroy",entry:entryId,nonce:frm_js.nonce},success:function(html){if(html.replace(/^\s+|\s+$/g,"")==="success")jQuery(document.getElementById(prefix+entryId)).fadeOut("slow");
js/formidable_admin.js CHANGED
@@ -3457,6 +3457,20 @@ function frmAdminBuildJS() {
3457
  });
3458
  }
3459
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3460
  function checkActiveAction( type ) {
3461
  var limit = parseInt( jQuery( '.frm_' + type + '_action' ).data( 'limit' ), 10 );
3462
  var len = jQuery( '.frm_single_' + type + '_settings' ).length;
@@ -5353,6 +5367,9 @@ function frmAdminBuildJS() {
5353
  } else if ( document.getElementById( 'frm_dyncontent' ) !== null ) {
5354
  // only load on views settings page
5355
  frmAdminBuild.viewInit();
 
 
 
5356
  } else {
5357
  // New form selection page
5358
  initNewFormModal();
@@ -5552,6 +5569,7 @@ function frmAdminBuildJS() {
5552
  //BCC, CC, and Reply To button functionality
5553
  $formActions.on( 'click', '.frm_email_buttons', showEmailRow );
5554
  $formActions.on( 'click', '.frm_remove_field', hideEmailRow );
 
5555
  $formActions.on( 'change', '.frm_tax_selector', changePosttaxRow );
5556
  $formActions.on( 'change', 'select.frm_single_post_field', checkDupPost );
5557
  $formActions.on( 'change', 'select.frm_toggle_post_content', togglePostContent );
@@ -5798,6 +5816,31 @@ function frmAdminBuildJS() {
5798
  setDefaultPostStatus();
5799
  },
5800
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5801
  styleInit: function() {
5802
  collapseAllSections();
5803
 
3457
  });
3458
  }
3459
 
3460
+ function showEmailWarning() {
3461
+ /*jshint validthis:true */
3462
+ var actionBox = jQuery( this ).closest( '.frm_form_action_settings' ),
3463
+ emailRowSelector = '.frm_from_to_match_row',
3464
+ fromVal = actionBox.find( 'input[name$="[post_content][from]"]' ).val(),
3465
+ toVal = actionBox.find( 'input[name$="[post_content][email_to]"]' ).val();
3466
+
3467
+ if ( fromVal === toVal ) {
3468
+ jQuery( actionBox ).find( emailRowSelector ).fadeIn( 'slow' );
3469
+ } else {
3470
+ jQuery( actionBox ).find( emailRowSelector ).fadeOut( 'slow' );
3471
+ }
3472
+ }
3473
+
3474
  function checkActiveAction( type ) {
3475
  var limit = parseInt( jQuery( '.frm_' + type + '_action' ).data( 'limit' ), 10 );
3476
  var len = jQuery( '.frm_single_' + type + '_settings' ).length;
5367
  } else if ( document.getElementById( 'frm_dyncontent' ) !== null ) {
5368
  // only load on views settings page
5369
  frmAdminBuild.viewInit();
5370
+ } else if ( document.getElementById( 'frm_inbox_page' ) !== null ) {
5371
+ // Inbox page
5372
+ frmAdminBuild.inboxInit();
5373
  } else {
5374
  // New form selection page
5375
  initNewFormModal();
5569
  //BCC, CC, and Reply To button functionality
5570
  $formActions.on( 'click', '.frm_email_buttons', showEmailRow );
5571
  $formActions.on( 'click', '.frm_remove_field', hideEmailRow );
5572
+ $formActions.on( 'change', '.frm_to_row, .frm_from_row', showEmailWarning );
5573
  $formActions.on( 'change', '.frm_tax_selector', changePosttaxRow );
5574
  $formActions.on( 'change', 'select.frm_single_post_field', checkDupPost );
5575
  $formActions.on( 'change', 'select.frm_toggle_post_content', togglePostContent );
5816
  setDefaultPostStatus();
5817
  },
5818
 
5819
+ inboxInit: function() {
5820
+ jQuery( '.frm_inbox_dismiss, footer .frm-button-secondary, footer .frm-button-primary' ).click( function( e ) {
5821
+ var message = this.parentNode.parentNode,
5822
+ key = message.getAttribute( 'data-message' ),
5823
+ href = this.getAttribute( 'href' );
5824
+
5825
+ e.preventDefault();
5826
+
5827
+ data = {
5828
+ action: 'frm_inbox_dismiss',
5829
+ key: key,
5830
+ nonce: frmGlobal.nonce
5831
+ };
5832
+ postAjax( data, function() {
5833
+ if ( href !== '#' ) {
5834
+ window.location = href;
5835
+ return true;
5836
+ }
5837
+ fadeOut( message, function() {
5838
+ message.parentNode.removeChild( message );
5839
+ });
5840
+ });
5841
+ });
5842
+ },
5843
+
5844
  styleInit: function() {
5845
  collapseAllSections();
5846
 
js/formidable_blocks.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAttribute=function(e,t,n){n(function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,t))},t.setTextAttribute=function(e,t){if(e)return" "+t+'="'+e+'"';return""},t.getSubDir=function(){var e=window.location.pathname,t=e.indexOf("wp-admin"),n="/";t>-1&&(n=e.substr(0,t));return n};t.cssHideAdvancedSettings="\n .components-panel__body.editor-block-inspector__advanced {\n display:none;\n }\n"},function(e,t,n){e.exports=n(7)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){return i(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return wp.element.createElement("div",null,"[formidable",(e=this.props,t=e.formId,n=e.title,r=e.description,i=e.minimize,l="",l+=(0,o.setTextAttribute)(t,"id"),l+=(0,o.setTextAttribute)(n,"title"),l+=(0,o.setTextAttribute)(r,"description"),l+=(0,o.setTextAttribute)(i,"minimize")),"]");var e,t,n,r,i,l}}]),t}(wp.element.Component);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(9)),i=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=wp.i18n.__,f=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this.props,t=e.formId,n=e.setAttributes,r=e.forms;return wp.element.createElement(o.default,{selected:t,itemName:c("form","formidable"),itemNamePlural:c("forms","formidable"),items:r,onChange:function(e){n({formId:e})}})}}]),t}(wp.element.Component);t.default=f,f.propTypes={formId:i.default.string,setAttributes:i.default.func.isRequired}},function(e,t,n){"use strict";n(5)},function(e,t,n){"use strict";var r=u(n(2)),o=u(n(6)),i=u(n(10)),l=u(n(3)),a=n(0);function u(e){return e&&e.__esModule?e:{default:e}}var c=wp.element.Fragment,f=wp.i18n.__,s=wp.blocks.registerBlockType,p=wp.components,m=p.ServerSideRender,b=p.Notice;s("formidable/simple-form",{title:formidable_form_selector.name,description:f("Display a Form","formidable"),icon:i.default,category:"widgets",keywords:[f("contact forms","formidable"),"formidable"],edit:function(e){var t=e.setAttributes,n=e.attributes,r=e.isSelected,u=n.formId,s=formidable_form_selector.forms;return 0===s.length?wp.element.createElement(b,{status:"warning",isDismissible:!1},f("This site does not have any forms.","formidable")):u?wp.element.createElement(c,null,wp.element.createElement(o.default,{attributes:n,setAttributes:t,forms:s}),r&&wp.element.createElement("style",null,a.cssHideAdvancedSettings),wp.element.createElement(m,{block:"formidable/simple-form",attributes:n})):wp.element.createElement("div",{className:"frm-block-intro-screen"},wp.element.createElement("div",{className:"frm-block-intro-content"},wp.element.createElement(i.default,null),wp.element.createElement("div",{className:"frm-block-title"},formidable_form_selector.name),wp.element.createElement("div",{className:"frm-block-selector-screen"},wp.element.createElement(l.default,{formId:u,setAttributes:t,forms:s}))))},save:function(e){var t=e.attributes;return void 0===t.formId?"":wp.element.createElement(c,null,wp.element.createElement(r.default,t))}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(1)),i=u(n(3)),l=u(n(2)),a=n(0);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=wp.i18n.__,p=wp.element.Component,m=wp.editor.InspectorControls,b=wp.components,d=b.PanelBody,y=b.PanelRow,w=b.ToggleControl,h=b.ExternalLink,_=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this.props,t=e.setAttributes,n=e.attributes,r=e.forms,o=n.formId,u=n.title,c=n.description,f=n.minimize;return wp.element.createElement(m,null,wp.element.createElement(d,{title:s("Select Form","formidable"),initialOpen:!0},wp.element.createElement(y,null,wp.element.createElement(i.default,{formId:o,setAttributes:t,forms:r})),o&&wp.element.createElement(y,null,wp.element.createElement(h,{href:(0,a.getSubDir)()+"wp-admin/admin.php?page=formidable&frm_action=edit&id="+o},s("Go to form","formidable")))),wp.element.createElement(d,{title:s("Options","formidable"),initialOpen:!1},wp.element.createElement(w,{label:s("Show Form Title","formidable"),checked:u,onChange:function(e){(0,a.updateAttribute)("title",e?"1":"",t)}}),wp.element.createElement(w,{label:s("Show Form Description","formidable"),checked:c,onChange:function(e){(0,a.updateAttribute)("description",e?"1":"",t)}}),wp.element.createElement(w,{label:s("Minimize HTML","formidable"),checked:f,onChange:function(e){(0,a.updateAttribute)("minimize",e?"1":"",t)}})),wp.element.createElement(d,{title:s("Shortcode","formidable"),initialOpen:!1},wp.element.createElement(y,null,wp.element.createElement(l.default,this.props.attributes))))}}]),t}(p);t.default=_,_.propTypes={attributes:o.default.object,setAttributes:o.default.func}},function(e,t,n){"use strict";var r=n(8);function o(){}e.exports=function(){function e(e,t,n,o,i,l){if(l!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=o,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),l=(r=i)&&r.__esModule?r:{default:r};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=wp.i18n,f=c.__,s=c.sprintf,p=wp.element.Component,m=wp.components.SelectControl,b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"createOptions",value:function(e,t){var n=e.map((function(e){return{label:e.label,value:e.value}}));return[{label:s(f("Select a %s","formidable"),t),value:""}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n))}},{key:"render",value:function(){var e=this.props,t=e.selected,n=e.items,r=e.onChange,o=e.itemName,i=e.itemNamePlural,l=e.label,a=e.help;return n&&0!==n.length?wp.element.createElement(m,{value:t,options:this.createOptions(n,o),label:l,help:a,onChange:r}):wp.element.createElement("p",{className:"frm-block-select-no-items"},s(f("Currently, there are no %s","formidable"),i))}}]),t}(p);t.default=b,b.defaultProps={itemName:"item",itemNamePlural:"items"},b.propTypes={selected:l.default.oneOfType([l.default.string,l.default.number]),items:l.default.array,onChange:l.default.func,itemName:l.default.string,itemNamePlural:l.default.string,label:l.default.string,help:l.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=wp.element.Component,a=wp.components.Dashicon,u=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return"svg"!==formidable_form_selector.icon?wp.element.createElement(a,{icon:formidable_form_selector.icon,size:"120"}):wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 599.68 601.37",width:"120",height:"120"},wp.element.createElement("path",{className:"cls-1 orange",d:"M289.6 384h140v76h-140z"}),wp.element.createElement("path",{className:"cls-1",d:"M400.2 147h-200c-17 0-30.6 12.2-30.6 29.3V218h260v-71zM397.9 264H169.6v196h75V340H398a32.2 32.2 0 0 0 30.1-21.4 24.3 24.3 0 0 0 1.7-8.7V264z"}),wp.element.createElement("path",{className:"cls-1",d:"M299.8 601.4A300.3 300.3 0 0 1 0 300.7a299.8 299.8 0 1 1 511.9 212.6 297.4 297.4 0 0 1-212 88zm0-563A262 262 0 0 0 38.3 300.7a261.6 261.6 0 1 0 446.5-185.5 259.5 259.5 0 0 0-185-76.8z"}))}}]),t}(l);t.default=u}]);
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAttribute=function(e,t,n){n(function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,t))},t.setTextAttribute=function(e,t){if(e)return" "+t+'="'+e+'"';return""},t.getSubDir=function(){var e=window.location.pathname,t=e.indexOf("wp-admin"),n="/";t>-1&&(n=e.substr(0,t));return n};t.cssHideAdvancedSettings="\n .components-panel__body.editor-block-inspector__advanced {\n display:none;\n }\n"},function(e,t,n){e.exports=n(8)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){return i(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return wp.element.createElement("div",null,"[formidable",(e=this.props,t=e.formId,n=e.title,r=e.description,i=e.minimize,l="",l+=(0,o.setTextAttribute)(t,"id"),l+=(0,o.setTextAttribute)(n,"title"),l+=(0,o.setTextAttribute)(r,"description"),l+=(0,o.setTextAttribute)(i,"minimize")),"]");var e,t,n,r,i,l}}]),t}(wp.element.Component);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(10)),i=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=wp.i18n.__,s=function(e){function t(){return a(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this.props,t=e.formId,n=e.setAttributes,r=e.forms;return wp.element.createElement(o.default,{selected:t,itemName:u("form","formidable"),itemNamePlural:u("forms","formidable"),items:r,onChange:function(e){n({formId:e})}})}}]),t}(wp.element.Component);t.default=s,s.propTypes={formId:i.default.string,setAttributes:i.default.func.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=wp.element.Component,a=wp.components.Dashicon,c=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return"svg"!==formidable_form_selector.icon?wp.element.createElement(a,{icon:formidable_form_selector.icon,size:"120"}):wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 599.68 601.37",width:"120",height:"120"},wp.element.createElement("path",{className:"cls-1 orange",d:"M289.6 384h140v76h-140z"}),wp.element.createElement("path",{className:"cls-1",d:"M400.2 147h-200c-17 0-30.6 12.2-30.6 29.3V218h260v-71zM397.9 264H169.6v196h75V340H398a32.2 32.2 0 0 0 30.1-21.4 24.3 24.3 0 0 0 1.7-8.7V264z"}),wp.element.createElement("path",{className:"cls-1",d:"M299.8 601.4A300.3 300.3 0 0 1 0 300.7a299.8 299.8 0 1 1 511.9 212.6 297.4 297.4 0 0 1-212 88zm0-563A262 262 0 0 0 38.3 300.7a261.6 261.6 0 1 0 446.5-185.5 259.5 259.5 0 0 0-185-76.8z"}))}}]),t}(l);t.default=c},function(e,t,n){"use strict";n(6),n(11)},function(e,t,n){"use strict";var r=c(n(2)),o=c(n(7)),i=c(n(4)),l=c(n(3)),a=n(0);function c(e){return e&&e.__esModule?e:{default:e}}var u=wp.element.Fragment,s=wp.i18n.__,f=wp.blocks.registerBlockType,p=wp.components,m=p.ServerSideRender,d=p.Notice;f("formidable/simple-form",{title:formidable_form_selector.name,description:s("Display a Form","formidable"),icon:i.default,category:"widgets",keywords:[s("contact forms","formidable"),"formidable"],edit:function(e){var t=e.setAttributes,n=e.attributes,r=e.isSelected,c=n.formId,f=formidable_form_selector.forms;return 0===f.length?wp.element.createElement(d,{status:"warning",isDismissible:!1},s("This site does not have any forms.","formidable")):c?wp.element.createElement(u,null,wp.element.createElement(o.default,{attributes:n,setAttributes:t,forms:f}),r&&wp.element.createElement("style",null,a.cssHideAdvancedSettings),wp.element.createElement(m,{block:"formidable/simple-form",attributes:n})):wp.element.createElement("div",{className:"frm-block-intro-screen"},wp.element.createElement("div",{className:"frm-block-intro-content"},wp.element.createElement(i.default,null),wp.element.createElement("div",{className:"frm-block-title"},formidable_form_selector.name),wp.element.createElement("div",{className:"frm-block-selector-screen"},wp.element.createElement(l.default,{formId:c,setAttributes:t,forms:f}))))},save:function(e){var t=e.attributes;return void 0===t.formId?"":wp.element.createElement(u,null,wp.element.createElement(r.default,t))}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(1)),i=c(n(3)),l=c(n(2)),a=n(0);function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var f=wp.i18n.__,p=wp.element.Component,m=wp.editor.InspectorControls,d=wp.components,b=d.PanelBody,y=d.PanelRow,w=d.ToggleControl,h=d.ExternalLink,v=function(e){function t(){return u(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this.props,t=e.setAttributes,n=e.attributes,r=e.forms,o=n.formId,c=n.title,u=n.description,s=n.minimize;return wp.element.createElement(m,null,wp.element.createElement(b,{title:f("Select Form","formidable"),initialOpen:!0},wp.element.createElement(y,null,wp.element.createElement(i.default,{formId:o,setAttributes:t,forms:r})),o&&wp.element.createElement(y,null,wp.element.createElement(h,{href:(0,a.getSubDir)()+"wp-admin/admin.php?page=formidable&frm_action=edit&id="+o},f("Go to form","formidable")))),wp.element.createElement(b,{title:f("Options","formidable"),initialOpen:!1},wp.element.createElement(w,{label:f("Show Form Title","formidable"),checked:c,onChange:function(e){(0,a.updateAttribute)("title",e?"1":"",t)}}),wp.element.createElement(w,{label:f("Show Form Description","formidable"),checked:u,onChange:function(e){(0,a.updateAttribute)("description",e?"1":"",t)}}),wp.element.createElement(w,{label:f("Minimize HTML","formidable"),checked:s,onChange:function(e){(0,a.updateAttribute)("minimize",e?"1":"",t)}})),wp.element.createElement(b,{title:f("Shortcode","formidable"),initialOpen:!1},wp.element.createElement(y,null,wp.element.createElement(l.default,this.props.attributes))))}}]),t}(p);t.default=v,v.propTypes={attributes:o.default.object,setAttributes:o.default.func}},function(e,t,n){"use strict";var r=n(9);function o(){}e.exports=function(){function e(e,t,n,o,i,l){if(l!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=o,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),l=(r=i)&&r.__esModule?r:{default:r};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var u=wp.i18n,s=u.__,f=u.sprintf,p=wp.element.Component,m=wp.components.SelectControl,d=function(e){function t(){return a(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"createOptions",value:function(e,t){var n=e.map((function(e){return{label:e.label,value:e.value}}));return[{label:f(s("Select a %s","formidable"),t),value:""}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n))}},{key:"render",value:function(){var e=this.props,t=e.selected,n=e.items,r=e.onChange,o=e.itemName,i=e.itemNamePlural,l=e.label,a=e.help;return n&&0!==n.length?wp.element.createElement(m,{value:t,options:this.createOptions(n,o),label:l,help:a,onChange:r}):wp.element.createElement("p",{className:"frm-block-select-no-items"},f(s("Currently, there are no %s","formidable"),i))}}]),t}(p);t.default=d,d.defaultProps={itemName:"item",itemNamePlural:"items"},d.propTypes={selected:l.default.oneOfType([l.default.string,l.default.number]),items:l.default.array,onChange:l.default.func,itemName:l.default.string,itemNamePlural:l.default.string,label:l.default.string,help:l.default.string}},function(e,t,n){"use strict";var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r};var l=wp.i18n.__,a=wp.blocks.registerBlockType,c=wp.components.Notice,u=wp.element.createElement("svg",{width:20,height:20},wp.element.createElement("path",{d:"M16.9 0H3a2 2 0 0 0-1.9 1.9V18a2 2 0 0 0 2 1.9h13.7a2 2 0 0 0 1.9-1.9V2a2 2 0 0 0-2-1.9zm0 18.1H3v-10H17v10zm0-11.9H3V2H17v4.3zM5.5 12.6H7c.3 0 .5-.3.5-.5v-1.5c0-.3-.3-.5-.5-.5H5.5c-.3 0-.5.3-.5.5V12c0 .3.3.5.5.5zm7.5 3.8h1.5c.3 0 .5-.3.5-.6v-5.2c0-.3-.3-.5-.5-.5H13c-.3 0-.5.3-.5.5v5.3c0 .2.3.4.5.4zm-7.5 0H7c.3 0 .5-.3.5-.6v-1.4c0-.3-.3-.6-.5-.6H5.5c-.3 0-.5.3-.5.6v1.4c0 .3.3.6.5.6zm3.8-3.8h1.4c.3 0 .6-.3.6-.5v-1.5c0-.3-.3-.5-.6-.5H9.3c-.3 0-.6.3-.6.5V12c0 .3.3.5.6.5zm0 3.8h1.4c.3 0 .6-.3.6-.6v-1.4c0-.3-.3-.6-.6-.6H9.3c-.3 0-.6.3-.6.6v1.4c0 .3.3.6.6.6z"}));a("formidable/calculator",{title:l("Calculator Form","formidable"),description:l("Display a Calculator Form","formidable"),icon:u,category:"widgets",keywords:["calculation","formidable"],edit:function(e){e.setAttributes,e.attributes.formId;return 0===formidable_form_selector.forms.length?wp.element.createElement(c,{status:"warning",isDismissible:!1},l("This site does not have any forms.","formidable")):wp.element.createElement("div",{className:"frm-block-intro-screen"},wp.element.createElement("div",{className:"frm-block-intro-content"},wp.element.createElement(i.default,null),wp.element.createElement("div",{className:"frm-block-title"},l("Calculator Form","formidable")),wp.element.createElement("div",{className:"frm-block-selector-screen frm_pro_tip"},wp.element.createElement(c,{status:"warning",isDismissible:!1},l("This site does not have any calculator forms.","formidable"),wp.element.createElement("br",null),wp.element.createElement("a",{href:formidable_form_selector.link,target:"_blank"},l("Upgrade Formidable Forms.","formidable"))))))}})}]);
languages/formidable-js-strings.php CHANGED
@@ -14,8 +14,21 @@ $generated_i18n_strings = array(
14
  __( 'contact forms', 'formidable' ),
15
 
16
  // Reference: js/src/form/block.js:35
 
17
  __( 'This site does not have any forms.', 'formidable' ),
18
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  // Reference: js/src/form/formselect.js:23
20
  __( 'form', 'formidable' ),
21
 
14
  __( 'contact forms', 'formidable' ),
15
 
16
  // Reference: js/src/form/block.js:35
17
+ // Reference: js/src/form/calculator.js:43
18
  __( 'This site does not have any forms.', 'formidable' ),
19
 
20
+ // Reference: js/src/form/calculator.js:27
21
+ __( 'Display a Calculator Form', 'formidable' ),
22
+
23
+ // Reference: js/src/form/calculator.js:52
24
+ __( 'Calculator Form', 'formidable' ),
25
+
26
+ // Reference: js/src/form/calculator.js:55
27
+ __( 'This site does not have any calculator forms.', 'formidable' ),
28
+
29
+ // Reference: js/src/form/calculator.js:58
30
+ __( 'Upgrade Formidable Forms.', 'formidable' ),
31
+
32
  // Reference: js/src/form/formselect.js:23
33
  __( 'form', 'formidable' ),
34
 
languages/formidable.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Formidable Forms plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Formidable Forms 4.04.05\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/formidable\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2020-05-28T00:31:36+02:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.1.0\n"
15
  "X-Domain: formidable\n"
@@ -35,53 +35,74 @@ msgid "contact forms"
35
  msgstr ""
36
 
37
  #: js/src/form/block.js:35
38
- #: languages/formidable-js-strings.php:17
 
39
  msgid "This site does not have any forms."
40
  msgstr ""
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  #: js/src/form/formselect.js:23
43
- #: languages/formidable-js-strings.php:20
44
  msgid "form"
45
  msgstr ""
46
 
47
  #: js/src/form/formselect.js:24
48
- #: languages/formidable-js-strings.php:23
49
  msgid "forms"
50
  msgstr ""
51
 
52
  #: js/src/form/inspector.js:43
53
- #: languages/formidable-js-strings.php:26
54
  msgid "Select Form"
55
  msgstr ""
56
 
57
  #: js/src/form/inspector.js:57
58
- #: languages/formidable-js-strings.php:29
59
  msgid "Go to form"
60
  msgstr ""
61
 
62
  #: js/src/form/inspector.js:62
63
  #: classes/views/frm-forms/shortcode_opts.php:12
64
- #: languages/formidable-js-strings.php:32
65
  msgid "Options"
66
  msgstr ""
67
 
68
  #: js/src/form/inspector.js:66
69
- #: languages/formidable-js-strings.php:35
70
  msgid "Show Form Title"
71
  msgstr ""
72
 
73
  #: js/src/form/inspector.js:73
74
- #: languages/formidable-js-strings.php:38
75
  msgid "Show Form Description"
76
  msgstr ""
77
 
78
  #: js/src/form/inspector.js:80
79
- #: languages/formidable-js-strings.php:41
80
  msgid "Minimize HTML"
81
  msgstr ""
82
 
83
  #: js/src/form/inspector.js:88
84
- #: languages/formidable-js-strings.php:44
85
  msgid "Shortcode"
86
  msgstr ""
87
 
@@ -242,6 +263,7 @@ msgstr ""
242
 
243
  #: classes/models/FrmField.php:34
244
  #: classes/controllers/FrmFormsController.php:1166
 
245
  msgid "Email"
246
  msgstr ""
247
 
@@ -381,6 +403,25 @@ msgstr ""
381
  msgid "Total"
382
  msgstr ""
383
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  #: classes/models/FrmDb.php:444
385
  msgid "Use the query in an array format so it can be properly prepared."
386
  msgstr ""
@@ -464,7 +505,7 @@ msgstr ""
464
  #: classes/models/fields/FrmFieldType.php:570
465
  #: classes/helpers/FrmFieldsHelper.php:167
466
  #: classes/helpers/FrmFieldsHelper.php:296
467
- #: classes/helpers/FrmXMLHelper.php:1099
468
  msgid "%s is invalid"
469
  msgstr ""
470
 
@@ -552,7 +593,7 @@ msgstr ""
552
  #. translators: %1$s - field type
553
  #. translators: %1$s: Number of items
554
  #: classes/models/FrmFormMigrator.php:581
555
- #: classes/helpers/FrmXMLHelper.php:981
556
  msgid "%1$s Field"
557
  msgid_plural "%1$s Fields"
558
  msgstr[0] ""
@@ -586,7 +627,7 @@ msgstr ""
586
  #: classes/controllers/FrmAddonsController.php:19
587
  #: classes/controllers/FrmAddonsController.php:20
588
  #: classes/views/frm-fields/back-end/smart-values.php:11
589
- #: classes/helpers/FrmFormsHelper.php:1277
590
  msgid "Upgrade"
591
  msgstr ""
592
 
@@ -599,7 +640,7 @@ msgid "Installed"
599
  msgstr ""
600
 
601
  #: classes/controllers/FrmAddonsController.php:484
602
- #: classes/helpers/FrmAppHelper.php:2257
603
  msgid "Active"
604
  msgstr ""
605
 
@@ -619,19 +660,19 @@ msgstr ""
619
  msgid "Your plugin has been activated. Please reload the page to see more options."
620
  msgstr ""
621
 
622
- #: classes/controllers/FrmAppController.php:144
623
  msgid "Build"
624
  msgstr ""
625
 
626
- #: classes/controllers/FrmAppController.php:151
627
  #: classes/views/frm-forms/settings.php:8
628
  #: classes/views/frm-settings/form.php:9
629
  #: classes/helpers/FrmFormsListHelper.php:304
630
  msgid "Settings"
631
  msgstr ""
632
 
633
- #: classes/controllers/FrmAppController.php:158
634
- #: classes/controllers/FrmXMLController.php:134
635
  #: classes/controllers/FrmFormsController.php:729
636
  #: classes/controllers/FrmEntriesController.php:8
637
  #: classes/controllers/FrmEntriesController.php:90
@@ -639,57 +680,58 @@ msgstr ""
639
  msgid "Entries"
640
  msgstr ""
641
 
642
- #: classes/controllers/FrmAppController.php:169
643
- #: classes/controllers/FrmAppController.php:175
644
  msgid "Views"
645
  msgstr ""
646
 
647
- #: classes/controllers/FrmAppController.php:181
648
- #: classes/controllers/FrmAppController.php:187
649
  msgid "Reports"
650
  msgstr ""
651
 
652
- #: classes/controllers/FrmAppController.php:203
653
  msgid "Build a Form"
654
  msgstr ""
655
 
656
- #: classes/controllers/FrmXMLController.php:7
657
  #: classes/views/xml/import_form.php:5
658
  msgid "Import/Export"
659
  msgstr ""
660
 
661
- #: classes/controllers/FrmXMLController.php:49
662
  msgid "There was an error reading the form template"
663
  msgstr ""
664
 
665
- #: classes/controllers/FrmXMLController.php:69
666
  msgid "There was an error importing form"
667
  msgstr ""
668
 
669
- #: classes/controllers/FrmXMLController.php:133
 
670
  #: classes/controllers/FrmFormsController.php:6
671
  #: classes/controllers/FrmFormsController.php:739
672
  #: classes/views/frm-forms/list.php:5
673
  msgid "Forms"
674
  msgstr ""
675
 
676
- #: classes/controllers/FrmXMLController.php:169
677
  msgid "Oops, you didn't select a file."
678
  msgstr ""
679
 
680
- #: classes/controllers/FrmXMLController.php:180
681
  msgid "The file does not exist, please try again."
682
  msgstr ""
683
 
684
- #: classes/controllers/FrmXMLController.php:209
685
  msgid "XML import is not enabled on your server with the libxml_disable_entity_loader function."
686
  msgstr ""
687
 
688
- #: classes/controllers/FrmXMLController.php:417
689
  msgid "Please select a form"
690
  msgstr ""
691
 
692
- #: classes/controllers/FrmXMLController.php:474
693
  msgid "There are no entries for that form."
694
  msgstr ""
695
 
@@ -807,6 +849,15 @@ msgstr ""
807
  msgid "Analyze form data with graphs & stats"
808
  msgstr ""
809
 
 
 
 
 
 
 
 
 
 
810
  #: classes/controllers/FrmSMTPController.php:99
811
  msgid "SMTP"
812
  msgstr ""
@@ -872,8 +923,8 @@ msgstr ""
872
  #: classes/views/addons/list.php:74
873
  #: classes/views/addons/list.php:75
874
  #: classes/views/shared/upgrade_overlay.php:27
875
- #: classes/helpers/FrmFormMigratorsHelper.php:133
876
- #: classes/helpers/FrmAppHelper.php:2256
877
  msgid "Install"
878
  msgstr ""
879
 
@@ -902,6 +953,7 @@ msgstr ""
902
  #: classes/controllers/FrmStylesController.php:17
903
  #: classes/controllers/FrmStylesController.php:35
904
  #: classes/controllers/FrmStylesController.php:47
 
905
  msgid "Styles"
906
  msgstr ""
907
 
@@ -928,21 +980,21 @@ msgstr ""
928
  msgid "Edit Style"
929
  msgstr ""
930
 
931
- #: classes/controllers/FrmStylesController.php:225
932
- #: classes/controllers/FrmStylesController.php:329
933
  msgid "Your styling settings have been saved."
934
  msgstr ""
935
 
936
- #: classes/controllers/FrmStylesController.php:286
937
  msgid "Your form styles have been saved."
938
  msgstr ""
939
 
940
- #: classes/controllers/FrmStylesController.php:389
941
  #: classes/controllers/FrmFormsController.php:953
942
  msgid "General"
943
  msgstr ""
944
 
945
- #: classes/controllers/FrmStylesController.php:390
946
  #: classes/controllers/FrmFormsController.php:728
947
  #: classes/views/frm-forms/settings-advanced.php:8
948
  #: classes/views/xml/import_form.php:113
@@ -951,7 +1003,7 @@ msgstr ""
951
  msgid "Form Title"
952
  msgstr ""
953
 
954
- #: classes/controllers/FrmStylesController.php:391
955
  #: classes/views/frm-forms/new-form-overlay.php:16
956
  #: classes/views/frm-forms/new-form-overlay.php:17
957
  #: classes/views/frm-forms/settings-advanced.php:22
@@ -959,33 +1011,34 @@ msgstr ""
959
  msgid "Form Description"
960
  msgstr ""
961
 
962
- #: classes/controllers/FrmStylesController.php:392
963
  msgid "Field Labels"
964
  msgstr ""
965
 
966
- #: classes/controllers/FrmStylesController.php:393
967
  #: classes/views/frm-fields/back-end/field-description.php:3
968
  #: classes/helpers/FrmFormsHelper.php:469
969
  msgid "Field Description"
970
  msgstr ""
971
 
972
- #: classes/controllers/FrmStylesController.php:394
973
  msgid "Field Colors"
974
  msgstr ""
975
 
976
- #: classes/controllers/FrmStylesController.php:395
977
  msgid "Field Settings"
978
  msgstr ""
979
 
980
- #: classes/controllers/FrmStylesController.php:396
981
  msgid "Check Box & Radio Fields"
982
  msgstr ""
983
 
984
- #: classes/controllers/FrmStylesController.php:397
 
985
  msgid "Buttons"
986
  msgstr ""
987
 
988
- #: classes/controllers/FrmStylesController.php:398
989
  msgid "Form Messages"
990
  msgstr ""
991
 
@@ -1255,7 +1308,7 @@ msgstr ""
1255
  msgid "Abnormal HTML characters prevented your form from saving correctly"
1256
  msgstr ""
1257
 
1258
- #: classes/controllers/FrmFormsController.php:1468
1259
  #: classes/views/frm-forms/list-templates.php:198
1260
  #: classes/views/xml/import_form.php:128
1261
  #: classes/views/styles/manage.php:54
@@ -1267,17 +1320,17 @@ msgstr ""
1267
  msgid "(no title)"
1268
  msgstr ""
1269
 
1270
- #: classes/controllers/FrmFormsController.php:1514
1271
- #: classes/controllers/FrmFormsController.php:1528
1272
  msgid "Please select a valid form"
1273
  msgstr ""
1274
 
1275
- #: classes/controllers/FrmFormsController.php:1760
1276
  msgid "Please wait while you are redirected."
1277
  msgstr ""
1278
 
1279
  #. translators: %1$s: Start link HTML, %2$s: End link HTML
1280
- #: classes/controllers/FrmFormsController.php:1796
1281
  msgid "%1$sClick here%2$s if you are not automatically redirected."
1282
  msgstr ""
1283
 
@@ -1358,6 +1411,27 @@ msgstr ""
1358
  msgid "Entry was Successfully Deleted"
1359
  msgstr ""
1360
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1361
  #: classes/views/frm-forms/actions-dropdown.php:2
1362
  msgid "Show options"
1363
  msgstr ""
@@ -1377,6 +1451,18 @@ msgstr ""
1377
  msgid "In Theme"
1378
  msgstr ""
1379
 
 
 
 
 
 
 
 
 
 
 
 
 
1380
  #: classes/views/frm-forms/settings-html.php:3
1381
  msgid "Form Classes"
1382
  msgstr ""
@@ -1415,7 +1501,7 @@ msgstr ""
1415
  #: classes/views/frm-forms/new-form-overlay.php:31
1416
  #: classes/views/shared/confirm-overlay.php:14
1417
  #: classes/views/shared/admin-header.php:42
1418
- #: classes/helpers/FrmAppHelper.php:2217
1419
  msgid "Cancel"
1420
  msgstr ""
1421
 
@@ -1427,7 +1513,7 @@ msgstr ""
1427
  #: classes/views/shared/mb_adv_info.php:35
1428
  #: classes/views/shared/mb_adv_info.php:178
1429
  #: classes/views/frm-entries/list.php:42
1430
- #: classes/helpers/FrmAppHelper.php:903
1431
  msgid "Search"
1432
  msgstr ""
1433
 
@@ -1522,7 +1608,7 @@ msgstr ""
1522
 
1523
  #: classes/views/frm-forms/list-templates.php:259
1524
  #: classes/views/frm-forms/list-templates.php:260
1525
- #: classes/helpers/FrmFormsHelper.php:1264
1526
  msgid "Create Form"
1527
  msgstr ""
1528
 
@@ -1613,7 +1699,7 @@ msgid "Show Page Content"
1613
  msgstr ""
1614
 
1615
  #: classes/views/frm-forms/settings-advanced.php:93
1616
- #: classes/helpers/FrmAppHelper.php:1028
1617
  msgid "Select a Page"
1618
  msgstr ""
1619
 
@@ -1715,7 +1801,7 @@ msgstr ""
1715
  msgid "Do not use Formidable styling"
1716
  msgstr ""
1717
 
1718
- #: classes/views/frm-forms/settings-buttons.php:39
1719
  #: classes/views/frm-settings/messages.php:64
1720
  msgid "Submit Button Text"
1721
  msgstr ""
@@ -1806,28 +1892,32 @@ msgstr ""
1806
  msgid "From"
1807
  msgstr ""
1808
 
1809
- #: classes/views/frm-form-actions/_email_settings.php:45
1810
- #: classes/views/frm-form-actions/_email_settings.php:51
 
 
 
 
1811
  msgid "Reply To"
1812
  msgstr ""
1813
 
1814
- #: classes/views/frm-form-actions/_email_settings.php:60
1815
  msgid "Subject"
1816
  msgstr ""
1817
 
1818
- #: classes/views/frm-form-actions/_email_settings.php:67
1819
  msgid "Message"
1820
  msgstr ""
1821
 
1822
- #: classes/views/frm-form-actions/_email_settings.php:75
1823
  msgid "Append IP Address, Browser, and Referring URL to message"
1824
  msgstr ""
1825
 
1826
- #: classes/views/frm-form-actions/_email_settings.php:77
1827
  msgid "Append Browser and Referring URL to message"
1828
  msgstr ""
1829
 
1830
- #: classes/views/frm-form-actions/_email_settings.php:84
1831
  msgid "Send Emails in Plain Text"
1832
  msgstr ""
1833
 
@@ -1921,7 +2011,7 @@ msgstr ""
1921
  msgid "Renew Now"
1922
  msgstr ""
1923
 
1924
- #: classes/views/shared/errors.php:15
1925
  msgid "Warning:"
1926
  msgstr ""
1927
 
@@ -1929,13 +2019,13 @@ msgstr ""
1929
  #: classes/views/shared/upgrade_overlay.php:4
1930
  #: classes/views/shared/info-overlay.php:4
1931
  #: classes/views/frm-settings/settings_cta.php:5
1932
- #: classes/helpers/FrmFormMigratorsHelper.php:103
1933
  msgid "Dismiss this message"
1934
  msgstr ""
1935
 
1936
  #: classes/views/shared/confirm-overlay.php:10
1937
  #: classes/views/shared/info-overlay.php:10
1938
- #: classes/helpers/FrmAppHelper.php:2224
1939
  msgid "Are you sure?"
1940
  msgstr ""
1941
 
@@ -1982,44 +2072,31 @@ msgstr ""
1982
  msgid "Already purchased?"
1983
  msgstr ""
1984
 
1985
- #. translators: %s: User name, %2$d: number of entries
1986
- #: classes/views/shared/review.php:7
1987
- msgid "Congratulations%1$s! You have collected %2$d form submissions."
1988
- msgstr ""
1989
-
1990
- #: classes/views/shared/review.php:13
1991
  msgid "Are you enjoying Formidable Forms?"
1992
  msgstr ""
1993
 
1994
- #: classes/views/shared/review.php:16
1995
  msgid "Not Really"
1996
  msgstr ""
1997
 
1998
- #: classes/views/shared/review.php:19
1999
  msgid "Yes!"
2000
  msgstr ""
2001
 
2002
- #: classes/views/shared/review.php:23
2003
  msgid "Awesome! Could you do me a BIG favor and give Formidable Forms a review to help me grow my little business and boost our motivation?"
2004
  msgstr ""
2005
 
2006
- #: classes/views/shared/review.php:25
2007
- msgid "Founder and Lead Developer of Formidable Forms"
2008
- msgstr ""
2009
-
2010
- #: classes/views/shared/review.php:28
2011
  msgid "No thanks, maybe later"
2012
  msgstr ""
2013
 
2014
- #: classes/views/shared/review.php:31
2015
- msgid "Ok, you deserve it"
2016
- msgstr ""
2017
-
2018
- #: classes/views/shared/review.php:35
2019
  msgid "I already did"
2020
  msgstr ""
2021
 
2022
- #: classes/views/shared/review.php:39
2023
  msgid "Sorry to hear you aren't enjoying building with Formidable. We would love a chance to improve. Could you take a minute and let us know what we can do better?"
2024
  msgstr ""
2025
 
@@ -2050,7 +2127,7 @@ msgstr ""
2050
 
2051
  #: classes/views/shared/mb_adv_info.php:90
2052
  #: classes/helpers/FrmCSVExportHelper.php:154
2053
- #: classes/helpers/FrmAppHelper.php:2196
2054
  msgid "ID"
2055
  msgstr ""
2056
 
@@ -2060,7 +2137,7 @@ msgstr ""
2060
 
2061
  #: classes/views/shared/mb_adv_info.php:108
2062
  #: classes/views/shared/mb_adv_info.php:122
2063
- #: classes/helpers/FrmAppHelper.php:2258
2064
  msgid "Select a Field"
2065
  msgstr ""
2066
 
@@ -2671,7 +2748,7 @@ msgid "Label Position"
2671
  msgstr ""
2672
 
2673
  #: classes/views/frm-fields/back-end/settings.php:265
2674
- #: classes/helpers/FrmAppHelper.php:2218
2675
  msgid "Default"
2676
  msgstr ""
2677
 
@@ -3358,7 +3435,7 @@ msgid "See all forms."
3358
  msgstr ""
3359
 
3360
  #: classes/helpers/FrmFormsListHelper.php:114
3361
- #: classes/helpers/FrmAppHelper.php:888
3362
  msgid "Add New"
3363
  msgstr ""
3364
 
@@ -3390,7 +3467,7 @@ msgstr ""
3390
 
3391
  #: classes/helpers/FrmFormsListHelper.php:160
3392
  #: classes/helpers/FrmFormsHelper.php:1096
3393
- #: classes/helpers/FrmFormsHelper.php:1191
3394
  msgid "Trash"
3395
  msgstr ""
3396
 
@@ -3404,13 +3481,13 @@ msgid "Saving entries is disabled for this form"
3404
  msgstr ""
3405
 
3406
  #: classes/helpers/FrmFormsListHelper.php:344
3407
- #: classes/helpers/FrmFormsHelper.php:1190
3408
  #: classes/helpers/FrmCSVExportHelper.php:152
3409
  msgid "Draft"
3410
  msgstr ""
3411
 
3412
  #: classes/helpers/FrmFieldsHelper.php:286
3413
- #: classes/helpers/FrmAppHelper.php:2229
3414
  msgid "The entered values do not match"
3415
  msgstr ""
3416
 
@@ -3421,7 +3498,7 @@ msgstr ""
3421
 
3422
  #: classes/helpers/FrmFieldsHelper.php:456
3423
  #: classes/helpers/FrmFieldsHelper.php:457
3424
- #: classes/helpers/FrmAppHelper.php:2233
3425
  msgid "New Option"
3426
  msgstr ""
3427
 
@@ -4592,7 +4669,7 @@ msgid "Left"
4592
  msgstr ""
4593
 
4594
  #: classes/helpers/FrmStylesHelper.php:110
4595
- #: classes/helpers/FrmFormsHelper.php:1129
4596
  msgid "Right"
4597
  msgstr ""
4598
 
@@ -4621,7 +4698,7 @@ msgid "Excerpt View"
4621
  msgstr ""
4622
 
4623
  #: classes/helpers/FrmListHelper.php:257
4624
- #: classes/helpers/FrmAppHelper.php:2259
4625
  msgid "No items found."
4626
  msgstr ""
4627
 
@@ -4680,17 +4757,21 @@ msgstr ""
4680
  msgid "Select All"
4681
  msgstr ""
4682
 
4683
- #: classes/helpers/FrmFormMigratorsHelper.php:119
 
 
 
 
4684
  msgid "Get Started"
4685
  msgstr ""
4686
 
4687
  #. translators: %s: Name of the plugin
4688
- #: classes/helpers/FrmFormMigratorsHelper.php:129
4689
  msgid "Activate %s"
4690
  msgstr ""
4691
 
4692
  #. translators: %s: Name of the plugin
4693
- #: classes/helpers/FrmFormMigratorsHelper.php:137
4694
  msgid "Install %s Importer"
4695
  msgstr ""
4696
 
@@ -4821,69 +4902,85 @@ msgid "Add this to a read-only field to display the text in bold without a borde
4821
  msgstr ""
4822
 
4823
  #: classes/helpers/FrmFormsHelper.php:1122
4824
- msgid "Scroll Box"
4825
  msgstr ""
4826
 
4827
  #: classes/helpers/FrmFormsHelper.php:1123
4828
- msgid "If you have many checkbox or radio button options, you may add this class to allow your user to easily scroll through the options. Or add a scrolling area around content in an HTML field."
4829
  msgstr ""
4830
 
4831
  #: classes/helpers/FrmFormsHelper.php:1126
4832
- msgid "First"
4833
  msgstr ""
4834
 
4835
  #: classes/helpers/FrmFormsHelper.php:1127
4836
- msgid "Add this to the first field in each row along with a width. ie frm_first frm4"
4837
  msgstr ""
4838
 
4839
  #: classes/helpers/FrmFormsHelper.php:1130
4840
- msgid "First Grid Row"
4841
  msgstr ""
4842
 
4843
  #: classes/helpers/FrmFormsHelper.php:1131
 
 
 
 
 
 
 
 
4844
  msgid "Even Grid Row"
4845
  msgstr ""
4846
 
4847
- #: classes/helpers/FrmFormsHelper.php:1132
4848
  msgid "Odd Grid Row"
4849
  msgstr ""
4850
 
4851
- #: classes/helpers/FrmFormsHelper.php:1134
 
 
 
 
 
 
 
 
4852
  msgid "Capitalize"
4853
  msgstr ""
4854
 
4855
- #: classes/helpers/FrmFormsHelper.php:1135
4856
  msgid "Automatically capitalize the first letter in each word."
4857
  msgstr ""
4858
 
4859
- #: classes/helpers/FrmFormsHelper.php:1192
4860
  msgid "Published"
4861
  msgstr ""
4862
 
4863
- #: classes/helpers/FrmFormsHelper.php:1272
4864
  msgid "Renew"
4865
  msgstr ""
4866
 
4867
- #: classes/helpers/FrmFormsHelper.php:1336
4868
  msgid "License plan required:"
4869
  msgstr ""
4870
 
4871
- #: classes/helpers/FrmFormsHelper.php:1444
4872
  msgid "Is this intentional?"
4873
  msgstr ""
4874
 
4875
- #: classes/helpers/FrmFormsHelper.php:1445
4876
- #: classes/helpers/FrmAppHelper.php:2253
4877
  msgid "See the list of reserved words in WordPress."
4878
  msgstr ""
4879
 
4880
  #. translators: %s: the name of a single parameter in the redirect URL
4881
- #: classes/helpers/FrmFormsHelper.php:1454
4882
  msgid "The redirect URL is using the parameter \"%s\", which is reserved by WordPress. "
4883
  msgstr ""
4884
 
4885
  #. translators: %s: the names of two or more parameters in the redirect URL, separated by commas
4886
- #: classes/helpers/FrmFormsHelper.php:1460
4887
  msgid "The redirect URL is using the parameters \"%s\", which are reserved by WordPress. "
4888
  msgstr ""
4889
 
@@ -4923,556 +5020,556 @@ msgstr ""
4923
  msgid "Parent ID"
4924
  msgstr ""
4925
 
4926
- #: classes/helpers/FrmAppHelper.php:1159
4927
  msgid "View Forms"
4928
  msgstr ""
4929
 
4930
- #: classes/helpers/FrmAppHelper.php:1160
4931
  msgid "Add and Edit Forms"
4932
  msgstr ""
4933
 
4934
- #: classes/helpers/FrmAppHelper.php:1161
4935
  msgid "Delete Forms"
4936
  msgstr ""
4937
 
4938
- #: classes/helpers/FrmAppHelper.php:1162
4939
  msgid "Access this Settings Page"
4940
  msgstr ""
4941
 
4942
- #: classes/helpers/FrmAppHelper.php:1163
4943
  msgid "View Entries from Admin Area"
4944
  msgstr ""
4945
 
4946
- #: classes/helpers/FrmAppHelper.php:1164
4947
  msgid "Delete Entries from Admin Area"
4948
  msgstr ""
4949
 
4950
- #: classes/helpers/FrmAppHelper.php:1171
4951
  msgid "Add Entries from Admin Area"
4952
  msgstr ""
4953
 
4954
- #: classes/helpers/FrmAppHelper.php:1172
4955
  msgid "Edit Entries from Admin Area"
4956
  msgstr ""
4957
 
4958
- #: classes/helpers/FrmAppHelper.php:1173
4959
  msgid "View Reports"
4960
  msgstr ""
4961
 
4962
- #: classes/helpers/FrmAppHelper.php:1174
4963
  msgid "Add/Edit Views"
4964
  msgstr ""
4965
 
4966
- #: classes/helpers/FrmAppHelper.php:1796
4967
  msgid "at"
4968
  msgstr ""
4969
 
4970
- #: classes/helpers/FrmAppHelper.php:1847
4971
- #: classes/helpers/FrmAppHelper.php:1866
4972
  msgid "seconds"
4973
  msgstr ""
4974
 
4975
- #: classes/helpers/FrmAppHelper.php:1860
4976
  msgid "year"
4977
  msgstr ""
4978
 
4979
- #: classes/helpers/FrmAppHelper.php:1860
4980
  msgid "years"
4981
  msgstr ""
4982
 
4983
- #: classes/helpers/FrmAppHelper.php:1861
4984
  msgid "month"
4985
  msgstr ""
4986
 
4987
- #: classes/helpers/FrmAppHelper.php:1861
4988
  msgid "months"
4989
  msgstr ""
4990
 
4991
- #: classes/helpers/FrmAppHelper.php:1862
4992
  msgid "week"
4993
  msgstr ""
4994
 
4995
- #: classes/helpers/FrmAppHelper.php:1862
4996
  msgid "weeks"
4997
  msgstr ""
4998
 
4999
- #: classes/helpers/FrmAppHelper.php:1863
5000
  msgid "day"
5001
  msgstr ""
5002
 
5003
- #: classes/helpers/FrmAppHelper.php:1863
5004
  msgid "days"
5005
  msgstr ""
5006
 
5007
- #: classes/helpers/FrmAppHelper.php:1864
5008
  msgid "hour"
5009
  msgstr ""
5010
 
5011
- #: classes/helpers/FrmAppHelper.php:1864
5012
  msgid "hours"
5013
  msgstr ""
5014
 
5015
- #: classes/helpers/FrmAppHelper.php:1865
5016
  msgid "minute"
5017
  msgstr ""
5018
 
5019
- #: classes/helpers/FrmAppHelper.php:1865
5020
  msgid "minutes"
5021
  msgstr ""
5022
 
5023
- #: classes/helpers/FrmAppHelper.php:1866
5024
  msgid "second"
5025
  msgstr ""
5026
 
5027
- #: classes/helpers/FrmAppHelper.php:1958
5028
  msgid "Give this action a label for easy reference."
5029
  msgstr ""
5030
 
5031
- #: classes/helpers/FrmAppHelper.php:1959
5032
  msgid "Add one or more recipient addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com. [admin_email] is the address set in WP General Settings."
5033
  msgstr ""
5034
 
5035
- #: classes/helpers/FrmAppHelper.php:1960
5036
  msgid "Add CC addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com."
5037
  msgstr ""
5038
 
5039
- #: classes/helpers/FrmAppHelper.php:1961
5040
  msgid "Add BCC addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com."
5041
  msgstr ""
5042
 
5043
- #: classes/helpers/FrmAppHelper.php:1962
5044
  msgid "If you would like a different reply to address than the \"from\" address, add a single address here. FORMAT: Name <name@email.com> or name@email.com."
5045
  msgstr ""
5046
 
5047
- #: classes/helpers/FrmAppHelper.php:1963
5048
  msgid "Enter the name and/or email address of the sender. FORMAT: John Bates <john@example.com> or john@example.com."
5049
  msgstr ""
5050
 
5051
  #. translators: %1$s: Form name, %2$s: Date
5052
- #: classes/helpers/FrmAppHelper.php:1965
5053
  msgid "If you leave the subject blank, the default will be used: %1$s Form submitted on %2$s"
5054
  msgstr ""
5055
 
5056
- #: classes/helpers/FrmAppHelper.php:2159
5057
- #: classes/helpers/FrmAppHelper.php:2238
5058
  msgid "Please wait while your site updates."
5059
  msgstr ""
5060
 
5061
- #: classes/helpers/FrmAppHelper.php:2160
5062
  msgid "Are you sure you want to deauthorize Formidable Forms on this site?"
5063
  msgstr ""
5064
 
5065
- #: classes/helpers/FrmAppHelper.php:2163
5066
- #: classes/helpers/FrmAppHelper.php:2192
5067
  msgid "Loading&hellip;"
5068
  msgstr ""
5069
 
5070
- #: classes/helpers/FrmAppHelper.php:2193
5071
  msgid "Remove"
5072
  msgstr ""
5073
 
5074
- #: classes/helpers/FrmAppHelper.php:2197
5075
  msgid "No results match"
5076
  msgstr ""
5077
 
5078
- #: classes/helpers/FrmAppHelper.php:2198
5079
  msgid "That file looks like Spam."
5080
  msgstr ""
5081
 
5082
- #: classes/helpers/FrmAppHelper.php:2199
5083
  msgid "There is an error in the calculation in the field with key"
5084
  msgstr ""
5085
 
5086
- #: classes/helpers/FrmAppHelper.php:2200
5087
  msgid "Please complete the preceding required fields before uploading a file."
5088
  msgstr ""
5089
 
5090
- #: classes/helpers/FrmAppHelper.php:2211
5091
  msgid "(Click to add description)"
5092
  msgstr ""
5093
 
5094
- #: classes/helpers/FrmAppHelper.php:2212
5095
  msgid "(Blank)"
5096
  msgstr ""
5097
 
5098
- #: classes/helpers/FrmAppHelper.php:2213
5099
  msgid "(no label)"
5100
  msgstr ""
5101
 
5102
- #: classes/helpers/FrmAppHelper.php:2214
5103
  msgid "Saving"
5104
  msgstr ""
5105
 
5106
- #: classes/helpers/FrmAppHelper.php:2215
5107
  msgid "Saved"
5108
  msgstr ""
5109
 
5110
- #: classes/helpers/FrmAppHelper.php:2216
5111
  msgid "OK"
5112
  msgstr ""
5113
 
5114
- #: classes/helpers/FrmAppHelper.php:2219
5115
  msgid "Clear default value when typing"
5116
  msgstr ""
5117
 
5118
- #: classes/helpers/FrmAppHelper.php:2220
5119
  msgid "Do not clear default value when typing"
5120
  msgstr ""
5121
 
5122
- #: classes/helpers/FrmAppHelper.php:2221
5123
  msgid "Default value will pass form validation"
5124
  msgstr ""
5125
 
5126
- #: classes/helpers/FrmAppHelper.php:2222
5127
  msgid "Default value will NOT pass form validation"
5128
  msgstr ""
5129
 
5130
- #: classes/helpers/FrmAppHelper.php:2223
5131
  msgid "Heads up"
5132
  msgstr ""
5133
 
5134
- #: classes/helpers/FrmAppHelper.php:2225
5135
  msgid "Are you sure you want to delete this field and all data associated with it?"
5136
  msgstr ""
5137
 
5138
- #: classes/helpers/FrmAppHelper.php:2226
5139
  msgid "All fields inside this Section will be deleted along with their data. Are you sure you want to delete this group of fields?"
5140
  msgstr ""
5141
 
5142
- #: classes/helpers/FrmAppHelper.php:2227
5143
  msgid "Warning: If you have entries with multiple rows, all but the first row will be lost."
5144
  msgstr ""
5145
 
5146
- #: classes/helpers/FrmAppHelper.php:2230
5147
  msgid "Enter Email"
5148
  msgstr ""
5149
 
5150
- #: classes/helpers/FrmAppHelper.php:2231
5151
  msgid "Confirm Email"
5152
  msgstr ""
5153
 
5154
- #: classes/helpers/FrmAppHelper.php:2232
5155
  msgid "Conditional content here"
5156
  msgstr ""
5157
 
5158
- #: classes/helpers/FrmAppHelper.php:2234
5159
  msgid "In certain browsers (e.g. Firefox) text will not display correctly if the field height is too small relative to the field padding and text size. Please increase your field height or decrease your field padding."
5160
  msgstr ""
5161
 
5162
- #: classes/helpers/FrmAppHelper.php:2235
5163
  msgid "Enter Password"
5164
  msgstr ""
5165
 
5166
- #: classes/helpers/FrmAppHelper.php:2236
5167
  msgid "Confirm Password"
5168
  msgstr ""
5169
 
5170
- #: classes/helpers/FrmAppHelper.php:2237
5171
  msgid "Import Complete"
5172
  msgstr ""
5173
 
5174
- #: classes/helpers/FrmAppHelper.php:2239
5175
  msgid "Warning: There is no way to retrieve unsaved entries."
5176
  msgstr ""
5177
 
5178
- #: classes/helpers/FrmAppHelper.php:2240
5179
  msgid "Private"
5180
  msgstr ""
5181
 
5182
- #: classes/helpers/FrmAppHelper.php:2243
5183
  msgid "No new licenses were found"
5184
  msgstr ""
5185
 
5186
- #: classes/helpers/FrmAppHelper.php:2244
5187
  msgid "This calculation has at least one unmatched ( ) { } [ ]."
5188
  msgstr ""
5189
 
5190
- #: classes/helpers/FrmAppHelper.php:2245
5191
  msgid "This calculation may have shortcodes that work in Views but not forms."
5192
  msgstr ""
5193
 
5194
- #: classes/helpers/FrmAppHelper.php:2246
5195
  msgid "This calculation may have shortcodes that work in text calculations but not numeric calculations."
5196
  msgstr ""
5197
 
5198
- #: classes/helpers/FrmAppHelper.php:2247
5199
  msgid "This form action is limited to one per form. Please edit the existing form action."
5200
  msgstr ""
5201
 
5202
  #. Translators: %s is the name of a Detail Page Slug that is a reserved word.
5203
- #: classes/helpers/FrmAppHelper.php:2250
5204
  msgid "The Detail Page Slug \"%s\" is reserved by WordPress. This may cause problems. Is this intentional?"
5205
  msgstr ""
5206
 
5207
  #. Translators: %s is the name of a parameter that is a reserved word. More than one word could be listed here, though that would not be common.
5208
- #: classes/helpers/FrmAppHelper.php:2252
5209
  msgid "The parameter \"%s\" is reserved by WordPress. This may cause problems when included in the URL. Is this intentional? "
5210
  msgstr ""
5211
 
5212
- #: classes/helpers/FrmAppHelper.php:2254
5213
  msgid "Please enter a Repeat Limit that is greater than 1."
5214
  msgstr ""
5215
 
5216
- #: classes/helpers/FrmAppHelper.php:2255
5217
  msgid "Please select a limit between 0 and 200."
5218
  msgstr ""
5219
 
5220
- #: classes/helpers/FrmAppHelper.php:2286
5221
  msgid "You are running an outdated version of Formidable. This plugin may not work correctly if you do not update Formidable."
5222
  msgstr ""
5223
 
5224
- #: classes/helpers/FrmAppHelper.php:2313
5225
  msgid "You are running a version of Formidable Forms that may not be compatible with your version of Formidable Forms Pro."
5226
  msgstr ""
5227
 
5228
- #: classes/helpers/FrmAppHelper.php:2341
5229
  msgid "The version of PHP on your server is too low. If this is not corrected, you may see issues with Formidable Forms. Please contact your web host and ask to be updated to PHP 7.0+."
5230
  msgstr ""
5231
 
5232
- #: classes/helpers/FrmAppHelper.php:2347
5233
  msgid "You are using an outdated browser that is not compatible with Formidable Forms. Please update to a more current browser (we recommend Chrome)."
5234
  msgstr ""
5235
 
5236
- #: classes/helpers/FrmAppHelper.php:2361
5237
  msgid "English"
5238
  msgstr ""
5239
 
5240
- #: classes/helpers/FrmAppHelper.php:2362
5241
  msgid "Afrikaans"
5242
  msgstr ""
5243
 
5244
- #: classes/helpers/FrmAppHelper.php:2363
5245
  msgid "Albanian"
5246
  msgstr ""
5247
 
5248
- #: classes/helpers/FrmAppHelper.php:2364
5249
  msgid "Arabic"
5250
  msgstr ""
5251
 
5252
- #: classes/helpers/FrmAppHelper.php:2365
5253
  msgid "Armenian"
5254
  msgstr ""
5255
 
5256
- #: classes/helpers/FrmAppHelper.php:2366
5257
  msgid "Azerbaijani"
5258
  msgstr ""
5259
 
5260
- #: classes/helpers/FrmAppHelper.php:2367
5261
  msgid "Basque"
5262
  msgstr ""
5263
 
5264
- #: classes/helpers/FrmAppHelper.php:2368
5265
  msgid "Bosnian"
5266
  msgstr ""
5267
 
5268
- #: classes/helpers/FrmAppHelper.php:2369
5269
  msgid "Bulgarian"
5270
  msgstr ""
5271
 
5272
- #: classes/helpers/FrmAppHelper.php:2370
5273
  msgid "Catalan"
5274
  msgstr ""
5275
 
5276
- #: classes/helpers/FrmAppHelper.php:2371
5277
  msgid "Chinese Hong Kong"
5278
  msgstr ""
5279
 
5280
- #: classes/helpers/FrmAppHelper.php:2372
5281
  msgid "Chinese Simplified"
5282
  msgstr ""
5283
 
5284
- #: classes/helpers/FrmAppHelper.php:2373
5285
  msgid "Chinese Traditional"
5286
  msgstr ""
5287
 
5288
- #: classes/helpers/FrmAppHelper.php:2374
5289
  msgid "Croatian"
5290
  msgstr ""
5291
 
5292
- #: classes/helpers/FrmAppHelper.php:2375
5293
  msgid "Czech"
5294
  msgstr ""
5295
 
5296
- #: classes/helpers/FrmAppHelper.php:2376
5297
  msgid "Danish"
5298
  msgstr ""
5299
 
5300
- #: classes/helpers/FrmAppHelper.php:2377
5301
  msgid "Dutch"
5302
  msgstr ""
5303
 
5304
- #: classes/helpers/FrmAppHelper.php:2378
5305
  msgid "English/UK"
5306
  msgstr ""
5307
 
5308
- #: classes/helpers/FrmAppHelper.php:2379
5309
  msgid "Esperanto"
5310
  msgstr ""
5311
 
5312
- #: classes/helpers/FrmAppHelper.php:2380
5313
  msgid "Estonian"
5314
  msgstr ""
5315
 
5316
- #: classes/helpers/FrmAppHelper.php:2381
5317
  msgid "Faroese"
5318
  msgstr ""
5319
 
5320
- #: classes/helpers/FrmAppHelper.php:2382
5321
  msgid "Farsi/Persian"
5322
  msgstr ""
5323
 
5324
- #: classes/helpers/FrmAppHelper.php:2383
5325
  msgid "Filipino"
5326
  msgstr ""
5327
 
5328
- #: classes/helpers/FrmAppHelper.php:2384
5329
  msgid "Finnish"
5330
  msgstr ""
5331
 
5332
- #: classes/helpers/FrmAppHelper.php:2385
5333
  msgid "French"
5334
  msgstr ""
5335
 
5336
- #: classes/helpers/FrmAppHelper.php:2386
5337
  msgid "French/Canadian"
5338
  msgstr ""
5339
 
5340
- #: classes/helpers/FrmAppHelper.php:2387
5341
  msgid "French/Swiss"
5342
  msgstr ""
5343
 
5344
- #: classes/helpers/FrmAppHelper.php:2388
5345
  msgid "German"
5346
  msgstr ""
5347
 
5348
- #: classes/helpers/FrmAppHelper.php:2389
5349
  msgid "German/Austria"
5350
  msgstr ""
5351
 
5352
- #: classes/helpers/FrmAppHelper.php:2390
5353
  msgid "German/Switzerland"
5354
  msgstr ""
5355
 
5356
- #: classes/helpers/FrmAppHelper.php:2391
5357
  msgid "Greek"
5358
  msgstr ""
5359
 
5360
- #: classes/helpers/FrmAppHelper.php:2392
5361
- #: classes/helpers/FrmAppHelper.php:2393
5362
  msgid "Hebrew"
5363
  msgstr ""
5364
 
5365
- #: classes/helpers/FrmAppHelper.php:2394
5366
  msgid "Hindi"
5367
  msgstr ""
5368
 
5369
- #: classes/helpers/FrmAppHelper.php:2395
5370
  msgid "Hungarian"
5371
  msgstr ""
5372
 
5373
- #: classes/helpers/FrmAppHelper.php:2396
5374
  msgid "Icelandic"
5375
  msgstr ""
5376
 
5377
- #: classes/helpers/FrmAppHelper.php:2397
5378
  msgid "Indonesian"
5379
  msgstr ""
5380
 
5381
- #: classes/helpers/FrmAppHelper.php:2398
5382
  msgid "Italian"
5383
  msgstr ""
5384
 
5385
- #: classes/helpers/FrmAppHelper.php:2399
5386
  msgid "Japanese"
5387
  msgstr ""
5388
 
5389
- #: classes/helpers/FrmAppHelper.php:2400
5390
  msgid "Korean"
5391
  msgstr ""
5392
 
5393
- #: classes/helpers/FrmAppHelper.php:2401
5394
  msgid "Latvian"
5395
  msgstr ""
5396
 
5397
- #: classes/helpers/FrmAppHelper.php:2402
5398
  msgid "Lithuanian"
5399
  msgstr ""
5400
 
5401
- #: classes/helpers/FrmAppHelper.php:2403
5402
  msgid "Malaysian"
5403
  msgstr ""
5404
 
5405
- #: classes/helpers/FrmAppHelper.php:2404
5406
  msgid "Norwegian"
5407
  msgstr ""
5408
 
5409
- #: classes/helpers/FrmAppHelper.php:2405
5410
  msgid "Polish"
5411
  msgstr ""
5412
 
5413
- #: classes/helpers/FrmAppHelper.php:2406
5414
  msgid "Portuguese"
5415
  msgstr ""
5416
 
5417
- #: classes/helpers/FrmAppHelper.php:2407
5418
  msgid "Portuguese/Brazilian"
5419
  msgstr ""
5420
 
5421
- #: classes/helpers/FrmAppHelper.php:2408
5422
  msgid "Portuguese/Portugal"
5423
  msgstr ""
5424
 
5425
- #: classes/helpers/FrmAppHelper.php:2409
5426
  msgid "Romanian"
5427
  msgstr ""
5428
 
5429
- #: classes/helpers/FrmAppHelper.php:2410
5430
  msgid "Russian"
5431
  msgstr ""
5432
 
5433
- #: classes/helpers/FrmAppHelper.php:2411
5434
- #: classes/helpers/FrmAppHelper.php:2412
5435
  msgid "Serbian"
5436
  msgstr ""
5437
 
5438
- #: classes/helpers/FrmAppHelper.php:2413
5439
  msgid "Slovak"
5440
  msgstr ""
5441
 
5442
- #: classes/helpers/FrmAppHelper.php:2414
5443
  msgid "Slovenian"
5444
  msgstr ""
5445
 
5446
- #: classes/helpers/FrmAppHelper.php:2415
5447
  msgid "Spanish"
5448
  msgstr ""
5449
 
5450
- #: classes/helpers/FrmAppHelper.php:2416
5451
  msgid "Spanish/Latin America"
5452
  msgstr ""
5453
 
5454
- #: classes/helpers/FrmAppHelper.php:2417
5455
  msgid "Swedish"
5456
  msgstr ""
5457
 
5458
- #: classes/helpers/FrmAppHelper.php:2418
5459
  msgid "Tamil"
5460
  msgstr ""
5461
 
5462
- #: classes/helpers/FrmAppHelper.php:2419
5463
  msgid "Thai"
5464
  msgstr ""
5465
 
5466
- #: classes/helpers/FrmAppHelper.php:2420
5467
- #: classes/helpers/FrmAppHelper.php:2421
5468
  msgid "Turkish"
5469
  msgstr ""
5470
 
5471
- #: classes/helpers/FrmAppHelper.php:2422
5472
  msgid "Ukranian"
5473
  msgstr ""
5474
 
5475
- #: classes/helpers/FrmAppHelper.php:2423
5476
  msgid "Vietnamese"
5477
  msgstr ""
5478
 
@@ -5489,69 +5586,69 @@ msgstr ""
5489
  msgid "Your server is missing the simplexml_import_dom function"
5490
  msgstr ""
5491
 
5492
- #: classes/helpers/FrmXMLHelper.php:938
5493
  msgid "Imported"
5494
  msgstr ""
5495
 
5496
- #: classes/helpers/FrmXMLHelper.php:939
5497
  msgid "Updated"
5498
  msgstr ""
5499
 
5500
- #: classes/helpers/FrmXMLHelper.php:964
5501
  msgid "Nothing was imported or updated"
5502
  msgstr ""
5503
 
5504
  #. translators: %1$s: Number of items
5505
- #: classes/helpers/FrmXMLHelper.php:979
5506
  msgid "%1$s Form"
5507
  msgid_plural "%1$s Forms"
5508
  msgstr[0] ""
5509
 
5510
  #. translators: %1$s: Number of items
5511
- #: classes/helpers/FrmXMLHelper.php:983
5512
  msgid "%1$s Entry"
5513
  msgid_plural "%1$s Entries"
5514
  msgstr[0] ""
5515
 
5516
  #. translators: %1$s: Number of items
5517
- #: classes/helpers/FrmXMLHelper.php:985
5518
  msgid "%1$s View"
5519
  msgid_plural "%1$s Views"
5520
  msgstr[0] ""
5521
 
5522
  #. translators: %1$s: Number of items
5523
- #: classes/helpers/FrmXMLHelper.php:987
5524
  msgid "%1$s Post"
5525
  msgid_plural "%1$s Posts"
5526
  msgstr[0] ""
5527
 
5528
  #. translators: %1$s: Number of items
5529
- #: classes/helpers/FrmXMLHelper.php:989
5530
  msgid "%1$s Style"
5531
  msgid_plural "%1$s Styles"
5532
  msgstr[0] ""
5533
 
5534
  #. translators: %1$s: Number of items
5535
- #: classes/helpers/FrmXMLHelper.php:991
5536
  msgid "%1$s Term"
5537
  msgid_plural "%1$s Terms"
5538
  msgstr[0] ""
5539
 
5540
  #. translators: %1$s: Number of items
5541
- #: classes/helpers/FrmXMLHelper.php:993
5542
  msgid "%1$s Form Action"
5543
  msgid_plural "%1$s Form Actions"
5544
  msgstr[0] ""
5545
 
5546
- #: classes/helpers/FrmXMLHelper.php:1017
5547
  msgid "Go to imported form"
5548
  msgstr ""
5549
 
5550
- #: classes/helpers/FrmXMLHelper.php:1222
5551
  msgid "Create Posts"
5552
  msgstr ""
5553
 
5554
- #: classes/helpers/FrmXMLHelper.php:1349
5555
  msgid "Email Notification"
5556
  msgstr ""
5557
 
2
  # This file is distributed under the same license as the Formidable Forms plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Formidable Forms 4.05\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/formidable\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2020-06-09T22:44:03+02:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.1.0\n"
15
  "X-Domain: formidable\n"
35
  msgstr ""
36
 
37
  #: js/src/form/block.js:35
38
+ #: js/src/form/calculator.js:43
39
+ #: languages/formidable-js-strings.php:18
40
  msgid "This site does not have any forms."
41
  msgstr ""
42
 
43
+ #: js/src/form/calculator.js:27
44
+ #: languages/formidable-js-strings.php:21
45
+ msgid "Display a Calculator Form"
46
+ msgstr ""
47
+
48
+ #: js/src/form/calculator.js:52
49
+ #: languages/formidable-js-strings.php:24
50
+ msgid "Calculator Form"
51
+ msgstr ""
52
+
53
+ #: js/src/form/calculator.js:55
54
+ #: languages/formidable-js-strings.php:27
55
+ msgid "This site does not have any calculator forms."
56
+ msgstr ""
57
+
58
+ #: js/src/form/calculator.js:58
59
+ #: languages/formidable-js-strings.php:30
60
+ msgid "Upgrade Formidable Forms."
61
+ msgstr ""
62
+
63
  #: js/src/form/formselect.js:23
64
+ #: languages/formidable-js-strings.php:33
65
  msgid "form"
66
  msgstr ""
67
 
68
  #: js/src/form/formselect.js:24
69
+ #: languages/formidable-js-strings.php:36
70
  msgid "forms"
71
  msgstr ""
72
 
73
  #: js/src/form/inspector.js:43
74
+ #: languages/formidable-js-strings.php:39
75
  msgid "Select Form"
76
  msgstr ""
77
 
78
  #: js/src/form/inspector.js:57
79
+ #: languages/formidable-js-strings.php:42
80
  msgid "Go to form"
81
  msgstr ""
82
 
83
  #: js/src/form/inspector.js:62
84
  #: classes/views/frm-forms/shortcode_opts.php:12
85
+ #: languages/formidable-js-strings.php:45
86
  msgid "Options"
87
  msgstr ""
88
 
89
  #: js/src/form/inspector.js:66
90
+ #: languages/formidable-js-strings.php:48
91
  msgid "Show Form Title"
92
  msgstr ""
93
 
94
  #: js/src/form/inspector.js:73
95
+ #: languages/formidable-js-strings.php:51
96
  msgid "Show Form Description"
97
  msgstr ""
98
 
99
  #: js/src/form/inspector.js:80
100
+ #: languages/formidable-js-strings.php:54
101
  msgid "Minimize HTML"
102
  msgstr ""
103
 
104
  #: js/src/form/inspector.js:88
105
+ #: languages/formidable-js-strings.php:57
106
  msgid "Shortcode"
107
  msgstr ""
108
 
263
 
264
  #: classes/models/FrmField.php:34
265
  #: classes/controllers/FrmFormsController.php:1166
266
+ #: classes/views/inbox/list.php:21
267
  msgid "Email"
268
  msgstr ""
269
 
403
  msgid "Total"
404
  msgstr ""
405
 
406
+ #. translators: %s: User name, %2$d: number of entries
407
+ #: classes/models/FrmReviews.php:103
408
+ msgid "Congratulations%1$s! You have collected %2$d form submissions."
409
+ msgstr ""
410
+
411
+ #: classes/models/FrmReviews.php:120
412
+ msgid "If you are enjoying Formidable, could you do me a BIG favor and give us a review to help me grow my little business and boost our motivation?"
413
+ msgstr ""
414
+
415
+ #: classes/models/FrmReviews.php:122
416
+ #: classes/views/shared/review.php:18
417
+ msgid "Founder and Lead Developer of Formidable Forms"
418
+ msgstr ""
419
+
420
+ #: classes/models/FrmReviews.php:125
421
+ #: classes/views/shared/review.php:24
422
+ msgid "Ok, you deserve it"
423
+ msgstr ""
424
+
425
  #: classes/models/FrmDb.php:444
426
  msgid "Use the query in an array format so it can be properly prepared."
427
  msgstr ""
505
  #: classes/models/fields/FrmFieldType.php:570
506
  #: classes/helpers/FrmFieldsHelper.php:167
507
  #: classes/helpers/FrmFieldsHelper.php:296
508
+ #: classes/helpers/FrmXMLHelper.php:1111
509
  msgid "%s is invalid"
510
  msgstr ""
511
 
593
  #. translators: %1$s - field type
594
  #. translators: %1$s: Number of items
595
  #: classes/models/FrmFormMigrator.php:581
596
+ #: classes/helpers/FrmXMLHelper.php:993
597
  msgid "%1$s Field"
598
  msgid_plural "%1$s Fields"
599
  msgstr[0] ""
627
  #: classes/controllers/FrmAddonsController.php:19
628
  #: classes/controllers/FrmAddonsController.php:20
629
  #: classes/views/frm-fields/back-end/smart-values.php:11
630
+ #: classes/helpers/FrmFormsHelper.php:1285
631
  msgid "Upgrade"
632
  msgstr ""
633
 
640
  msgstr ""
641
 
642
  #: classes/controllers/FrmAddonsController.php:484
643
+ #: classes/helpers/FrmAppHelper.php:2260
644
  msgid "Active"
645
  msgstr ""
646
 
660
  msgid "Your plugin has been activated. Please reload the page to see more options."
661
  msgstr ""
662
 
663
+ #: classes/controllers/FrmAppController.php:156
664
  msgid "Build"
665
  msgstr ""
666
 
667
+ #: classes/controllers/FrmAppController.php:163
668
  #: classes/views/frm-forms/settings.php:8
669
  #: classes/views/frm-settings/form.php:9
670
  #: classes/helpers/FrmFormsListHelper.php:304
671
  msgid "Settings"
672
  msgstr ""
673
 
674
+ #: classes/controllers/FrmAppController.php:170
675
+ #: classes/controllers/FrmXMLController.php:133
676
  #: classes/controllers/FrmFormsController.php:729
677
  #: classes/controllers/FrmEntriesController.php:8
678
  #: classes/controllers/FrmEntriesController.php:90
680
  msgid "Entries"
681
  msgstr ""
682
 
683
+ #: classes/controllers/FrmAppController.php:181
684
+ #: classes/controllers/FrmAppController.php:187
685
  msgid "Views"
686
  msgstr ""
687
 
688
+ #: classes/controllers/FrmAppController.php:193
689
+ #: classes/controllers/FrmAppController.php:199
690
  msgid "Reports"
691
  msgstr ""
692
 
693
+ #: classes/controllers/FrmAppController.php:215
694
  msgid "Build a Form"
695
  msgstr ""
696
 
697
+ #: classes/controllers/FrmXMLController.php:6
698
  #: classes/views/xml/import_form.php:5
699
  msgid "Import/Export"
700
  msgstr ""
701
 
702
+ #: classes/controllers/FrmXMLController.php:48
703
  msgid "There was an error reading the form template"
704
  msgstr ""
705
 
706
+ #: classes/controllers/FrmXMLController.php:68
707
  msgid "There was an error importing form"
708
  msgstr ""
709
 
710
+ #: classes/controllers/FrmXMLController.php:132
711
+ #: classes/controllers/FrmStylesController.php:48
712
  #: classes/controllers/FrmFormsController.php:6
713
  #: classes/controllers/FrmFormsController.php:739
714
  #: classes/views/frm-forms/list.php:5
715
  msgid "Forms"
716
  msgstr ""
717
 
718
+ #: classes/controllers/FrmXMLController.php:168
719
  msgid "Oops, you didn't select a file."
720
  msgstr ""
721
 
722
+ #: classes/controllers/FrmXMLController.php:179
723
  msgid "The file does not exist, please try again."
724
  msgstr ""
725
 
726
+ #: classes/controllers/FrmXMLController.php:208
727
  msgid "XML import is not enabled on your server with the libxml_disable_entity_loader function."
728
  msgstr ""
729
 
730
+ #: classes/controllers/FrmXMLController.php:416
731
  msgid "Please select a form"
732
  msgstr ""
733
 
734
+ #: classes/controllers/FrmXMLController.php:473
735
  msgid "There are no entries for that form."
736
  msgstr ""
737
 
849
  msgid "Analyze form data with graphs & stats"
850
  msgstr ""
851
 
852
+ #: classes/controllers/FrmInboxController.php:13
853
+ #: classes/views/inbox/list.php:6
854
+ msgid "Inbox"
855
+ msgstr ""
856
+
857
+ #: classes/controllers/FrmInboxController.php:73
858
+ msgid "Help Formidable improve with usage tracking"
859
+ msgstr ""
860
+
861
  #: classes/controllers/FrmSMTPController.php:99
862
  msgid "SMTP"
863
  msgstr ""
923
  #: classes/views/addons/list.php:74
924
  #: classes/views/addons/list.php:75
925
  #: classes/views/shared/upgrade_overlay.php:27
926
+ #: classes/helpers/FrmFormMigratorsHelper.php:130
927
+ #: classes/helpers/FrmAppHelper.php:2259
928
  msgid "Install"
929
  msgstr ""
930
 
953
  #: classes/controllers/FrmStylesController.php:17
954
  #: classes/controllers/FrmStylesController.php:35
955
  #: classes/controllers/FrmStylesController.php:47
956
+ #: classes/controllers/FrmStylesController.php:48
957
  msgid "Styles"
958
  msgstr ""
959
 
980
  msgid "Edit Style"
981
  msgstr ""
982
 
983
+ #: classes/controllers/FrmStylesController.php:226
984
+ #: classes/controllers/FrmStylesController.php:330
985
  msgid "Your styling settings have been saved."
986
  msgstr ""
987
 
988
+ #: classes/controllers/FrmStylesController.php:287
989
  msgid "Your form styles have been saved."
990
  msgstr ""
991
 
992
+ #: classes/controllers/FrmStylesController.php:390
993
  #: classes/controllers/FrmFormsController.php:953
994
  msgid "General"
995
  msgstr ""
996
 
997
+ #: classes/controllers/FrmStylesController.php:391
998
  #: classes/controllers/FrmFormsController.php:728
999
  #: classes/views/frm-forms/settings-advanced.php:8
1000
  #: classes/views/xml/import_form.php:113
1003
  msgid "Form Title"
1004
  msgstr ""
1005
 
1006
+ #: classes/controllers/FrmStylesController.php:392
1007
  #: classes/views/frm-forms/new-form-overlay.php:16
1008
  #: classes/views/frm-forms/new-form-overlay.php:17
1009
  #: classes/views/frm-forms/settings-advanced.php:22
1011
  msgid "Form Description"
1012
  msgstr ""
1013
 
1014
+ #: classes/controllers/FrmStylesController.php:393
1015
  msgid "Field Labels"
1016
  msgstr ""
1017
 
1018
+ #: classes/controllers/FrmStylesController.php:394
1019
  #: classes/views/frm-fields/back-end/field-description.php:3
1020
  #: classes/helpers/FrmFormsHelper.php:469
1021
  msgid "Field Description"
1022
  msgstr ""
1023
 
1024
+ #: classes/controllers/FrmStylesController.php:395
1025
  msgid "Field Colors"
1026
  msgstr ""
1027
 
1028
+ #: classes/controllers/FrmStylesController.php:396
1029
  msgid "Field Settings"
1030
  msgstr ""
1031
 
1032
+ #: classes/controllers/FrmStylesController.php:397
1033
  msgid "Check Box & Radio Fields"
1034
  msgstr ""
1035
 
1036
+ #: classes/controllers/FrmStylesController.php:398
1037
+ #: classes/views/frm-forms/settings-buttons.php:41
1038
  msgid "Buttons"
1039
  msgstr ""
1040
 
1041
+ #: classes/controllers/FrmStylesController.php:399
1042
  msgid "Form Messages"
1043
  msgstr ""
1044
 
1308
  msgid "Abnormal HTML characters prevented your form from saving correctly"
1309
  msgstr ""
1310
 
1311
+ #: classes/controllers/FrmFormsController.php:1477
1312
  #: classes/views/frm-forms/list-templates.php:198
1313
  #: classes/views/xml/import_form.php:128
1314
  #: classes/views/styles/manage.php:54
1320
  msgid "(no title)"
1321
  msgstr ""
1322
 
1323
+ #: classes/controllers/FrmFormsController.php:1523
1324
+ #: classes/controllers/FrmFormsController.php:1537
1325
  msgid "Please select a valid form"
1326
  msgstr ""
1327
 
1328
+ #: classes/controllers/FrmFormsController.php:1769
1329
  msgid "Please wait while you are redirected."
1330
  msgstr ""
1331
 
1332
  #. translators: %1$s: Start link HTML, %2$s: End link HTML
1333
+ #: classes/controllers/FrmFormsController.php:1805
1334
  msgid "%1$sClick here%2$s if you are not automatically redirected."
1335
  msgstr ""
1336
 
1411
  msgid "Entry was Successfully Deleted"
1412
  msgstr ""
1413
 
1414
+ #: classes/views/inbox/list.php:14
1415
+ msgid "You don't have any messages"
1416
+ msgstr ""
1417
+
1418
+ #: classes/views/inbox/list.php:16
1419
+ msgid "Get the details about new updates, tips, sales, and more. We'll keep you in the loop."
1420
+ msgstr ""
1421
+
1422
+ #: classes/views/inbox/list.php:17
1423
+ msgid "Want more news and email updates?"
1424
+ msgstr ""
1425
+
1426
+ #: classes/views/inbox/list.php:26
1427
+ msgid "Subscribe"
1428
+ msgstr ""
1429
+
1430
+ #. translators: %s: Time stamp
1431
+ #: classes/views/inbox/list.php:63
1432
+ msgid "%s ago"
1433
+ msgstr ""
1434
+
1435
  #: classes/views/frm-forms/actions-dropdown.php:2
1436
  msgid "Show options"
1437
  msgstr ""
1451
  msgid "In Theme"
1452
  msgstr ""
1453
 
1454
+ #: classes/views/frm-forms/add_form_style_options.php:4
1455
+ msgid "Page Turn Transitions"
1456
+ msgstr ""
1457
+
1458
+ #: classes/views/frm-forms/add_form_style_options.php:10
1459
+ msgid "Slide horizonally"
1460
+ msgstr ""
1461
+
1462
+ #: classes/views/frm-forms/add_form_style_options.php:13
1463
+ msgid "Slide vertically"
1464
+ msgstr ""
1465
+
1466
  #: classes/views/frm-forms/settings-html.php:3
1467
  msgid "Form Classes"
1468
  msgstr ""
1501
  #: classes/views/frm-forms/new-form-overlay.php:31
1502
  #: classes/views/shared/confirm-overlay.php:14
1503
  #: classes/views/shared/admin-header.php:42
1504
+ #: classes/helpers/FrmAppHelper.php:2220
1505
  msgid "Cancel"
1506
  msgstr ""
1507
 
1513
  #: classes/views/shared/mb_adv_info.php:35
1514
  #: classes/views/shared/mb_adv_info.php:178
1515
  #: classes/views/frm-entries/list.php:42
1516
+ #: classes/helpers/FrmAppHelper.php:906
1517
  msgid "Search"
1518
  msgstr ""
1519
 
1608
 
1609
  #: classes/views/frm-forms/list-templates.php:259
1610
  #: classes/views/frm-forms/list-templates.php:260
1611
+ #: classes/helpers/FrmFormsHelper.php:1272
1612
  msgid "Create Form"
1613
  msgstr ""
1614
 
1699
  msgstr ""
1700
 
1701
  #: classes/views/frm-forms/settings-advanced.php:93
1702
+ #: classes/helpers/FrmAppHelper.php:1031
1703
  msgid "Select a Page"
1704
  msgstr ""
1705
 
1801
  msgid "Do not use Formidable styling"
1802
  msgstr ""
1803
 
1804
+ #: classes/views/frm-forms/settings-buttons.php:45
1805
  #: classes/views/frm-settings/messages.php:64
1806
  msgid "Submit Button Text"
1807
  msgstr ""
1892
  msgid "From"
1893
  msgstr ""
1894
 
1895
+ #: classes/views/frm-form-actions/_email_settings.php:44
1896
+ msgid "Warning: If you are sending an email to the user, the To and From fields should not match."
1897
+ msgstr ""
1898
+
1899
+ #: classes/views/frm-form-actions/_email_settings.php:49
1900
+ #: classes/views/frm-form-actions/_email_settings.php:55
1901
  msgid "Reply To"
1902
  msgstr ""
1903
 
1904
+ #: classes/views/frm-form-actions/_email_settings.php:64
1905
  msgid "Subject"
1906
  msgstr ""
1907
 
1908
+ #: classes/views/frm-form-actions/_email_settings.php:71
1909
  msgid "Message"
1910
  msgstr ""
1911
 
1912
+ #: classes/views/frm-form-actions/_email_settings.php:79
1913
  msgid "Append IP Address, Browser, and Referring URL to message"
1914
  msgstr ""
1915
 
1916
+ #: classes/views/frm-form-actions/_email_settings.php:81
1917
  msgid "Append Browser and Referring URL to message"
1918
  msgstr ""
1919
 
1920
+ #: classes/views/frm-form-actions/_email_settings.php:88
1921
  msgid "Send Emails in Plain Text"
1922
  msgstr ""
1923
 
2011
  msgid "Renew Now"
2012
  msgstr ""
2013
 
2014
+ #: classes/views/shared/errors.php:33
2015
  msgid "Warning:"
2016
  msgstr ""
2017
 
2019
  #: classes/views/shared/upgrade_overlay.php:4
2020
  #: classes/views/shared/info-overlay.php:4
2021
  #: classes/views/frm-settings/settings_cta.php:5
2022
+ #: classes/helpers/FrmFormMigratorsHelper.php:100
2023
  msgid "Dismiss this message"
2024
  msgstr ""
2025
 
2026
  #: classes/views/shared/confirm-overlay.php:10
2027
  #: classes/views/shared/info-overlay.php:10
2028
+ #: classes/helpers/FrmAppHelper.php:2227
2029
  msgid "Are you sure?"
2030
  msgstr ""
2031
 
2072
  msgid "Already purchased?"
2073
  msgstr ""
2074
 
2075
+ #: classes/views/shared/review.php:6
 
 
 
 
 
2076
  msgid "Are you enjoying Formidable Forms?"
2077
  msgstr ""
2078
 
2079
+ #: classes/views/shared/review.php:9
2080
  msgid "Not Really"
2081
  msgstr ""
2082
 
2083
+ #: classes/views/shared/review.php:12
2084
  msgid "Yes!"
2085
  msgstr ""
2086
 
2087
+ #: classes/views/shared/review.php:16
2088
  msgid "Awesome! Could you do me a BIG favor and give Formidable Forms a review to help me grow my little business and boost our motivation?"
2089
  msgstr ""
2090
 
2091
+ #: classes/views/shared/review.php:21
 
 
 
 
2092
  msgid "No thanks, maybe later"
2093
  msgstr ""
2094
 
2095
+ #: classes/views/shared/review.php:28
 
 
 
 
2096
  msgid "I already did"
2097
  msgstr ""
2098
 
2099
+ #: classes/views/shared/review.php:32
2100
  msgid "Sorry to hear you aren't enjoying building with Formidable. We would love a chance to improve. Could you take a minute and let us know what we can do better?"
2101
  msgstr ""
2102
 
2127
 
2128
  #: classes/views/shared/mb_adv_info.php:90
2129
  #: classes/helpers/FrmCSVExportHelper.php:154
2130
+ #: classes/helpers/FrmAppHelper.php:2199
2131
  msgid "ID"
2132
  msgstr ""
2133
 
2137
 
2138
  #: classes/views/shared/mb_adv_info.php:108
2139
  #: classes/views/shared/mb_adv_info.php:122
2140
+ #: classes/helpers/FrmAppHelper.php:2261
2141
  msgid "Select a Field"
2142
  msgstr ""
2143
 
2748
  msgstr ""
2749
 
2750
  #: classes/views/frm-fields/back-end/settings.php:265
2751
+ #: classes/helpers/FrmAppHelper.php:2221
2752
  msgid "Default"
2753
  msgstr ""
2754
 
3435
  msgstr ""
3436
 
3437
  #: classes/helpers/FrmFormsListHelper.php:114
3438
+ #: classes/helpers/FrmAppHelper.php:891
3439
  msgid "Add New"
3440
  msgstr ""
3441
 
3467
 
3468
  #: classes/helpers/FrmFormsListHelper.php:160
3469
  #: classes/helpers/FrmFormsHelper.php:1096
3470
+ #: classes/helpers/FrmFormsHelper.php:1199
3471
  msgid "Trash"
3472
  msgstr ""
3473
 
3481
  msgstr ""
3482
 
3483
  #: classes/helpers/FrmFormsListHelper.php:344
3484
+ #: classes/helpers/FrmFormsHelper.php:1198
3485
  #: classes/helpers/FrmCSVExportHelper.php:152
3486
  msgid "Draft"
3487
  msgstr ""
3488
 
3489
  #: classes/helpers/FrmFieldsHelper.php:286
3490
+ #: classes/helpers/FrmAppHelper.php:2232
3491
  msgid "The entered values do not match"
3492
  msgstr ""
3493
 
3498
 
3499
  #: classes/helpers/FrmFieldsHelper.php:456
3500
  #: classes/helpers/FrmFieldsHelper.php:457
3501
+ #: classes/helpers/FrmAppHelper.php:2236
3502
  msgid "New Option"
3503
  msgstr ""
3504
 
4669
  msgstr ""
4670
 
4671
  #: classes/helpers/FrmStylesHelper.php:110
4672
+ #: classes/helpers/FrmFormsHelper.php:1133
4673
  msgid "Right"
4674
  msgstr ""
4675
 
4698
  msgstr ""
4699
 
4700
  #: classes/helpers/FrmListHelper.php:257
4701
+ #: classes/helpers/FrmAppHelper.php:2262
4702
  msgid "No items found."
4703
  msgstr ""
4704
 
4757
  msgid "Select All"
4758
  msgstr ""
4759
 
4760
+ #: classes/helpers/FrmFormMigratorsHelper.php:46
4761
+ msgid "Learn More"
4762
+ msgstr ""
4763
+
4764
+ #: classes/helpers/FrmFormMigratorsHelper.php:116
4765
  msgid "Get Started"
4766
  msgstr ""
4767
 
4768
  #. translators: %s: Name of the plugin
4769
+ #: classes/helpers/FrmFormMigratorsHelper.php:126
4770
  msgid "Activate %s"
4771
  msgstr ""
4772
 
4773
  #. translators: %s: Name of the plugin
4774
+ #: classes/helpers/FrmFormMigratorsHelper.php:134
4775
  msgid "Install %s Importer"
4776
  msgstr ""
4777
 
4902
  msgstr ""
4903
 
4904
  #: classes/helpers/FrmFormsHelper.php:1122
4905
+ msgid "Big Total"
4906
  msgstr ""
4907
 
4908
  #: classes/helpers/FrmFormsHelper.php:1123
4909
+ msgid "Add this to a read-only field to display the text in large, bold text without a border or background."
4910
  msgstr ""
4911
 
4912
  #: classes/helpers/FrmFormsHelper.php:1126
4913
+ msgid "Scroll Box"
4914
  msgstr ""
4915
 
4916
  #: classes/helpers/FrmFormsHelper.php:1127
4917
+ msgid "If you have many checkbox or radio button options, you may add this class to allow your user to easily scroll through the options. Or add a scrolling area around content in an HTML field."
4918
  msgstr ""
4919
 
4920
  #: classes/helpers/FrmFormsHelper.php:1130
4921
+ msgid "First"
4922
  msgstr ""
4923
 
4924
  #: classes/helpers/FrmFormsHelper.php:1131
4925
+ msgid "Add this to the first field in each row along with a width. ie frm_first frm4"
4926
+ msgstr ""
4927
+
4928
+ #: classes/helpers/FrmFormsHelper.php:1134
4929
+ msgid "First Grid Row"
4930
+ msgstr ""
4931
+
4932
+ #: classes/helpers/FrmFormsHelper.php:1135
4933
  msgid "Even Grid Row"
4934
  msgstr ""
4935
 
4936
+ #: classes/helpers/FrmFormsHelper.php:1136
4937
  msgid "Odd Grid Row"
4938
  msgstr ""
4939
 
4940
+ #: classes/helpers/FrmFormsHelper.php:1138
4941
+ msgid "Color Block"
4942
+ msgstr ""
4943
+
4944
+ #: classes/helpers/FrmFormsHelper.php:1139
4945
+ msgid "Add a background color to the field or section."
4946
+ msgstr ""
4947
+
4948
+ #: classes/helpers/FrmFormsHelper.php:1142
4949
  msgid "Capitalize"
4950
  msgstr ""
4951
 
4952
+ #: classes/helpers/FrmFormsHelper.php:1143
4953
  msgid "Automatically capitalize the first letter in each word."
4954
  msgstr ""
4955
 
4956
+ #: classes/helpers/FrmFormsHelper.php:1200
4957
  msgid "Published"
4958
  msgstr ""
4959
 
4960
+ #: classes/helpers/FrmFormsHelper.php:1280
4961
  msgid "Renew"
4962
  msgstr ""
4963
 
4964
+ #: classes/helpers/FrmFormsHelper.php:1344
4965
  msgid "License plan required:"
4966
  msgstr ""
4967
 
4968
+ #: classes/helpers/FrmFormsHelper.php:1452
4969
  msgid "Is this intentional?"
4970
  msgstr ""
4971
 
4972
+ #: classes/helpers/FrmFormsHelper.php:1453
4973
+ #: classes/helpers/FrmAppHelper.php:2256
4974
  msgid "See the list of reserved words in WordPress."
4975
  msgstr ""
4976
 
4977
  #. translators: %s: the name of a single parameter in the redirect URL
4978
+ #: classes/helpers/FrmFormsHelper.php:1462
4979
  msgid "The redirect URL is using the parameter \"%s\", which is reserved by WordPress. "
4980
  msgstr ""
4981
 
4982
  #. translators: %s: the names of two or more parameters in the redirect URL, separated by commas
4983
+ #: classes/helpers/FrmFormsHelper.php:1468
4984
  msgid "The redirect URL is using the parameters \"%s\", which are reserved by WordPress. "
4985
  msgstr ""
4986
 
5020
  msgid "Parent ID"
5021
  msgstr ""
5022
 
5023
+ #: classes/helpers/FrmAppHelper.php:1162
5024
  msgid "View Forms"
5025
  msgstr ""
5026
 
5027
+ #: classes/helpers/FrmAppHelper.php:1163
5028
  msgid "Add and Edit Forms"
5029
  msgstr ""
5030
 
5031
+ #: classes/helpers/FrmAppHelper.php:1164
5032
  msgid "Delete Forms"
5033
  msgstr ""
5034
 
5035
+ #: classes/helpers/FrmAppHelper.php:1165
5036
  msgid "Access this Settings Page"
5037
  msgstr ""
5038
 
5039
+ #: classes/helpers/FrmAppHelper.php:1166
5040
  msgid "View Entries from Admin Area"
5041
  msgstr ""
5042
 
5043
+ #: classes/helpers/FrmAppHelper.php:1167
5044
  msgid "Delete Entries from Admin Area"
5045
  msgstr ""
5046
 
5047
+ #: classes/helpers/FrmAppHelper.php:1174
5048
  msgid "Add Entries from Admin Area"
5049
  msgstr ""
5050
 
5051
+ #: classes/helpers/FrmAppHelper.php:1175
5052
  msgid "Edit Entries from Admin Area"
5053
  msgstr ""
5054
 
5055
+ #: classes/helpers/FrmAppHelper.php:1176
5056
  msgid "View Reports"
5057
  msgstr ""
5058
 
5059
+ #: classes/helpers/FrmAppHelper.php:1177
5060
  msgid "Add/Edit Views"
5061
  msgstr ""
5062
 
5063
+ #: classes/helpers/FrmAppHelper.php:1799
5064
  msgid "at"
5065
  msgstr ""
5066
 
5067
+ #: classes/helpers/FrmAppHelper.php:1850
5068
+ #: classes/helpers/FrmAppHelper.php:1869
5069
  msgid "seconds"
5070
  msgstr ""
5071
 
5072
+ #: classes/helpers/FrmAppHelper.php:1863
5073
  msgid "year"
5074
  msgstr ""
5075
 
5076
+ #: classes/helpers/FrmAppHelper.php:1863
5077
  msgid "years"
5078
  msgstr ""
5079
 
5080
+ #: classes/helpers/FrmAppHelper.php:1864
5081
  msgid "month"
5082
  msgstr ""
5083
 
5084
+ #: classes/helpers/FrmAppHelper.php:1864
5085
  msgid "months"
5086
  msgstr ""
5087
 
5088
+ #: classes/helpers/FrmAppHelper.php:1865
5089
  msgid "week"
5090
  msgstr ""
5091
 
5092
+ #: classes/helpers/FrmAppHelper.php:1865
5093
  msgid "weeks"
5094
  msgstr ""
5095
 
5096
+ #: classes/helpers/FrmAppHelper.php:1866
5097
  msgid "day"
5098
  msgstr ""
5099
 
5100
+ #: classes/helpers/FrmAppHelper.php:1866
5101
  msgid "days"
5102
  msgstr ""
5103
 
5104
+ #: classes/helpers/FrmAppHelper.php:1867
5105
  msgid "hour"
5106
  msgstr ""
5107
 
5108
+ #: classes/helpers/FrmAppHelper.php:1867
5109
  msgid "hours"
5110
  msgstr ""
5111
 
5112
+ #: classes/helpers/FrmAppHelper.php:1868
5113
  msgid "minute"
5114
  msgstr ""
5115
 
5116
+ #: classes/helpers/FrmAppHelper.php:1868
5117
  msgid "minutes"
5118
  msgstr ""
5119
 
5120
+ #: classes/helpers/FrmAppHelper.php:1869
5121
  msgid "second"
5122
  msgstr ""
5123
 
5124
+ #: classes/helpers/FrmAppHelper.php:1961
5125
  msgid "Give this action a label for easy reference."
5126
  msgstr ""
5127
 
5128
+ #: classes/helpers/FrmAppHelper.php:1962
5129
  msgid "Add one or more recipient addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com. [admin_email] is the address set in WP General Settings."
5130
  msgstr ""
5131
 
5132
+ #: classes/helpers/FrmAppHelper.php:1963
5133
  msgid "Add CC addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com."
5134
  msgstr ""
5135
 
5136
+ #: classes/helpers/FrmAppHelper.php:1964
5137
  msgid "Add BCC addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com."
5138
  msgstr ""
5139
 
5140
+ #: classes/helpers/FrmAppHelper.php:1965
5141
  msgid "If you would like a different reply to address than the \"from\" address, add a single address here. FORMAT: Name <name@email.com> or name@email.com."
5142
  msgstr ""
5143
 
5144
+ #: classes/helpers/FrmAppHelper.php:1966
5145
  msgid "Enter the name and/or email address of the sender. FORMAT: John Bates <john@example.com> or john@example.com."
5146
  msgstr ""
5147
 
5148
  #. translators: %1$s: Form name, %2$s: Date
5149
+ #: classes/helpers/FrmAppHelper.php:1968
5150
  msgid "If you leave the subject blank, the default will be used: %1$s Form submitted on %2$s"
5151
  msgstr ""
5152
 
5153
+ #: classes/helpers/FrmAppHelper.php:2162
5154
+ #: classes/helpers/FrmAppHelper.php:2241
5155
  msgid "Please wait while your site updates."
5156
  msgstr ""
5157
 
5158
+ #: classes/helpers/FrmAppHelper.php:2163
5159
  msgid "Are you sure you want to deauthorize Formidable Forms on this site?"
5160
  msgstr ""
5161
 
5162
+ #: classes/helpers/FrmAppHelper.php:2166
5163
+ #: classes/helpers/FrmAppHelper.php:2195
5164
  msgid "Loading&hellip;"
5165
  msgstr ""
5166
 
5167
+ #: classes/helpers/FrmAppHelper.php:2196
5168
  msgid "Remove"
5169
  msgstr ""
5170
 
5171
+ #: classes/helpers/FrmAppHelper.php:2200
5172
  msgid "No results match"
5173
  msgstr ""
5174
 
5175
+ #: classes/helpers/FrmAppHelper.php:2201
5176
  msgid "That file looks like Spam."
5177
  msgstr ""
5178
 
5179
+ #: classes/helpers/FrmAppHelper.php:2202
5180
  msgid "There is an error in the calculation in the field with key"
5181
  msgstr ""
5182
 
5183
+ #: classes/helpers/FrmAppHelper.php:2203
5184
  msgid "Please complete the preceding required fields before uploading a file."
5185
  msgstr ""
5186
 
5187
+ #: classes/helpers/FrmAppHelper.php:2214
5188
  msgid "(Click to add description)"
5189
  msgstr ""
5190
 
5191
+ #: classes/helpers/FrmAppHelper.php:2215
5192
  msgid "(Blank)"
5193
  msgstr ""
5194
 
5195
+ #: classes/helpers/FrmAppHelper.php:2216
5196
  msgid "(no label)"
5197
  msgstr ""
5198
 
5199
+ #: classes/helpers/FrmAppHelper.php:2217
5200
  msgid "Saving"
5201
  msgstr ""
5202
 
5203
+ #: classes/helpers/FrmAppHelper.php:2218
5204
  msgid "Saved"
5205
  msgstr ""
5206
 
5207
+ #: classes/helpers/FrmAppHelper.php:2219
5208
  msgid "OK"
5209
  msgstr ""
5210
 
5211
+ #: classes/helpers/FrmAppHelper.php:2222
5212
  msgid "Clear default value when typing"
5213
  msgstr ""
5214
 
5215
+ #: classes/helpers/FrmAppHelper.php:2223
5216
  msgid "Do not clear default value when typing"
5217
  msgstr ""
5218
 
5219
+ #: classes/helpers/FrmAppHelper.php:2224
5220
  msgid "Default value will pass form validation"
5221
  msgstr ""
5222
 
5223
+ #: classes/helpers/FrmAppHelper.php:2225
5224
  msgid "Default value will NOT pass form validation"
5225
  msgstr ""
5226
 
5227
+ #: classes/helpers/FrmAppHelper.php:2226
5228
  msgid "Heads up"
5229
  msgstr ""
5230
 
5231
+ #: classes/helpers/FrmAppHelper.php:2228
5232
  msgid "Are you sure you want to delete this field and all data associated with it?"
5233
  msgstr ""
5234
 
5235
+ #: classes/helpers/FrmAppHelper.php:2229
5236
  msgid "All fields inside this Section will be deleted along with their data. Are you sure you want to delete this group of fields?"
5237
  msgstr ""
5238
 
5239
+ #: classes/helpers/FrmAppHelper.php:2230
5240
  msgid "Warning: If you have entries with multiple rows, all but the first row will be lost."
5241
  msgstr ""
5242
 
5243
+ #: classes/helpers/FrmAppHelper.php:2233
5244
  msgid "Enter Email"
5245
  msgstr ""
5246
 
5247
+ #: classes/helpers/FrmAppHelper.php:2234
5248
  msgid "Confirm Email"
5249
  msgstr ""
5250
 
5251
+ #: classes/helpers/FrmAppHelper.php:2235
5252
  msgid "Conditional content here"
5253
  msgstr ""
5254
 
5255
+ #: classes/helpers/FrmAppHelper.php:2237
5256
  msgid "In certain browsers (e.g. Firefox) text will not display correctly if the field height is too small relative to the field padding and text size. Please increase your field height or decrease your field padding."
5257
  msgstr ""
5258
 
5259
+ #: classes/helpers/FrmAppHelper.php:2238
5260
  msgid "Enter Password"
5261
  msgstr ""
5262
 
5263
+ #: classes/helpers/FrmAppHelper.php:2239
5264
  msgid "Confirm Password"
5265
  msgstr ""
5266
 
5267
+ #: classes/helpers/FrmAppHelper.php:2240
5268
  msgid "Import Complete"
5269
  msgstr ""
5270
 
5271
+ #: classes/helpers/FrmAppHelper.php:2242
5272
  msgid "Warning: There is no way to retrieve unsaved entries."
5273
  msgstr ""
5274
 
5275
+ #: classes/helpers/FrmAppHelper.php:2243
5276
  msgid "Private"
5277
  msgstr ""
5278
 
5279
+ #: classes/helpers/FrmAppHelper.php:2246
5280
  msgid "No new licenses were found"
5281
  msgstr ""
5282
 
5283
+ #: classes/helpers/FrmAppHelper.php:2247
5284
  msgid "This calculation has at least one unmatched ( ) { } [ ]."
5285
  msgstr ""
5286
 
5287
+ #: classes/helpers/FrmAppHelper.php:2248
5288
  msgid "This calculation may have shortcodes that work in Views but not forms."
5289
  msgstr ""
5290
 
5291
+ #: classes/helpers/FrmAppHelper.php:2249
5292
  msgid "This calculation may have shortcodes that work in text calculations but not numeric calculations."
5293
  msgstr ""
5294
 
5295
+ #: classes/helpers/FrmAppHelper.php:2250
5296
  msgid "This form action is limited to one per form. Please edit the existing form action."
5297
  msgstr ""
5298
 
5299
  #. Translators: %s is the name of a Detail Page Slug that is a reserved word.
5300
+ #: classes/helpers/FrmAppHelper.php:2253
5301
  msgid "The Detail Page Slug \"%s\" is reserved by WordPress. This may cause problems. Is this intentional?"
5302
  msgstr ""
5303
 
5304
  #. Translators: %s is the name of a parameter that is a reserved word. More than one word could be listed here, though that would not be common.
5305
+ #: classes/helpers/FrmAppHelper.php:2255
5306
  msgid "The parameter \"%s\" is reserved by WordPress. This may cause problems when included in the URL. Is this intentional? "
5307
  msgstr ""
5308
 
5309
+ #: classes/helpers/FrmAppHelper.php:2257
5310
  msgid "Please enter a Repeat Limit that is greater than 1."
5311
  msgstr ""
5312
 
5313
+ #: classes/helpers/FrmAppHelper.php:2258
5314
  msgid "Please select a limit between 0 and 200."
5315
  msgstr ""
5316
 
5317
+ #: classes/helpers/FrmAppHelper.php:2289
5318
  msgid "You are running an outdated version of Formidable. This plugin may not work correctly if you do not update Formidable."
5319
  msgstr ""
5320
 
5321
+ #: classes/helpers/FrmAppHelper.php:2316
5322
  msgid "You are running a version of Formidable Forms that may not be compatible with your version of Formidable Forms Pro."
5323
  msgstr ""
5324
 
5325
+ #: classes/helpers/FrmAppHelper.php:2344
5326
  msgid "The version of PHP on your server is too low. If this is not corrected, you may see issues with Formidable Forms. Please contact your web host and ask to be updated to PHP 7.0+."
5327
  msgstr ""
5328
 
5329
+ #: classes/helpers/FrmAppHelper.php:2350
5330
  msgid "You are using an outdated browser that is not compatible with Formidable Forms. Please update to a more current browser (we recommend Chrome)."
5331
  msgstr ""
5332
 
5333
+ #: classes/helpers/FrmAppHelper.php:2364
5334
  msgid "English"
5335
  msgstr ""
5336
 
5337
+ #: classes/helpers/FrmAppHelper.php:2365
5338
  msgid "Afrikaans"
5339
  msgstr ""
5340
 
5341
+ #: classes/helpers/FrmAppHelper.php:2366
5342
  msgid "Albanian"
5343
  msgstr ""
5344
 
5345
+ #: classes/helpers/FrmAppHelper.php:2367
5346
  msgid "Arabic"
5347
  msgstr ""
5348
 
5349
+ #: classes/helpers/FrmAppHelper.php:2368
5350
  msgid "Armenian"
5351
  msgstr ""
5352
 
5353
+ #: classes/helpers/FrmAppHelper.php:2369
5354
  msgid "Azerbaijani"
5355
  msgstr ""
5356
 
5357
+ #: classes/helpers/FrmAppHelper.php:2370
5358
  msgid "Basque"
5359
  msgstr ""
5360
 
5361
+ #: classes/helpers/FrmAppHelper.php:2371
5362
  msgid "Bosnian"
5363
  msgstr ""
5364
 
5365
+ #: classes/helpers/FrmAppHelper.php:2372
5366
  msgid "Bulgarian"
5367
  msgstr ""
5368
 
5369
+ #: classes/helpers/FrmAppHelper.php:2373
5370
  msgid "Catalan"
5371
  msgstr ""
5372
 
5373
+ #: classes/helpers/FrmAppHelper.php:2374
5374
  msgid "Chinese Hong Kong"
5375
  msgstr ""
5376
 
5377
+ #: classes/helpers/FrmAppHelper.php:2375
5378
  msgid "Chinese Simplified"
5379
  msgstr ""
5380
 
5381
+ #: classes/helpers/FrmAppHelper.php:2376
5382
  msgid "Chinese Traditional"
5383
  msgstr ""
5384
 
5385
+ #: classes/helpers/FrmAppHelper.php:2377
5386
  msgid "Croatian"
5387
  msgstr ""
5388
 
5389
+ #: classes/helpers/FrmAppHelper.php:2378
5390
  msgid "Czech"
5391
  msgstr ""
5392
 
5393
+ #: classes/helpers/FrmAppHelper.php:2379
5394
  msgid "Danish"
5395
  msgstr ""
5396
 
5397
+ #: classes/helpers/FrmAppHelper.php:2380
5398
  msgid "Dutch"
5399
  msgstr ""
5400
 
5401
+ #: classes/helpers/FrmAppHelper.php:2381
5402
  msgid "English/UK"
5403
  msgstr ""
5404
 
5405
+ #: classes/helpers/FrmAppHelper.php:2382
5406
  msgid "Esperanto"
5407
  msgstr ""
5408
 
5409
+ #: classes/helpers/FrmAppHelper.php:2383
5410
  msgid "Estonian"
5411
  msgstr ""
5412
 
5413
+ #: classes/helpers/FrmAppHelper.php:2384
5414
  msgid "Faroese"
5415
  msgstr ""
5416
 
5417
+ #: classes/helpers/FrmAppHelper.php:2385
5418
  msgid "Farsi/Persian"
5419
  msgstr ""
5420
 
5421
+ #: classes/helpers/FrmAppHelper.php:2386
5422
  msgid "Filipino"
5423
  msgstr ""
5424
 
5425
+ #: classes/helpers/FrmAppHelper.php:2387
5426
  msgid "Finnish"
5427
  msgstr ""
5428
 
5429
+ #: classes/helpers/FrmAppHelper.php:2388
5430
  msgid "French"
5431
  msgstr ""
5432
 
5433
+ #: classes/helpers/FrmAppHelper.php:2389
5434
  msgid "French/Canadian"
5435
  msgstr ""
5436
 
5437
+ #: classes/helpers/FrmAppHelper.php:2390
5438
  msgid "French/Swiss"
5439
  msgstr ""
5440
 
5441
+ #: classes/helpers/FrmAppHelper.php:2391
5442
  msgid "German"
5443
  msgstr ""
5444
 
5445
+ #: classes/helpers/FrmAppHelper.php:2392
5446
  msgid "German/Austria"
5447
  msgstr ""
5448
 
5449
+ #: classes/helpers/FrmAppHelper.php:2393
5450
  msgid "German/Switzerland"
5451
  msgstr ""
5452
 
5453
+ #: classes/helpers/FrmAppHelper.php:2394
5454
  msgid "Greek"
5455
  msgstr ""
5456
 
5457
+ #: classes/helpers/FrmAppHelper.php:2395
5458
+ #: classes/helpers/FrmAppHelper.php:2396
5459
  msgid "Hebrew"
5460
  msgstr ""
5461
 
5462
+ #: classes/helpers/FrmAppHelper.php:2397
5463
  msgid "Hindi"
5464
  msgstr ""
5465
 
5466
+ #: classes/helpers/FrmAppHelper.php:2398
5467
  msgid "Hungarian"
5468
  msgstr ""
5469
 
5470
+ #: classes/helpers/FrmAppHelper.php:2399
5471
  msgid "Icelandic"
5472
  msgstr ""
5473
 
5474
+ #: classes/helpers/FrmAppHelper.php:2400
5475
  msgid "Indonesian"
5476
  msgstr ""
5477
 
5478
+ #: classes/helpers/FrmAppHelper.php:2401
5479
  msgid "Italian"
5480
  msgstr ""
5481
 
5482
+ #: classes/helpers/FrmAppHelper.php:2402
5483
  msgid "Japanese"
5484
  msgstr ""
5485
 
5486
+ #: classes/helpers/FrmAppHelper.php:2403
5487
  msgid "Korean"
5488
  msgstr ""
5489
 
5490
+ #: classes/helpers/FrmAppHelper.php:2404
5491
  msgid "Latvian"
5492
  msgstr ""
5493
 
5494
+ #: classes/helpers/FrmAppHelper.php:2405
5495
  msgid "Lithuanian"
5496
  msgstr ""
5497
 
5498
+ #: classes/helpers/FrmAppHelper.php:2406
5499
  msgid "Malaysian"
5500
  msgstr ""
5501
 
5502
+ #: classes/helpers/FrmAppHelper.php:2407
5503
  msgid "Norwegian"
5504
  msgstr ""
5505
 
5506
+ #: classes/helpers/FrmAppHelper.php:2408
5507
  msgid "Polish"
5508
  msgstr ""
5509
 
5510
+ #: classes/helpers/FrmAppHelper.php:2409
5511
  msgid "Portuguese"
5512
  msgstr ""
5513
 
5514
+ #: classes/helpers/FrmAppHelper.php:2410
5515
  msgid "Portuguese/Brazilian"
5516
  msgstr ""
5517
 
5518
+ #: classes/helpers/FrmAppHelper.php:2411
5519
  msgid "Portuguese/Portugal"
5520
  msgstr ""
5521
 
5522
+ #: classes/helpers/FrmAppHelper.php:2412
5523
  msgid "Romanian"
5524
  msgstr ""
5525
 
5526
+ #: classes/helpers/FrmAppHelper.php:2413
5527
  msgid "Russian"
5528
  msgstr ""
5529
 
5530
+ #: classes/helpers/FrmAppHelper.php:2414
5531
+ #: classes/helpers/FrmAppHelper.php:2415
5532
  msgid "Serbian"
5533
  msgstr ""
5534
 
5535
+ #: classes/helpers/FrmAppHelper.php:2416
5536
  msgid "Slovak"
5537
  msgstr ""
5538
 
5539
+ #: classes/helpers/FrmAppHelper.php:2417
5540
  msgid "Slovenian"
5541
  msgstr ""
5542
 
5543
+ #: classes/helpers/FrmAppHelper.php:2418
5544
  msgid "Spanish"
5545
  msgstr ""
5546
 
5547
+ #: classes/helpers/FrmAppHelper.php:2419
5548
  msgid "Spanish/Latin America"
5549
  msgstr ""
5550
 
5551
+ #: classes/helpers/FrmAppHelper.php:2420
5552
  msgid "Swedish"
5553
  msgstr ""
5554
 
5555
+ #: classes/helpers/FrmAppHelper.php:2421
5556
  msgid "Tamil"
5557
  msgstr ""
5558
 
5559
+ #: classes/helpers/FrmAppHelper.php:2422
5560
  msgid "Thai"
5561
  msgstr ""
5562
 
5563
+ #: classes/helpers/FrmAppHelper.php:2423
5564
+ #: classes/helpers/FrmAppHelper.php:2424
5565
  msgid "Turkish"
5566
  msgstr ""
5567
 
5568
+ #: classes/helpers/FrmAppHelper.php:2425
5569
  msgid "Ukranian"
5570
  msgstr ""
5571
 
5572
+ #: classes/helpers/FrmAppHelper.php:2426
5573
  msgid "Vietnamese"
5574
  msgstr ""
5575
 
5586
  msgid "Your server is missing the simplexml_import_dom function"
5587
  msgstr ""
5588
 
5589
+ #: classes/helpers/FrmXMLHelper.php:950
5590
  msgid "Imported"
5591
  msgstr ""
5592
 
5593
+ #: classes/helpers/FrmXMLHelper.php:951
5594
  msgid "Updated"
5595
  msgstr ""
5596
 
5597
+ #: classes/helpers/FrmXMLHelper.php:976
5598
  msgid "Nothing was imported or updated"
5599
  msgstr ""
5600
 
5601
  #. translators: %1$s: Number of items
5602
+ #: classes/helpers/FrmXMLHelper.php:991
5603
  msgid "%1$s Form"
5604
  msgid_plural "%1$s Forms"
5605
  msgstr[0] ""
5606
 
5607
  #. translators: %1$s: Number of items
5608
+ #: classes/helpers/FrmXMLHelper.php:995
5609
  msgid "%1$s Entry"
5610
  msgid_plural "%1$s Entries"
5611
  msgstr[0] ""
5612
 
5613
  #. translators: %1$s: Number of items
5614
+ #: classes/helpers/FrmXMLHelper.php:997
5615
  msgid "%1$s View"
5616
  msgid_plural "%1$s Views"
5617
  msgstr[0] ""
5618
 
5619
  #. translators: %1$s: Number of items
5620
+ #: classes/helpers/FrmXMLHelper.php:999
5621
  msgid "%1$s Post"
5622
  msgid_plural "%1$s Posts"
5623
  msgstr[0] ""
5624
 
5625
  #. translators: %1$s: Number of items
5626
+ #: classes/helpers/FrmXMLHelper.php:1001
5627
  msgid "%1$s Style"
5628
  msgid_plural "%1$s Styles"
5629
  msgstr[0] ""
5630
 
5631
  #. translators: %1$s: Number of items
5632
+ #: classes/helpers/FrmXMLHelper.php:1003
5633
  msgid "%1$s Term"
5634
  msgid_plural "%1$s Terms"
5635
  msgstr[0] ""
5636
 
5637
  #. translators: %1$s: Number of items
5638
+ #: classes/helpers/FrmXMLHelper.php:1005
5639
  msgid "%1$s Form Action"
5640
  msgid_plural "%1$s Form Actions"
5641
  msgstr[0] ""
5642
 
5643
+ #: classes/helpers/FrmXMLHelper.php:1029
5644
  msgid "Go to imported form"
5645
  msgstr ""
5646
 
5647
+ #: classes/helpers/FrmXMLHelper.php:1234
5648
  msgid "Create Posts"
5649
  msgstr ""
5650
 
5651
+ #: classes/helpers/FrmXMLHelper.php:1361
5652
  msgid "Email Notification"
5653
  msgstr ""
5654
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: forms, contact form, form builder, survey, form maker, form creator, paypa
5
  Requires at least: 4.7
6
  Tested up to: 5.4
7
  Requires PHP: 5.6
8
- Stable tag: 4.04.05
9
 
10
  The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quiz forms, and more.
11
 
@@ -444,16 +444,16 @@ Yes, Formidable is not your basic contact form plugin. You can use it to create
444
  Our Stripe integration helps you quickly accept credit card payments online. Our PayPal form integration allows you to accept PayPal payments, subscriptions, and donations online.
445
 
446
  == Changelog ==
 
 
 
 
 
 
 
447
  = 4.04.05 =
448
  * When some styling settings are blank, allow inheritance from theme styling.
449
  * Allow a form action to be updated during form migration.
450
  * Code: Update javascript codestyling.
451
 
452
- = 4.04.04 =
453
- * Increased WP version requirement to 4.7.
454
- * Added more options on Import/Export page depending on what other plugins are installed.
455
- * More reliably add new options in fields when also reordering.
456
- * Fix: When a newly added option is set as the default value, save it correctly.
457
- * Added an easy way to install and SMTP plugin for better email deliverability.
458
-
459
  <a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>
5
  Requires at least: 4.7
6
  Tested up to: 5.4
7
  Requires PHP: 5.6
8
+ Stable tag: 4.05
9
 
10
  The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quiz forms, and more.
11
 
444
  Our Stripe integration helps you quickly accept credit card payments online. Our PayPal form integration allows you to accept PayPal payments, subscriptions, and donations online.
445
 
446
  == Changelog ==
447
+ = 4.05 =
448
+ * Updates to the default form styling.
449
+ * New: Added an inbox as a centralized place for notices and communication.
450
+ * New: Added frm_color_block and frm_total_big classes for more beautiful forms.
451
+ * Help prevent common email issues by showing a warning in the email settings when the from and to email addresses are the same.
452
+ * Fix: Forms edited after export and reimported were losing the required indicator in some cases.
453
+
454
  = 4.04.05 =
455
  * When some styling settings are blank, allow inheritance from theme styling.
456
  * Allow a form action to be updated during form migration.
457
  * Code: Update javascript codestyling.
458
 
 
 
 
 
 
 
 
459
  <a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>