Formidable Forms – Form Builder for WordPress - Version 4.06.03

Version Description

  • More consistent dropdown styling with multiselect dropdowns.
  • Prepare the code for handling permissions options as an array of roles.
  • Fix: WP 5.5 - Email subject lines were coming through encoded.
  • Fix: WP 5.5 - When WP Mail SMTP was installed, the Formidable SMTP page has an error.
Download this release

Release Info

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

Code changes from version 4.06.02 to 4.06.03

classes/controllers/FrmAppController.php CHANGED
@@ -280,6 +280,7 @@ class FrmAppController {
280
  remove_action( 'frm_before_settings', 'FrmSettingsController::license_box' );
281
  remove_action( 'frm_after_settings', 'FrmSettingsController::settings_cta' );
282
  remove_action( 'frm_add_form_style_tab_options', 'FrmFormsController::add_form_style_tab_options' );
 
283
  }
284
 
285
  /**
280
  remove_action( 'frm_before_settings', 'FrmSettingsController::license_box' );
281
  remove_action( 'frm_after_settings', 'FrmSettingsController::settings_cta' );
282
  remove_action( 'frm_add_form_style_tab_options', 'FrmFormsController::add_form_style_tab_options' );
283
+ remove_action( 'frm_after_field_options', 'FrmFormsController::logic_tip' );
284
  }
285
 
286
  /**
classes/controllers/FrmFormsController.php CHANGED
@@ -35,6 +35,18 @@ class FrmFormsController {
35
  register_widget( 'FrmShowForm' );
36
  }
37
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  /**
39
  * By default, Divi processes form shortcodes on the edit post page.
40
  * Now that won't do.
@@ -1547,9 +1559,7 @@ class FrmFormsController {
1547
  if ( self::is_viewable_draft_form( $form ) ) {
1548
  // don't show a draft form on a page
1549
  $form = __( 'Please select a valid form', 'formidable' );
1550
- } elseif ( self::user_should_login( $form ) ) {
1551
- $form = do_shortcode( $frm_settings->login_msg );
1552
- } elseif ( self::user_has_permission_to_view( $form ) ) {
1553
  $form = do_shortcode( $frm_settings->login_msg );
1554
  } else {
1555
  do_action( 'frm_pre_get_form', $form );
@@ -1584,14 +1594,6 @@ class FrmFormsController {
1584
  return $form->status == 'draft' && current_user_can( 'frm_edit_forms' ) && ! FrmAppHelper::is_preview_page();
1585
  }
1586
 
1587
- private static function user_should_login( $form ) {
1588
- return $form->logged_in && ! is_user_logged_in();
1589
- }
1590
-
1591
- private static function user_has_permission_to_view( $form ) {
1592
- return $form->logged_in && get_current_user_id() && isset( $form->options['logged_in_role'] ) && $form->options['logged_in_role'] != '' && ! FrmAppHelper::user_has_permission( $form->options['logged_in_role'] );
1593
- }
1594
-
1595
  public static function get_form( $form, $title, $description, $atts = array() ) {
1596
  ob_start();
1597
 
35
  register_widget( 'FrmShowForm' );
36
  }
37
 
38
+ /**
39
+ * Show a message about conditional logic
40
+ *
41
+ * @since 4.06.03
42
+ */
43
+ public static function logic_tip() {
44
+ echo '<a href="javascript:void(0)" class="frm_noallow frm_show_upgrade frm_add_logic_link" data-upgrade="' . esc_attr__( 'Conditional Logic options', 'formidable' ) . '" data-message="' . esc_attr__( 'Only show the fields you need and create branching forms. Upgrade to get conditional logic and question branching.', 'formidable' ) . esc_attr( ' <img src="https://cdn.formidableforms.com/wp-content/themes/fp2015git/images/survey/survey-logic.png" srcset="https://cdn.formidableforms.com/wp-content/themes/fp2015git/images/survey/survey-logic@2x.png 2x" alt="Conditional Logic options"/>' ) . '" data-medium="builder" data-content="logic">';
45
+ FrmAppHelper::icon_by_class( 'frmfont frm_swap_icon' );
46
+ esc_html_e( 'Add Conditional Logic', 'formidable' );
47
+ echo '</a>';
48
+ }
49
+
50
  /**
51
  * By default, Divi processes form shortcodes on the edit post page.
52
  * Now that won't do.
1559
  if ( self::is_viewable_draft_form( $form ) ) {
1560
  // don't show a draft form on a page
1561
  $form = __( 'Please select a valid form', 'formidable' );
1562
+ } elseif ( ! FrmForm::is_visible_to_user( $form ) ) {
 
 
1563
  $form = do_shortcode( $frm_settings->login_msg );
1564
  } else {
1565
  do_action( 'frm_pre_get_form', $form );
1594
  return $form->status == 'draft' && current_user_can( 'frm_edit_forms' ) && ! FrmAppHelper::is_preview_page();
1595
  }
1596
 
 
 
 
 
 
 
 
 
1597
  public static function get_form( $form, $title, $description, $atts = array() ) {
1598
  ob_start();
1599
 
classes/controllers/FrmHooksController.php CHANGED
@@ -113,6 +113,7 @@ class FrmHooksController {
113
  // Forms Controller.
114
  add_action( 'admin_menu', 'FrmFormsController::menu', 10 );
115
  add_action( 'admin_head-toplevel_page_formidable', 'FrmFormsController::head' );
 
116
 
117
  add_filter( 'set-screen-option', 'FrmFormsController::save_per_page', 10, 3 );
118
  add_action( 'admin_footer', 'FrmFormsController::insert_form_popup' );
113
  // Forms Controller.
114
  add_action( 'admin_menu', 'FrmFormsController::menu', 10 );
115
  add_action( 'admin_head-toplevel_page_formidable', 'FrmFormsController::head' );
116
+ add_action( 'frm_after_field_options', 'FrmFormsController::logic_tip' );
117
 
118
  add_filter( 'set-screen-option', 'FrmFormsController::save_per_page', 10, 3 );
119
  add_action( 'admin_footer', 'FrmFormsController::insert_form_popup' );
classes/controllers/FrmInboxController.php CHANGED
@@ -48,6 +48,8 @@ class FrmInboxController {
48
  $messages = array_reverse( $messages );
49
  $user = wp_get_current_user();
50
 
 
 
51
  include( FrmAppHelper::plugin_path() . '/classes/views/inbox/list.php' );
52
  }
53
 
48
  $messages = array_reverse( $messages );
49
  $user = wp_get_current_user();
50
 
51
+ wp_enqueue_script( 'frm-ac', FrmAppHelper::plugin_url() . '/js/ac.js', array(), FrmAppHelper::plugin_version(), true );
52
+
53
  include( FrmAppHelper::plugin_path() . '/classes/views/inbox/list.php' );
54
  }
55
 
classes/controllers/FrmSMTPController.php CHANGED
@@ -393,8 +393,12 @@ class FrmSMTPController {
393
  global $phpmailer;
394
 
395
  if ( ! is_object( $phpmailer ) || ! is_a( $phpmailer, 'PHPMailer' ) ) {
396
- require_once ABSPATH . WPINC . '/class-phpmailer.php';
397
- $phpmailer = new PHPMailer( true ); // phpcs:ignore
 
 
 
 
398
  }
399
 
400
  return $phpmailer;
393
  global $phpmailer;
394
 
395
  if ( ! is_object( $phpmailer ) || ! is_a( $phpmailer, 'PHPMailer' ) ) {
396
+ if ( is_callable( array( wp_mail_smtp(), 'generate_mail_catcher' ) ) ) {
397
+ $phpmailer = wp_mail_smtp()->generate_mail_catcher( true ); // phpcs:ignore
398
+ } else {
399
+ require_once ABSPATH . WPINC . '/class-phpmailer.php';
400
+ $phpmailer = new PHPMailer( true ); // phpcs:ignore
401
+ }
402
  }
403
 
404
  return $phpmailer;
classes/controllers/FrmSimpleBlocksController.php CHANGED
@@ -27,6 +27,7 @@ class FrmSimpleBlocksController {
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 );
27
  'icon' => $icon,
28
  'name' => $block_name,
29
  'link' => FrmAppHelper::admin_upgrade_link( 'block' ),
30
+ 'url' => FrmAppHelper::plugin_url(),
31
  );
32
 
33
  wp_localize_script( 'formidable-form-selector', 'formidable_form_selector', $script_vars );
classes/helpers/FrmAppHelper.php CHANGED
@@ -11,7 +11,7 @@ class FrmAppHelper {
11
  /**
12
  * @since 2.0
13
  */
14
- public static $plug_version = '4.06.02';
15
 
16
  /**
17
  * @since 1.07.02
@@ -1142,6 +1142,11 @@ class FrmAppHelper {
1142
  return $link;
1143
  }
1144
 
 
 
 
 
 
1145
  public static function wp_roles_dropdown( $field_name, $capability, $multiple = 'single' ) {
1146
  ?>
1147
  <select name="<?php echo esc_attr( $field_name ); ?>" id="<?php echo esc_attr( $field_name ); ?>"
@@ -1152,6 +1157,9 @@ class FrmAppHelper {
1152
  <?php
1153
  }
1154
 
 
 
 
1155
  public static function roles_options( $capability ) {
1156
  global $frm_vars;
1157
  if ( isset( $frm_vars['editable_roles'] ) ) {
@@ -1192,14 +1200,58 @@ class FrmAppHelper {
1192
  return $cap;
1193
  }
1194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1195
  public static function user_has_permission( $needed_role ) {
1196
- if ( $needed_role == '-1' ) {
 
 
 
 
 
 
1197
  return false;
1198
  }
1199
 
1200
- // $needed_role will be equal to blank if "Logged-in users" is selected.
1201
- if ( ( $needed_role == '' && is_user_logged_in() ) || current_user_can( $needed_role ) ) {
1202
- return true;
 
1203
  }
1204
 
1205
  $roles = array( 'administrator', 'editor', 'author', 'contributor', 'subscriber' );
11
  /**
12
  * @since 2.0
13
  */
14
+ public static $plug_version = '4.06.03';
15
 
16
  /**
17
  * @since 1.07.02
1142
  return $link;
1143
  }
1144
 
1145
+ /**
1146
+ * @param string $field_name
1147
+ * @param string|array $capability
1148
+ * @param string $multiple 'single' and 'multiple'
1149
+ */
1150
  public static function wp_roles_dropdown( $field_name, $capability, $multiple = 'single' ) {
1151
  ?>
1152
  <select name="<?php echo esc_attr( $field_name ); ?>" id="<?php echo esc_attr( $field_name ); ?>"
1157
  <?php
1158
  }
1159
 
1160
+ /**
1161
+ * @param string|array $capability
1162
+ */
1163
  public static function roles_options( $capability ) {
1164
  global $frm_vars;
1165
  if ( isset( $frm_vars['editable_roles'] ) ) {
1200
  return $cap;
1201
  }
1202
 
1203
+ /**
1204
+ * Call the WordPress current_user_can but also validate empty strings as true for any logged in user
1205
+ *
1206
+ * @since 4.06.03
1207
+ *
1208
+ * @param string $role
1209
+ *
1210
+ * @return bool
1211
+ */
1212
+ public static function current_user_can( $role ) {
1213
+ if ( $role === '-1' ) {
1214
+ return false;
1215
+ }
1216
+
1217
+ if ( $role === 'loggedout' ) {
1218
+ return ! is_user_logged_in();
1219
+ }
1220
+
1221
+ if ( $role === 'loggedin' || ! $role ) {
1222
+ return is_user_logged_in();
1223
+ }
1224
+
1225
+ if ( $role == 1 ) {
1226
+ $role = 'administrator';
1227
+ }
1228
+
1229
+ if ( ! is_user_logged_in() ) {
1230
+ return false;
1231
+ }
1232
+
1233
+ return current_user_can( $role );
1234
+ }
1235
+
1236
+ /**
1237
+ * @param string|array $needed_role
1238
+ * @return bool
1239
+ */
1240
  public static function user_has_permission( $needed_role ) {
1241
+ if ( is_array( $needed_role ) ) {
1242
+ foreach ( $needed_role as $role ) {
1243
+ if ( self::current_user_can( $role ) ) {
1244
+ return true;
1245
+ }
1246
+ }
1247
+
1248
  return false;
1249
  }
1250
 
1251
+ $can = self::current_user_can( $needed_role );
1252
+
1253
+ if ( $can || in_array( $needed_role, array( '-1', 'loggedout' ) ) ) {
1254
+ return $can;
1255
  }
1256
 
1257
  $roles = array( 'administrator', 'editor', 'author', 'contributor', 'subscriber' );
classes/models/FrmEmail.php CHANGED
@@ -777,7 +777,7 @@ class FrmEmail {
777
  * @return string
778
  */
779
  private function encode_subject( $subject ) {
780
- if ( apply_filters( 'frm_encode_subject', 1, $subject ) ) {
781
  $subject = '=?' . $this->charset . '?B?' . base64_encode( $subject ) . '?=';
782
  }
783
 
777
  * @return string
778
  */
779
  private function encode_subject( $subject ) {
780
+ if ( apply_filters( 'frm_encode_subject', false, $subject ) ) {
781
  $subject = '=?' . $this->charset . '?B?' . base64_encode( $subject ) . '?=';
782
  }
783
 
classes/models/FrmForm.php CHANGED
@@ -891,6 +891,23 @@ class FrmForm {
891
  return ( ( ! isset( $frm_vars['css_loaded'] ) || ! $frm_vars['css_loaded'] ) && $global_load );
892
  }
893
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
894
  public static function show_submit( $form ) {
895
  $show = ( ! $form->is_template && $form->status == 'published' && ! FrmAppHelper::is_admin() );
896
  $show = apply_filters( 'frm_show_submit_button', $show, $form );
891
  return ( ( ! isset( $frm_vars['css_loaded'] ) || ! $frm_vars['css_loaded'] ) && $global_load );
892
  }
893
 
894
+ /**
895
+ * @since 4.06.03
896
+ *
897
+ * @param object $form
898
+ *
899
+ * @return bool
900
+ */
901
+ public static function &is_visible_to_user( $form ) {
902
+ if ( $form->logged_in && isset( $form->options['logged_in_role'] ) ) {
903
+ $visible = FrmAppHelper::user_has_permission( $form->options['logged_in_role'] );
904
+ } else {
905
+ $visible = true;
906
+ }
907
+
908
+ return $visible;
909
+ }
910
+
911
  public static function show_submit( $form ) {
912
  $show = ( ! $form->is_template && $form->status == 'published' && ! FrmAppHelper::is_admin() );
913
  $show = apply_filters( 'frm_show_submit_button', $show, $form );
classes/models/FrmSolution.php CHANGED
@@ -157,7 +157,7 @@ class FrmSolution {
157
  /*
158
  * Add page to global settings.
159
  */
160
- public static function add_settings( $sections ) {
161
  wp_enqueue_style( 'formidable-pro-fields' );
162
  $sections[ $this->plugin_slug ] = array(
163
  'class' => $this,
@@ -172,21 +172,21 @@ class FrmSolution {
172
  /*
173
  * Output for global settings.
174
  */
175
- public static function settings_page() {
176
  $steps = $this->get_steps_data();
177
- if ( ! $steps['license']['complete'] ) {
178
- $this->license_box( $steps['license'] );
179
- }
180
-
181
- if ( isset( $steps['plugin'] ) && ! $steps['license']['complete'] ) {
182
- $this->show_plugin_install( $steps['plugin'] );
183
  }
184
 
185
  $all_imported = $this->is_complete( 'all' );
186
 
187
- $step = $steps['import'];
188
- $step['label'] = '';
189
  $step['nested'] = true;
 
190
  if ( $steps['complete']['current'] ) {
191
  // Always show this step in settings.
192
  $step['current'] = true;
@@ -200,7 +200,7 @@ class FrmSolution {
200
  $this->show_app_install( $step );
201
 
202
  if ( ! $all_imported ) {
203
- $step = $steps['complete'];
204
  $step['current'] = false;
205
  $step['button_class'] .= ' frm_grey disabled';
206
  $this->show_page_links( $step );
157
  /*
158
  * Add page to global settings.
159
  */
160
+ public function add_settings( $sections ) {
161
  wp_enqueue_style( 'formidable-pro-fields' );
162
  $sections[ $this->plugin_slug ] = array(
163
  'class' => $this,
172
  /*
173
  * Output for global settings.
174
  */
175
+ public function settings_page() {
176
  $steps = $this->get_steps_data();
177
+ if ( ! $steps['license']['complete'] || ( isset( $steps['plugin'] ) && ! $steps['plugin']['complete'] ) ) {
178
+ // Redirect to the welcome page if install hasn't been done.
179
+ $url = $this->settings_link();
180
+ echo '<script>window.location.replace("' . esc_url_raw( $url ) . '");</script>';
181
+ return;
 
182
  }
183
 
184
  $all_imported = $this->is_complete( 'all' );
185
 
186
+ $step = $steps['import'];
187
+ $step['label'] = '';
188
  $step['nested'] = true;
189
+
190
  if ( $steps['complete']['current'] ) {
191
  // Always show this step in settings.
192
  $step['current'] = true;
200
  $this->show_app_install( $step );
201
 
202
  if ( ! $all_imported ) {
203
+ $step = $steps['complete'];
204
  $step['current'] = false;
205
  $step['button_class'] .= ' frm_grey disabled';
206
  $this->show_page_links( $step );
classes/models/fields/FrmFieldType.php CHANGED
@@ -1201,8 +1201,7 @@ DEFAULT_HTML;
1201
  * @return array
1202
  */
1203
  protected function get_multi_opts_for_import( $value ) {
1204
-
1205
- if ( ! $this->field || empty( $value ) || in_array( $value, (array) $this->field->options ) ) {
1206
  return $value;
1207
  }
1208
 
@@ -1210,7 +1209,22 @@ DEFAULT_HTML;
1210
  FrmAppHelper::unserialize_or_decode( $checked );
1211
 
1212
  if ( ! is_array( $checked ) ) {
1213
- $checked = explode( ',', $checked );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1214
  }
1215
 
1216
  if ( ! empty( $checked ) && count( $checked ) > 1 ) {
1201
  * @return array
1202
  */
1203
  protected function get_multi_opts_for_import( $value ) {
1204
+ if ( ! $this->field || ! $value || in_array( $value, (array) $this->field->options ) ) {
 
1205
  return $value;
1206
  }
1207
 
1209
  FrmAppHelper::unserialize_or_decode( $checked );
1210
 
1211
  if ( ! is_array( $checked ) ) {
1212
+ $filtered_checked = $checked;
1213
+ $csv_values_checked = array();
1214
+
1215
+ $options = (array) $this->field->options;
1216
+ $options = array_reverse( $options );
1217
+
1218
+ foreach ( $options as $option ) {
1219
+ if ( isset( $option['value'] ) && strpos( $filtered_checked, $option['value'] ) !== false ) {
1220
+ $csv_values_checked[] = $option['value'];
1221
+ $filtered_checked = str_replace( $option['value'], '', $filtered_checked );
1222
+ }
1223
+ }
1224
+
1225
+ $csv_values_checked = array_reverse( $csv_values_checked );
1226
+
1227
+ $checked = array_merge( $csv_values_checked, array_filter( explode( ',', $filtered_checked ) ) );
1228
  }
1229
 
1230
  if ( ! empty( $checked ) && count( $checked ) > 1 ) {
classes/views/inbox/list.php CHANGED
@@ -57,21 +57,54 @@ foreach ( $messages as $key => $message ) {
57
  </div>
58
 
59
  <div class="frm_no_items <?php echo esc_attr( $has_messages ? 'frm_hidden' : '' ); ?>" id="frm_empty_inbox">
 
60
  <h2><?php esc_html_e( 'You don\'t have any messages', 'formidable' ); ?></h2>
61
  <p>
62
  <?php esc_html_e( 'Get the details about new updates, tips, sales, and more. We\'ll keep you in the loop.', 'formidable' ); ?>
63
  <?php esc_html_e( 'Want more news and email updates?', 'formidable' ); ?>
64
  </p>
65
- <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">
66
- <p>
67
- <input type="text" name="EMAIL" value="<?php echo esc_attr( $user->user_email ); ?>" selector="newsletter-email" placeholder="<?php esc_attr_e( 'Email', 'formidable' ); ?>"/>
68
- </p>
69
- <input type="hidden" name="group[4505]" value="4" />
70
- <p>
71
- <button type="submit" class="button-primary frm-button-primary">
72
- <?php esc_html_e( 'Subscribe', 'formidable' ); ?>
73
- </button>
74
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  </form>
76
  </div>
77
 
57
  </div>
58
 
59
  <div class="frm_no_items <?php echo esc_attr( $has_messages ? 'frm_hidden' : '' ); ?>" id="frm_empty_inbox">
60
+ <img src="<?php echo esc_url( FrmAppHelper::plugin_url() . '/images/email.jpg' ); ?>" alt="Email Address" height="202px" />
61
  <h2><?php esc_html_e( 'You don\'t have any messages', 'formidable' ); ?></h2>
62
  <p>
63
  <?php esc_html_e( 'Get the details about new updates, tips, sales, and more. We\'ll keep you in the loop.', 'formidable' ); ?>
64
  <?php esc_html_e( 'Want more news and email updates?', 'formidable' ); ?>
65
  </p>
66
+ <style>
67
+ #_form_3_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }
68
+ ._form_hide { display:none; visibility:hidden; }
69
+ ._form_show { display:block; visibility:visible; }
70
+ #_form_3_ ._form_element { position:relative; }
71
+ #_form_3_ input[type="text"]._has_error { border-color:#f37c7b; }
72
+ #_form_3_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }
73
+ #_form_3_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }
74
+ #_form_3_ ._error._below { padding-top:4px; top:100%; right:0; }
75
+ #_form_3_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }
76
+ #_form_3_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }
77
+ #_form_3_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }
78
+ #_form_3_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }
79
+ #_form_3_ ._button-wrapper ._error-inner._form_error { position:static; }
80
+ #_form_3_ ._error-inner._no_arrow { margin-bottom:10px; }
81
+ #_form_3_ ._error-arrow { position:absolute; width:0; height:0; }
82
+ #_form_3_ ._error-html { margin-bottom:10px; }
83
+ #_form_3_ { position:relative; }
84
+ #_form_3_:before,#_form_3_:after { content:" "; display:table; }
85
+ #_form_3_:after { clear:both; }
86
+ #_form_3_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }
87
+ </style>
88
+ <form method="POST" action="https://strategy1137274.activehosted.com/proc.php" id="_form_3_" class="_form _form_3 frm-fields frm-subscribe" novalidate>
89
+ <input type="hidden" name="u" value="3" />
90
+ <input type="hidden" name="f" value="3" />
91
+ <input type="hidden" name="s" />
92
+ <input type="hidden" name="c" value="0" />
93
+ <input type="hidden" name="m" value="0" />
94
+ <input type="hidden" name="act" value="sub" />
95
+ <input type="hidden" name="v" value="2" />
96
+ <div class="_form-content">
97
+ <p>
98
+ <input type="text" name="email" value="<?php echo esc_attr( $user->user_email ); ?>" placeholder="<?php esc_attr_e( 'Type your email', 'formidable' ); ?>" required/>
99
+ </p>
100
+ <div class="_button-wrapper">
101
+ <button id="_form_3_submit" type="submit" class="_submit button-primary frm-button-primary">
102
+ <?php esc_html_e( 'Subscribe', 'formidable' ); ?>
103
+ </button>
104
+ </div>
105
+ <div class="_clear-element"></div>
106
+ </div>
107
+ <div class="_form-thank-you" style="display:none;"></div>
108
  </form>
109
  </div>
110
 
css/frm_admin.css CHANGED
@@ -1146,10 +1146,6 @@ h2 .frm-button-primary {
1146
  opacity: 1;
1147
  }
1148
 
1149
- .preview .button .caret {
1150
- border-top-color: var(--primary-color);
1151
- }
1152
-
1153
  .major-publishing-actions.frm_create_form_header {
1154
  padding: 8px 0;
1155
  }
@@ -2087,14 +2083,16 @@ h1 .fa-caret-down {
2087
 
2088
  .caret {
2089
  display: inline-block;
2090
- width: 0;
2091
- height: 0;
2092
- margin-left: 2px;
2093
  vertical-align: middle;
2094
- border-top: 4px solid #AAA;
2095
- border-right: 4px solid transparent;
2096
- border-left: 4px solid transparent;
2097
- border-bottom: 0 dotted;
 
 
2098
  }
2099
 
2100
  .frm-btn-group .caret {
@@ -2511,30 +2509,23 @@ a.frm_option_icon:hover::before {
2511
  font-weight: 700
2512
  }
2513
 
2514
- .multiselect-container > li > a {
2515
  padding: 0
2516
  }
2517
 
2518
  .multiselect-container > li > a > label {
2519
  margin: 0;
 
2520
  height: 100%;
2521
  cursor: pointer;
2522
  font-weight: 400;
 
2523
  }
2524
 
2525
  .accordion-container .multiselect-container > li > a > label {
2526
  padding: 3px 19px 3px 7px;
2527
  }
2528
 
2529
- .multiselect-container > li > a > label.radio,
2530
- .multiselect-container > li > a > label.checkbox {
2531
- margin: 0
2532
- }
2533
-
2534
- .multiselect-container > li > a > label > input[type=checkbox] {
2535
- margin-bottom: 5px
2536
- }
2537
-
2538
  .frm-btn-group.btn-group > .btn-group:nth-child(2) > .multiselect.btn {
2539
  border-top-left-radius: 4px;
2540
  border-bottom-left-radius: 4px
@@ -3867,7 +3858,7 @@ label.frm-example-icon {
3867
  /* Empty List */
3868
 
3869
  .frm_no_items {
3870
- margin: 75px auto;
3871
  text-align: center;
3872
  color: var(--dark-grey);
3873
  max-width: 500px;
@@ -5909,6 +5900,11 @@ i.frm-show-inline-modal {
5909
  text-overflow: ellipsis;
5910
  }
5911
 
 
 
 
 
 
5912
  .frm-search span.multiselect-selected-text {
5913
  white-space: nowrap;
5914
  }
@@ -5925,7 +5921,7 @@ i.frm-show-inline-modal {
5925
  }
5926
 
5927
  .frm-search #search-submit .caret {
5928
- border-top-color: var(--primary-color);
5929
  }
5930
 
5931
  .frm-not-set input {
1146
  opacity: 1;
1147
  }
1148
 
 
 
 
 
1149
  .major-publishing-actions.frm_create_form_header {
1150
  padding: 8px 0;
1151
  }
2083
 
2084
  .caret {
2085
  display: inline-block;
2086
+ width: 19px;
2087
+ height: 9px;
2088
+ margin-right: -8px;
2089
  vertical-align: middle;
2090
+ }
2091
+
2092
+ .caret,
2093
+ .frm_wrap .ui-autocomplete-input {
2094
+ background:#fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
2095
+ background-size: 16px 16px;
2096
  }
2097
 
2098
  .frm-btn-group .caret {
2509
  font-weight: 700
2510
  }
2511
 
2512
+ .frm-dropdown-menu.multiselect-container > li > a {
2513
  padding: 0
2514
  }
2515
 
2516
  .multiselect-container > li > a > label {
2517
  margin: 0;
2518
+ padding: 3px 25px;
2519
  height: 100%;
2520
  cursor: pointer;
2521
  font-weight: 400;
2522
+ display: block;
2523
  }
2524
 
2525
  .accordion-container .multiselect-container > li > a > label {
2526
  padding: 3px 19px 3px 7px;
2527
  }
2528
 
 
 
 
 
 
 
 
 
 
2529
  .frm-btn-group.btn-group > .btn-group:nth-child(2) > .multiselect.btn {
2530
  border-top-left-radius: 4px;
2531
  border-bottom-left-radius: 4px
3858
  /* Empty List */
3859
 
3860
  .frm_no_items {
3861
+ margin: 0 auto 50px;
3862
  text-align: center;
3863
  color: var(--dark-grey);
3864
  max-width: 500px;
5900
  text-overflow: ellipsis;
5901
  }
5902
 
5903
+ span.multiselect-selected-text {
5904
+ white-space: nowrap;
5905
+ display: inline-block;
5906
+ }
5907
+
5908
  .frm-search span.multiselect-selected-text {
5909
  white-space: nowrap;
5910
  }
5921
  }
5922
 
5923
  .frm-search #search-submit .caret {
5924
+ opacity:.7;
5925
  }
5926
 
5927
  .frm-not-set input {
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.06.02
6
  Plugin URI: https://formidableforms.com/
7
  Author URI: https://formidableforms.com/
8
  Author: Strategy11
@@ -36,6 +36,7 @@ function load_formidable_forms() {
36
  'pro_is_authorized' => false,
37
  );
38
 
 
39
  $frm_path = dirname( __FILE__ );
40
  if ( file_exists( $frm_path . '/pro/formidable-pro.php' ) ) {
41
  include( $frm_path . '/pro/formidable-pro.php' );
2
  /*
3
  Plugin Name: Formidable Forms
4
  Description: Quickly and easily create drag-and-drop forms
5
+ Version: 4.06.03
6
  Plugin URI: https://formidableforms.com/
7
  Author URI: https://formidableforms.com/
8
  Author: Strategy11
36
  'pro_is_authorized' => false,
37
  );
38
 
39
+ // For reverse compatibility. Load Pro if it's still nested.
40
  $frm_path = dirname( __FILE__ );
41
  if ( file_exists( $frm_path . '/pro/formidable-pro.php' ) ) {
42
  include( $frm_path . '/pro/formidable-pro.php' );
images/conversion-calc.jpg ADDED
Binary file
images/email.jpg ADDED
Binary file
images/icons.svg CHANGED
@@ -776,9 +776,9 @@
776
  <title>activecampaign</title>
777
  <path d="M13.8 11.3c.6-.4.7-.8.7-1.2v-.2c0-.5-.2-.8-.7-1.1L0 0v1.8c0 .6.4.8.9 1.2L12 10 .8 17.1c-.7.4-.8.7-.8 1.2V20l13.8-8.7zM0 6v1.2s4 2.6 4.9 3c.7.5 1.2.4 1.9 0l.8-.5-6.5-4C.6 5.2 0 5.4 0 6z"/>
778
  </symbol>
779
- <symbol id="frm_aweber_icon" viewBox="0 0 20 20">
780
  <title>aweber</title>
781
- <path d="M19.9 10v6c-.1 1.8-2 3.8-3.9 3.9H9.3c-.2 0-.4-.1-.5-.3-.8-1.8-1.4-3.7-1.7-5.7A27.4 27.4 0 0 1 8.4.5c.2-.4.4-.5.7-.5h6c2.3 0 4.2 1.4 4.7 3.6l.2 1.6V10h-.1zm-12 0l.1 1.8c.2 2.5 1.3 4.7 2.8 6.8.3.4.8.4 1.2.2.6-.4.6-.8.1-1.5a12.1 12.1 0 0 1 .1-14.7c.4-.5.3-1-.2-1.3-.5-.2-.9-.1-1.3.4A13.4 13.4 0 0 0 7.9 10zm4.3-.2l.1 1.7c.3 1.6 1 3 1.9 4.2.3.5.8.5 1 0 .3-.3.1-.5 0-.8a8.4 8.4 0 0 1 0-10.2c.3-.4.2-1-.3-1-.3 0-.6.2-.8.4a9.1 9.1 0 0 0-2 5.7zM4.8 0a29.9 29.9 0 0 0 .3 20c-.5 0-1 0-1.5-.2A4.7 4.7 0 0 1 0 15.1V5C0 2.5 1.5.7 3.7.2L4.8 0z"/>
782
  </symbol>
783
  <symbol id="frm_campaignmonitor_icon" viewBox="0 0 20 20">
784
  <title>campaignmonitor</title>
@@ -915,5 +915,8 @@
915
  <symbol id="frm_folder_icon" viewBox="0 0 28 28" fill="none">
916
  <title>directory</title>
917
  <path fill-rule="evenodd" clip-rule="evenodd" d="M5 6.8c-.3 0-.6.1-.9.4-.2.2-.3.5-.3.9v14c0 .4 0 .8.3 1 .3.3.6.4 1 .4h15.6c.4 0 .7-.1 1-.4.1-.2.3-.6.3-1v-11c0-.3-.2-.7-.4-1-.2-.2-.5-.3-.9-.3H12a.7.7 0 01-.6-.3L9.5 6.8H5zm-1.9-.6c.5-.5 1.2-.8 2-.8h4.8c.3 0 .5 0 .6.3l1.8 2.7h8.4c.7 0 1.4.3 2 .8.4.5.7 1.2.7 2v11c0 .7-.3 1.4-.8 1.9s-1.2.8-1.9.8H5c-.7 0-1.4-.3-1.9-.8s-.8-1.2-.8-2v-14c0-.7.3-1.4.8-2z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M4.2 2.7c0-.4.3-.7.7-.7h6.8c.3 0 .5 0 .6.3L14 5h9a3 3 0 013 3v11.3a.7.7 0 11-1.4 0V8c0-.9-.7-1.6-1.6-1.6h-9.4a.7.7 0 01-.6-.3l-1.7-2.7H5a.7.7 0 01-.7-.7z" fill="currentColor"/></symbol>
 
 
 
918
  </defs>
919
  </svg>
776
  <title>activecampaign</title>
777
  <path d="M13.8 11.3c.6-.4.7-.8.7-1.2v-.2c0-.5-.2-.8-.7-1.1L0 0v1.8c0 .6.4.8.9 1.2L12 10 .8 17.1c-.7.4-.8.7-.8 1.2V20l13.8-8.7zM0 6v1.2s4 2.6 4.9 3c.7.5 1.2.4 1.9 0l.8-.5-6.5-4C.6 5.2 0 5.4 0 6z"/>
778
  </symbol>
779
+ <symbol id="frm_aweber_icon" viewBox="0 0 37 37">
780
  <title>aweber</title>
781
+ <path d="M20.8 2c-.8 0-1.6.4-2.1 1-3.6 4.6-5.8 10-6.7 15.4-.9 4.7-.5 10.7 1.1 16.3.3 1.1.9 2 5.4 2 12.2 0 17.7-4.8 17.7-17.3C36.2 7.1 31 2 20.8 2m-.3 33.1c-.7.4-1.7.1-2-.6-2.5-4.7-3.3-10-2.3-15.3 1-5.3 3.6-10 7.6-13.6.6-.5 1.6-.5 2.1.1.6.6.5 1.5-.1 2.1-3.4 3-5.8 7.1-6.6 11.9-.9 4.7 0 9.4 2 13.4v.1c.3.6 0 1.5-.7 1.9m9.2-22.2c-2.5 2-4.3 4.6-4.9 7.7-.6 3.1 0 6.2 1.6 8.8v.1c.3.4.1 1-.4 1.2-.5.2-1.1.1-1.4-.4-1.8-2.9-2.5-6.4-1.8-9.9s2.7-6.5 5.5-8.8l.1-.1c.4-.3 1.1-.3 1.4.1.4.4.3 1-.1 1.3M6.2 32.5c.1.6-.6 1-1.1.6C2.4 30.7.8 27.6.8 19.3.8 8.6 5 4 10.7 2.5c.6-.2 1 .5.7.9-2.6 4.3-4.4 9-5.3 14-.9 5-.8 10.2.1 15.1z"/>
782
  </symbol>
783
  <symbol id="frm_campaignmonitor_icon" viewBox="0 0 20 20">
784
  <title>campaignmonitor</title>
915
  <symbol id="frm_folder_icon" viewBox="0 0 28 28" fill="none">
916
  <title>directory</title>
917
  <path fill-rule="evenodd" clip-rule="evenodd" d="M5 6.8c-.3 0-.6.1-.9.4-.2.2-.3.5-.3.9v14c0 .4 0 .8.3 1 .3.3.6.4 1 .4h15.6c.4 0 .7-.1 1-.4.1-.2.3-.6.3-1v-11c0-.3-.2-.7-.4-1-.2-.2-.5-.3-.9-.3H12a.7.7 0 01-.6-.3L9.5 6.8H5zm-1.9-.6c.5-.5 1.2-.8 2-.8h4.8c.3 0 .5 0 .6.3l1.8 2.7h8.4c.7 0 1.4.3 2 .8.4.5.7 1.2.7 2v11c0 .7-.3 1.4-.8 1.9s-1.2.8-1.9.8H5c-.7 0-1.4-.3-1.9-.8s-.8-1.2-.8-2v-14c0-.7.3-1.4.8-2z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M4.2 2.7c0-.4.3-.7.7-.7h6.8c.3 0 .5 0 .6.3L14 5h9a3 3 0 013 3v11.3a.7.7 0 11-1.4 0V8c0-.9-.7-1.6-1.6-1.6h-9.4a.7.7 0 01-.6-.3l-1.7-2.7H5a.7.7 0 01-.7-.7z" fill="currentColor"/></symbol>
918
+ <symbol id="frm_zapier_icon" viewBox="0 0 28 27">
919
+ <title>Zapier</title>
920
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M13.6 1.7h-.2a1 1 0 00-.2 0h-.7l-.1.1h-.1-.1-.2v6.9A879.5 879.5 0 016.7 4l-.1.1h-.1v.1h-.1l-.1.1-.1.1-.2.1-.1.1-.1.1-.1.1A15.2 15.2 0 004 6.6a797.2 797.2 0 005 5H2V12.6l-.1.2V15.3l.1.1v.1h7.2l-.4.4a734.5 734.5 0 00-4.5 4.7v.1l.1.1.1.1v.1h.1v.1h.1v.1l.1.1.1.1H5l.1.2A15.2 15.2 0 006.9 23a275.5 275.5 0 005-4.9v6.9h.5l.1.1H16v-3.5-3.5a884.4 884.4 0 015.3 4.8v-.1h.2v-.1h.1v-.1h.1l.1-.1.2-.1v-.1h.1l.1-.1.1-.1a16 16 0 001.7-1.9 702.3 702.3 0 00-5-4.8H26v-.1-.1-.2-.1-.1-.2l.1-.2v-.1-.1-.2-.3-.3-.4-.2-.2-.1-.1-.2-.1-.1-.1-.2l-.1-.2h-7.2a886 886 0 015-5.1l-.1-.1v-.1h-.1l-.1-.1V6h-.1V6l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1a16 16 0 00-1.9-1.6 272 272 0 00-5 4.8V1.8H16h-.2-.1-.2-.1-.1-.1-.1-.2-.1-.2a1 1 0 01-.2-.1h-.8zm.6 8.8H14.8l.2.1h.5v.1h.4l.1.1H16.4v.1h.2v.1h.1v.2l.1.1v.2h.1v.4h.1v.5l.1.1v1a3.8 3.8 0 010 .8v.6l-.1.1V15.4h-.1V15.7l-.1.1v.2h-.1v.1h-.1-.1l-.1.1h-.1-.1-.1v.1h-.1-.1-.1-.1l-.1.1h-.1-.1-.1-.2-.1l-.1.1h-.1-.1-.4-.4-.8H12.7h-.1l-.1-.1H12.1l-.1-.1H12h-.1-.1V16h-.2-.1V16h-.1v-.1-.1h-.1v-.1-.1-.1l-.1-.1v-.1-.1-.1L11 15v-.1-.1-.1-.1-.1H11v-.1-.1-.1-.1-.2-.4a3.8 3.8 0 010-.8v-.2-.2-.1-.1l.1-.1v-.1-.1-.1l.1-.1v-.1-.1-.1h.1v-.1-.1h.1V11h.2v-.1H12l.1-.1H12.4l.1-.1h.5l.1-.1h1.2z" fill="currentColor"/></symbol>
921
  </defs>
922
  </svg>
js/ac.js ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ window.cfields = [];
2
+ window._show_thank_you = function(id, message, trackcmp_url, email) {
3
+ console.log('_show_thank_you');
4
+ var form = document.getElementById('_form_' + id + '_'), thank_you = form.querySelector('._form-thank-you');
5
+ form.querySelector('._form-content').style.display = 'none';
6
+ thank_you.innerHTML = message;
7
+ thank_you.style.display = 'block';
8
+ const vgoAlias = typeof visitorGlobalObjectAlias === 'undefined' ? 'vgo' : visitorGlobalObjectAlias;
9
+ var visitorObject = window[vgoAlias];
10
+ if (email && typeof visitorObject !== 'undefined') {
11
+ visitorObject('setEmail', email);
12
+ visitorObject('update');
13
+ } else if (typeof(trackcmp_url) != 'undefined' && trackcmp_url) {
14
+ // Site tracking URL to use after inline form submission.
15
+ _load_script(trackcmp_url);
16
+ }
17
+ if (typeof window._form_callback !== 'undefined') window._form_callback(id);
18
+ };
19
+ window._show_error = function(id, message, html) {
20
+ var form = document.getElementById('_form_' + id + '_'), err = document.createElement('div'), button = form.querySelector('button'), old_error = form.querySelector('._form_error');
21
+ if (old_error) old_error.parentNode.removeChild(old_error);
22
+ err.innerHTML = message;
23
+ err.className = '_error-inner _form_error _no_arrow';
24
+ var wrapper = document.createElement('div');
25
+ wrapper.className = '_form-inner';
26
+ wrapper.appendChild(err);
27
+ button.parentNode.insertBefore(wrapper, button);
28
+ document.querySelector('[id^="_form"][id$="_submit"]').disabled = false;
29
+ if (html) {
30
+ var div = document.createElement('div');
31
+ div.className = '_error-html';
32
+ div.innerHTML = html;
33
+ err.appendChild(div);
34
+ }
35
+ };
36
+ window._load_script = function(url, callback) {
37
+ var head = document.querySelector('head'), script = document.createElement('script'), r = false;
38
+ script.type = 'text/javascript';
39
+ script.charset = 'utf-8';
40
+ script.src = url;
41
+ if (callback) {
42
+ script.onload = script.onreadystatechange = function() {
43
+ if (!r && (!this.readyState || this.readyState == 'complete')) {r = true;callback();}
44
+ };
45
+ }
46
+ head.appendChild(script);
47
+ };
48
+ (function() {
49
+ if (window.location.search.search("excludeform") !== -1) return false;
50
+ var getCookie = function(name) {
51
+ var match = document.cookie.match(new RegExp('(^|; )' + name + '=([^;]+)'));
52
+ return match ? match[2] : null;
53
+ }
54
+ var setCookie = function(name, value) {
55
+ var now = new Date();
56
+ var time = now.getTime();
57
+ var expireTime = time + 1000 * 60 * 60 * 24 * 365;
58
+ now.setTime(expireTime);
59
+ document.cookie = name + '=' + value + '; expires=' + now + ';path=/';
60
+ }
61
+ var addEvent = function(element, event, func) {
62
+ if (element.addEventListener) {
63
+ element.addEventListener(event, func);
64
+ } else {
65
+ var oldFunc = element['on' + event];
66
+ element['on' + event] = function() {oldFunc.apply(this, arguments);func.apply(this, arguments);};
67
+ }
68
+ }
69
+ var _removed = false;
70
+ var form_to_submit = document.getElementById('_form_3_');
71
+ var allInputs = form_to_submit.querySelectorAll('input, select, textarea'), tooltips = [], submitted = false;
72
+
73
+ var getUrlParam = function(name) {
74
+ var regexStr = '[\?&]' + name + '=([^&#]*)';
75
+ var results = new RegExp(regexStr, 'i').exec(window.location.href);
76
+ return results != undefined ? decodeURIComponent(results[1]) : false;
77
+ };
78
+
79
+ for (var i = 0; i < allInputs.length; i++) {
80
+ var regexStr = "field\\[(\\d+)\\]";
81
+ var results = new RegExp(regexStr).exec(allInputs[i].name);
82
+ if (results != undefined) {
83
+ allInputs[i].dataset.name = window.cfields[results[1]];
84
+ } else {
85
+ allInputs[i].dataset.name = allInputs[i].name;
86
+ }
87
+ var fieldVal = getUrlParam(allInputs[i].dataset.name);
88
+ if (fieldVal) {
89
+ if (allInputs[i].dataset.autofill === "false") {continue;}
90
+ if (allInputs[i].type == "radio" || allInputs[i].type == "checkbox") {
91
+ if (allInputs[i].value == fieldVal) {
92
+ allInputs[i].checked = true;
93
+ }
94
+ } else {
95
+ allInputs[i].value = fieldVal;
96
+ }
97
+ }
98
+ }
99
+ var remove_tooltips = function() {
100
+ for (var i = 0; i < tooltips.length; i++) {tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);}
101
+ tooltips = [];
102
+ };
103
+ var remove_tooltip = function(elem) {
104
+ for (var i = 0; i < tooltips.length; i++) {
105
+ if (tooltips[i].elem === elem) {tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i, 1);return;}
106
+ }
107
+ };
108
+ var create_tooltip = function(elem, text) {
109
+ var tooltip = document.createElement('div'), arrow = document.createElement('div'), inner = document.createElement('div'), new_tooltip = {};
110
+ if (elem.type != 'radio' && elem.type != 'checkbox') {
111
+ tooltip.className = '_error';
112
+ arrow.className = '_error-arrow';
113
+ inner.className = '_error-inner';
114
+ inner.innerHTML = text;
115
+ tooltip.appendChild(arrow);
116
+ tooltip.appendChild(inner);
117
+ elem.parentNode.appendChild(tooltip);
118
+ } else {
119
+ tooltip.className = '_error-inner _no_arrow';
120
+ tooltip.innerHTML = text;
121
+ elem.parentNode.insertBefore(tooltip, elem);
122
+ new_tooltip.no_arrow = true;
123
+ }
124
+ new_tooltip.tip = tooltip;
125
+ new_tooltip.elem = elem;
126
+ tooltips.push(new_tooltip);
127
+ return new_tooltip;
128
+ };
129
+ var resize_tooltip = function(tooltip) {
130
+ var rect = tooltip.elem.getBoundingClientRect();
131
+ var doc = document.documentElement, scrollPosition = rect.top - ((window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0));
132
+ if (scrollPosition < 40) {
133
+ tooltip.tip.className = tooltip.tip.className.replace(/ ?(_above|_below) ?/g, '') + ' _below';
134
+ } else {
135
+ tooltip.tip.className = tooltip.tip.className.replace(/ ?(_above|_below) ?/g, '') + ' _above';
136
+ }
137
+ };
138
+ var resize_tooltips = function() {
139
+ if (_removed) return;
140
+ for (var i = 0; i < tooltips.length; i++) {if (!tooltips[i].no_arrow) resize_tooltip(tooltips[i]);}
141
+ };
142
+ var validate_field = function(elem, remove) {
143
+ var tooltip = null, value = elem.value, no_error = true;
144
+ remove ? remove_tooltip(elem) : false;
145
+ elem.className = elem.className.replace(/ ?_has_error ?/g, '');
146
+ if (elem.getAttribute('required') !== null) {
147
+ if (value === undefined || value === null || value === '') {
148
+ elem.className = elem.className + ' _has_error';
149
+ no_error = false;
150
+ tooltip = create_tooltip(elem, "This field is required.");
151
+ }
152
+ }
153
+ if (no_error && elem.name == 'email') {
154
+ if (!value.match(/^[\+_a-z0-9-'&=]+(\.[\+_a-z0-9-']+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$/i)) {
155
+ elem.className = elem.className + ' _has_error';
156
+ no_error = false;
157
+ tooltip = create_tooltip(elem, "Enter a valid email address.");
158
+ }
159
+ }
160
+ tooltip ? resize_tooltip(tooltip) : false;
161
+ return no_error;
162
+ };
163
+ var needs_validate = function(el) {
164
+ if(el.getAttribute('required') !== null){
165
+ return true
166
+ }
167
+ if(el.name === 'email' && el.value !== ""){
168
+ return true
169
+ }
170
+ return false
171
+ };
172
+ var validate_form = function(e) {
173
+ var err = form_to_submit.querySelector('._form_error'), no_error = true;
174
+ if (!submitted) {
175
+ submitted = true;
176
+ for (var i = 0, len = allInputs.length; i < len; i++) {
177
+ var input = allInputs[i];
178
+ if (needs_validate(input)) {
179
+ if (input.type == 'text') {
180
+ addEvent(input, 'blur', function() {this.value = this.value.trim();validate_field(this, true);});
181
+ addEvent(input, 'input', function() {validate_field(this, true);});
182
+ }
183
+ }
184
+ }
185
+ }
186
+ remove_tooltips();
187
+ for (var i = 0, len = allInputs.length; i < len; i++) {
188
+ var elem = allInputs[i];
189
+ if (needs_validate(elem)) {
190
+ if (elem.tagName.toLowerCase() !== "select") {
191
+ elem.value = elem.value.trim();
192
+ }
193
+ validate_field(elem) ? true : no_error = false;
194
+ }
195
+ }
196
+ if (!no_error && e) {e.preventDefault();}
197
+ resize_tooltips();
198
+ return no_error;
199
+ };
200
+ addEvent(window, 'resize', resize_tooltips);
201
+ addEvent(window, 'scroll', resize_tooltips);
202
+ window._old_serialize = null;
203
+ if (typeof serialize !== 'undefined') window._old_serialize = window.serialize;
204
+ _load_script("//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js", function() {
205
+ window._form_serialize = window.serialize;
206
+ if (window._old_serialize) window.serialize = window._old_serialize;
207
+ });
208
+ var form_submit = function(e) {
209
+ e.preventDefault();
210
+ if (validate_form()) {
211
+ // use this trick to get the submit button & disable it using plain javascript
212
+ document.querySelector('#_form_3_submit').disabled = true;
213
+ var serialized = _form_serialize(document.getElementById('_form_3_'));
214
+ var err = form_to_submit.querySelector('._form_error');
215
+ err ? err.parentNode.removeChild(err) : false;
216
+ _load_script('https://strategy1137274.activehosted.com/proc.php?' + serialized + '&jsonp=true');
217
+ }
218
+ return false;
219
+ };
220
+ addEvent(form_to_submit, 'submit', form_submit);
221
+ })();
js/formidable_admin.js CHANGED
@@ -4999,7 +4999,7 @@ function frmAdminBuildJS() {
4999
  jQuery( '.frm_multiselect' ).multiselect({
5000
  templates: {ul: '<ul class="multiselect-container frm-dropdown-menu"></ul>'},
5001
  buttonContainer: '<div class="btn-group frm-btn-group dropdown" />',
5002
- nonSelectedText: frm_admin_js.default_label,
5003
  onDropdownShown: function( event ) {
5004
  var action = jQuery( event.currentTarget.closest( '.frm_form_action_settings, #frm-show-fields' ) );
5005
  if ( action.length ) {
4999
  jQuery( '.frm_multiselect' ).multiselect({
5000
  templates: {ul: '<ul class="multiselect-container frm-dropdown-menu"></ul>'},
5001
  buttonContainer: '<div class="btn-group frm-btn-group dropdown" />',
5002
+ nonSelectedText: '',
5003
  onDropdownShown: function( event ) {
5004
  var action = jQuery( event.currentTarget.closest( '.frm_form_action_settings, #frm-show-fields' ) );
5005
  if ( action.length ) {
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=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"))))))}})}]);
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"))),wp.element.createElement("img",{src:formidable_form_selector.url+"/images/conversion-calc.jpg",alt:l("Calculator Form","formidable")}))))}})}]);
languages/formidable-js-strings.php CHANGED
@@ -20,15 +20,15 @@ $generated_i18n_strings = array(
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
 
20
  // Reference: js/src/form/calculator.js:27
21
  __( 'Display a Calculator Form', 'formidable' ),
22
 
 
 
 
23
  // Reference: js/src/form/calculator.js:55
24
  __( 'This site does not have any calculator forms.', 'formidable' ),
25
 
26
  // Reference: js/src/form/calculator.js:58
27
  __( 'Upgrade Formidable Forms.', 'formidable' ),
28
 
29
+ // Reference: js/src/form/calculator.js:61
30
+ __( 'Calculator Form', '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.06.02\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-07-30T17:56:00+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"
@@ -45,19 +45,19 @@ msgstr ""
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
@@ -262,8 +262,7 @@ msgid "Dropdown"
262
  msgstr ""
263
 
264
  #: classes/models/FrmField.php:34
265
- #: classes/controllers/FrmFormsController.php:1166
266
- #: classes/views/inbox/list.php:67
267
  msgid "Email"
268
  msgstr ""
269
 
@@ -288,7 +287,7 @@ msgid "Hidden"
288
  msgstr ""
289
 
290
  #: classes/models/FrmField.php:58
291
- #: classes/controllers/FrmFormsController.php:1161
292
  msgid "User ID"
293
  msgstr ""
294
 
@@ -305,7 +304,7 @@ msgid "Rich Text"
305
  msgstr ""
306
 
307
  #: classes/models/FrmField.php:82
308
- #: classes/controllers/FrmFormsController.php:734
309
  msgid "Date"
310
  msgstr ""
311
 
@@ -727,7 +726,7 @@ msgid "Installed"
727
  msgstr ""
728
 
729
  #: classes/controllers/FrmAddonsController.php:520
730
- #: classes/helpers/FrmAppHelper.php:2380
731
  msgid "Active"
732
  msgstr ""
733
 
@@ -764,7 +763,7 @@ msgstr ""
764
 
765
  #: classes/controllers/FrmAppController.php:160
766
  #: classes/controllers/FrmXMLController.php:256
767
- #: classes/controllers/FrmFormsController.php:729
768
  #: classes/controllers/FrmEntriesController.php:8
769
  #: classes/controllers/FrmEntriesController.php:92
770
  #: classes/views/xml/import_form.php:116
@@ -801,7 +800,7 @@ msgstr ""
801
  #: classes/controllers/FrmXMLController.php:255
802
  #: classes/controllers/FrmStylesController.php:48
803
  #: classes/controllers/FrmFormsController.php:6
804
- #: classes/controllers/FrmFormsController.php:739
805
  #: classes/views/frm-forms/list.php:5
806
  msgid "Forms"
807
  msgstr ""
@@ -953,7 +952,7 @@ msgstr ""
953
  msgid "Dismiss All"
954
  msgstr ""
955
 
956
- #: classes/controllers/FrmInboxController.php:90
957
  msgid "Help Formidable improve with usage tracking"
958
  msgstr ""
959
 
@@ -1023,7 +1022,7 @@ msgstr ""
1023
  #: classes/views/addons/list.php:81
1024
  #: classes/views/shared/upgrade_overlay.php:27
1025
  #: classes/helpers/FrmFormMigratorsHelper.php:131
1026
- #: classes/helpers/FrmAppHelper.php:2379
1027
  msgid "Install"
1028
  msgstr ""
1029
 
@@ -1089,12 +1088,12 @@ msgid "Your form styles have been saved."
1089
  msgstr ""
1090
 
1091
  #: classes/controllers/FrmStylesController.php:390
1092
- #: classes/controllers/FrmFormsController.php:953
1093
  msgid "General"
1094
  msgstr ""
1095
 
1096
  #: classes/controllers/FrmStylesController.php:391
1097
- #: classes/controllers/FrmFormsController.php:728
1098
  #: classes/views/frm-forms/settings-advanced.php:8
1099
  #: classes/views/xml/import_form.php:113
1100
  #: classes/views/styles/_sample_form.php:14
@@ -1145,269 +1144,281 @@ msgstr ""
1145
  msgid "Once Weekly"
1146
  msgstr ""
1147
 
1148
- #: classes/controllers/FrmFormsController.php:135
 
 
 
 
 
 
 
 
 
 
 
 
1149
  msgid "Settings Successfully Updated"
1150
  msgstr ""
1151
 
1152
- #: classes/controllers/FrmFormsController.php:162
1153
- #: classes/controllers/FrmFormsController.php:887
1154
  msgid "Form was successfully updated."
1155
  msgstr ""
1156
 
1157
  #. translators: %1$s: Start link HTML, %2$s: end link HTML
1158
- #: classes/controllers/FrmFormsController.php:167
1159
  msgid "However, your form is very long and may be %1$sreaching server limits%2$s."
1160
  msgstr ""
1161
 
1162
- #: classes/controllers/FrmFormsController.php:221
1163
  #: deprecated/FrmDeprecated.php:400
1164
  msgid "Form template was Successfully Created"
1165
  msgstr ""
1166
 
1167
- #: classes/controllers/FrmFormsController.php:221
1168
  msgid "Form was Successfully Copied"
1169
  msgstr ""
1170
 
1171
- #: classes/controllers/FrmFormsController.php:225
1172
  msgid "There was a problem creating the new template."
1173
  msgstr ""
1174
 
1175
- #: classes/controllers/FrmFormsController.php:333
1176
  msgid "Form Preview"
1177
  msgstr ""
1178
 
1179
  #. translators: %1$s: Number of forms
1180
- #: classes/controllers/FrmFormsController.php:378
1181
- #: classes/controllers/FrmFormsController.php:439
1182
  msgid "%1$s form restored from the Trash."
1183
  msgid_plural "%1$s forms restored from the Trash."
1184
  msgstr[0] ""
1185
 
1186
  #. translators: %1$s: Number of forms, %2$s: Start link HTML, %3$s: End link HTML
1187
- #: classes/controllers/FrmFormsController.php:442
1188
- #: classes/controllers/FrmFormsController.php:467
1189
  msgid "%1$s form moved to the Trash. %2$sUndo%3$s"
1190
  msgid_plural "%1$s forms moved to the Trash. %2$sUndo%3$s"
1191
  msgstr[0] ""
1192
 
1193
  #. translators: %1$s: Number of forms
1194
- #: classes/controllers/FrmFormsController.php:490
1195
  msgid "%1$s Form Permanently Deleted"
1196
  msgid_plural "%1$s Forms Permanently Deleted"
1197
  msgstr[0] ""
1198
 
1199
  #. translators: %1$s: Number of forms
1200
- #: classes/controllers/FrmFormsController.php:507
1201
- #: classes/controllers/FrmFormsController.php:524
1202
  msgid "%1$s form permanently deleted."
1203
  msgid_plural "%1$s forms permanently deleted."
1204
  msgstr[0] ""
1205
 
1206
- #: classes/controllers/FrmFormsController.php:570
1207
  msgid "There was an error creating a template."
1208
  msgstr ""
1209
 
1210
- #: classes/controllers/FrmFormsController.php:614
1211
  msgid "Add forms and content"
1212
  msgstr ""
1213
 
1214
- #: classes/controllers/FrmFormsController.php:630
1215
  #: classes/controllers/FrmEntriesController.php:76
1216
  #: classes/views/xml/import_form.php:147
1217
  #: classes/widgets/FrmShowForm.php:56
1218
  msgid "Form"
1219
  msgstr ""
1220
 
1221
- #: classes/controllers/FrmFormsController.php:631
1222
  #: classes/views/frm-forms/insert_form_popup.php:28
1223
  msgid "Insert a Form"
1224
  msgstr ""
1225
 
1226
- #: classes/controllers/FrmFormsController.php:660
1227
  msgid "Display form title"
1228
  msgstr ""
1229
 
1230
- #: classes/controllers/FrmFormsController.php:664
1231
  msgid "Display form description"
1232
  msgstr ""
1233
 
1234
- #: classes/controllers/FrmFormsController.php:668
1235
  msgid "Minimize form HTML"
1236
  msgstr ""
1237
 
1238
- #: classes/controllers/FrmFormsController.php:724
1239
  #: classes/views/frm-forms/new-form-overlay.php:9
1240
  msgid "Template Name"
1241
  msgstr ""
1242
 
1243
- #: classes/controllers/FrmFormsController.php:725
1244
  #: classes/views/xml/import_form.php:115
1245
  msgid "Type"
1246
  msgstr ""
1247
 
1248
- #: classes/controllers/FrmFormsController.php:726
1249
- #: classes/controllers/FrmFormsController.php:730
1250
  #: classes/views/shared/mb_adv_info.php:93
1251
  #: classes/helpers/FrmCSVExportHelper.php:155
1252
  msgid "Key"
1253
  msgstr ""
1254
 
1255
- #: classes/controllers/FrmFormsController.php:731
1256
  msgid "Shortcodes"
1257
  msgstr ""
1258
 
1259
- #: classes/controllers/FrmFormsController.php:861
1260
  msgid "You are trying to edit a form that does not exist."
1261
  msgstr ""
1262
 
1263
  #. translators: %1$s: Start link HTML, %2$s: End link HTML
1264
- #: classes/controllers/FrmFormsController.php:866
1265
  msgid "You are trying to edit a child form. Please edit from %1$shere%2$s"
1266
  msgstr ""
1267
 
1268
- #: classes/controllers/FrmFormsController.php:889
1269
  msgid "Template was successfully updated."
1270
  msgstr ""
1271
 
1272
- #: classes/controllers/FrmFormsController.php:954
1273
  msgid "General Form Settings"
1274
  msgstr ""
1275
 
1276
- #: classes/controllers/FrmFormsController.php:959
1277
  msgid "Actions & Notifications"
1278
  msgstr ""
1279
 
1280
- #: classes/controllers/FrmFormsController.php:965
1281
- #: classes/controllers/FrmFormsController.php:970
1282
  msgid "Form Permissions"
1283
  msgstr ""
1284
 
1285
- #: classes/controllers/FrmFormsController.php:974
1286
  msgid "Form Scheduling"
1287
  msgstr ""
1288
 
1289
- #: classes/controllers/FrmFormsController.php:979
1290
  msgid "Form scheduling settings"
1291
  msgstr ""
1292
 
1293
- #: classes/controllers/FrmFormsController.php:983
1294
  msgid "Styling & Buttons"
1295
  msgstr ""
1296
 
1297
- #: classes/controllers/FrmFormsController.php:989
1298
  msgid "Customize HTML"
1299
  msgstr ""
1300
 
1301
- #: classes/controllers/FrmFormsController.php:1098
1302
  msgid "Customize field values with the following parameters."
1303
  msgstr ""
1304
 
1305
- #: classes/controllers/FrmFormsController.php:1135
1306
  msgid "Separator"
1307
  msgstr ""
1308
 
1309
- #: classes/controllers/FrmFormsController.php:1136
1310
  msgid "Use a different separator for checkbox fields"
1311
  msgstr ""
1312
 
1313
- #: classes/controllers/FrmFormsController.php:1139
1314
  msgid "Date Format"
1315
  msgstr ""
1316
 
1317
- #: classes/controllers/FrmFormsController.php:1142
1318
  #: classes/views/frm-fields/back-end/settings.php:22
1319
  msgid "Field Label"
1320
  msgstr ""
1321
 
1322
- #: classes/controllers/FrmFormsController.php:1145
1323
  msgid "No Auto P"
1324
  msgstr ""
1325
 
1326
- #: classes/controllers/FrmFormsController.php:1146
1327
  msgid "Do not automatically add any paragraphs or line breaks"
1328
  msgstr ""
1329
 
1330
- #: classes/controllers/FrmFormsController.php:1162
1331
  msgid "First Name"
1332
  msgstr ""
1333
 
1334
- #: classes/controllers/FrmFormsController.php:1163
1335
  msgid "Last Name"
1336
  msgstr ""
1337
 
1338
- #: classes/controllers/FrmFormsController.php:1164
1339
  msgid "Display Name"
1340
  msgstr ""
1341
 
1342
- #: classes/controllers/FrmFormsController.php:1165
1343
  msgid "User Login"
1344
  msgstr ""
1345
 
1346
- #: classes/controllers/FrmFormsController.php:1167
1347
  msgid "Avatar"
1348
  msgstr ""
1349
 
1350
- #: classes/controllers/FrmFormsController.php:1168
1351
  msgid "Author Link"
1352
  msgstr ""
1353
 
1354
- #: classes/controllers/FrmFormsController.php:1181
1355
  #: classes/views/frm-entries/sidebar-shared.php:46
1356
  msgid "Entry ID"
1357
  msgstr ""
1358
 
1359
- #: classes/controllers/FrmFormsController.php:1182
1360
  #: classes/controllers/FrmEntriesController.php:71
1361
  #: classes/views/frm-entries/sidebar-shared.php:52
1362
  #: classes/views/frm-entries/form.php:50
1363
  msgid "Entry Key"
1364
  msgstr ""
1365
 
1366
- #: classes/controllers/FrmFormsController.php:1183
1367
  msgid "Post ID"
1368
  msgstr ""
1369
 
1370
- #: classes/controllers/FrmFormsController.php:1184
1371
  msgid "User IP"
1372
  msgstr ""
1373
 
1374
- #: classes/controllers/FrmFormsController.php:1185
1375
  msgid "Entry created"
1376
  msgstr ""
1377
 
1378
- #: classes/controllers/FrmFormsController.php:1186
1379
  msgid "Entry updated"
1380
  msgstr ""
1381
 
1382
- #: classes/controllers/FrmFormsController.php:1188
1383
  msgid "Site URL"
1384
  msgstr ""
1385
 
1386
- #: classes/controllers/FrmFormsController.php:1189
1387
  msgid "Site Name"
1388
  msgstr ""
1389
 
1390
- #: classes/controllers/FrmFormsController.php:1197
1391
  msgid "Default Msg"
1392
  msgstr ""
1393
 
1394
- #: classes/controllers/FrmFormsController.php:1198
1395
  msgid "Default HTML"
1396
  msgstr ""
1397
 
1398
- #: classes/controllers/FrmFormsController.php:1199
1399
  msgid "Default Plain"
1400
  msgstr ""
1401
 
1402
- #: classes/controllers/FrmFormsController.php:1288
1403
  msgid "No forms were specified"
1404
  msgstr ""
1405
 
1406
- #: classes/controllers/FrmFormsController.php:1399
1407
  msgid "Abnormal HTML characters prevented your form from saving correctly"
1408
  msgstr ""
1409
 
1410
- #: classes/controllers/FrmFormsController.php:1489
1411
  #: classes/views/frm-forms/list-templates.php:198
1412
  #: classes/views/xml/import_form.php:128
1413
  #: classes/views/styles/manage.php:54
@@ -1419,17 +1430,17 @@ msgstr ""
1419
  msgid "(no title)"
1420
  msgstr ""
1421
 
1422
- #: classes/controllers/FrmFormsController.php:1535
1423
- #: classes/controllers/FrmFormsController.php:1549
1424
  msgid "Please select a valid form"
1425
  msgstr ""
1426
 
1427
- #: classes/controllers/FrmFormsController.php:1781
1428
  msgid "Please wait while you are redirected."
1429
  msgstr ""
1430
 
1431
  #. translators: %1$s: Start link HTML, %2$s: End link HTML
1432
- #: classes/controllers/FrmFormsController.php:1817
1433
  msgid "%1$sClick here%2$s if you are not automatically redirected."
1434
  msgstr ""
1435
 
@@ -1515,19 +1526,23 @@ msgstr ""
1515
  msgid "%s ago"
1516
  msgstr ""
1517
 
1518
- #: classes/views/inbox/list.php:60
1519
  msgid "You don't have any messages"
1520
  msgstr ""
1521
 
1522
- #: classes/views/inbox/list.php:62
1523
  msgid "Get the details about new updates, tips, sales, and more. We'll keep you in the loop."
1524
  msgstr ""
1525
 
1526
- #: classes/views/inbox/list.php:63
1527
  msgid "Want more news and email updates?"
1528
  msgstr ""
1529
 
1530
- #: classes/views/inbox/list.php:72
 
 
 
 
1531
  msgid "Subscribe"
1532
  msgstr ""
1533
 
@@ -1600,7 +1615,7 @@ msgstr ""
1600
  #: classes/views/frm-forms/new-form-overlay.php:31
1601
  #: classes/views/shared/confirm-overlay.php:14
1602
  #: classes/views/shared/admin-header.php:42
1603
- #: classes/helpers/FrmAppHelper.php:2340
1604
  msgid "Cancel"
1605
  msgstr ""
1606
 
@@ -2129,7 +2144,7 @@ msgstr ""
2129
 
2130
  #: classes/views/shared/confirm-overlay.php:10
2131
  #: classes/views/shared/info-overlay.php:10
2132
- #: classes/helpers/FrmAppHelper.php:2347
2133
  msgid "Are you sure?"
2134
  msgstr ""
2135
 
@@ -2231,7 +2246,7 @@ msgstr ""
2231
 
2232
  #: classes/views/shared/mb_adv_info.php:90
2233
  #: classes/helpers/FrmCSVExportHelper.php:154
2234
- #: classes/helpers/FrmAppHelper.php:2319
2235
  msgid "ID"
2236
  msgstr ""
2237
 
@@ -2241,7 +2256,7 @@ msgstr ""
2241
 
2242
  #: classes/views/shared/mb_adv_info.php:108
2243
  #: classes/views/shared/mb_adv_info.php:122
2244
- #: classes/helpers/FrmAppHelper.php:2381
2245
  msgid "Select a Field"
2246
  msgstr ""
2247
 
@@ -2852,7 +2867,7 @@ msgid "Label Position"
2852
  msgstr ""
2853
 
2854
  #: classes/views/frm-fields/back-end/settings.php:265
2855
- #: classes/helpers/FrmAppHelper.php:2341
2856
  msgid "Default"
2857
  msgstr ""
2858
 
@@ -3615,7 +3630,7 @@ msgid "Draft"
3615
  msgstr ""
3616
 
3617
  #: classes/helpers/FrmFieldsHelper.php:286
3618
- #: classes/helpers/FrmAppHelper.php:2352
3619
  msgid "The entered values do not match"
3620
  msgstr ""
3621
 
@@ -3626,7 +3641,7 @@ msgstr ""
3626
 
3627
  #: classes/helpers/FrmFieldsHelper.php:456
3628
  #: classes/helpers/FrmFieldsHelper.php:457
3629
- #: classes/helpers/FrmAppHelper.php:2356
3630
  msgid "New Option"
3631
  msgstr ""
3632
 
@@ -4826,7 +4841,7 @@ msgid "Excerpt View"
4826
  msgstr ""
4827
 
4828
  #: classes/helpers/FrmListHelper.php:257
4829
- #: classes/helpers/FrmAppHelper.php:2382
4830
  msgid "No items found."
4831
  msgstr ""
4832
 
@@ -5098,7 +5113,7 @@ msgid "Is this intentional?"
5098
  msgstr ""
5099
 
5100
  #: classes/helpers/FrmFormsHelper.php:1457
5101
- #: classes/helpers/FrmAppHelper.php:2376
5102
  msgid "See the list of reserved words in WordPress."
5103
  msgstr ""
5104
 
@@ -5148,555 +5163,555 @@ msgstr ""
5148
  msgid "Parent ID"
5149
  msgstr ""
5150
 
5151
- #: classes/helpers/FrmAppHelper.php:1175
5152
  msgid "View Forms"
5153
  msgstr ""
5154
 
5155
- #: classes/helpers/FrmAppHelper.php:1176
5156
  msgid "Add and Edit Forms"
5157
  msgstr ""
5158
 
5159
- #: classes/helpers/FrmAppHelper.php:1177
5160
  msgid "Delete Forms"
5161
  msgstr ""
5162
 
5163
- #: classes/helpers/FrmAppHelper.php:1178
5164
  msgid "Access this Settings Page"
5165
  msgstr ""
5166
 
5167
- #: classes/helpers/FrmAppHelper.php:1179
5168
  msgid "View Entries from Admin Area"
5169
  msgstr ""
5170
 
5171
- #: classes/helpers/FrmAppHelper.php:1180
5172
  msgid "Delete Entries from Admin Area"
5173
  msgstr ""
5174
 
5175
- #: classes/helpers/FrmAppHelper.php:1187
5176
  msgid "Add Entries from Admin Area"
5177
  msgstr ""
5178
 
5179
- #: classes/helpers/FrmAppHelper.php:1188
5180
  msgid "Edit Entries from Admin Area"
5181
  msgstr ""
5182
 
5183
- #: classes/helpers/FrmAppHelper.php:1189
5184
  msgid "View Reports"
5185
  msgstr ""
5186
 
5187
- #: classes/helpers/FrmAppHelper.php:1190
5188
  msgid "Add/Edit Views"
5189
  msgstr ""
5190
 
5191
- #: classes/helpers/FrmAppHelper.php:1812
5192
  msgid "at"
5193
  msgstr ""
5194
 
5195
- #: classes/helpers/FrmAppHelper.php:1956
5196
  msgid "year"
5197
  msgstr ""
5198
 
5199
- #: classes/helpers/FrmAppHelper.php:1957
5200
  msgid "years"
5201
  msgstr ""
5202
 
5203
- #: classes/helpers/FrmAppHelper.php:1961
5204
  msgid "month"
5205
  msgstr ""
5206
 
5207
- #: classes/helpers/FrmAppHelper.php:1962
5208
  msgid "months"
5209
  msgstr ""
5210
 
5211
- #: classes/helpers/FrmAppHelper.php:1966
5212
  msgid "week"
5213
  msgstr ""
5214
 
5215
- #: classes/helpers/FrmAppHelper.php:1967
5216
  msgid "weeks"
5217
  msgstr ""
5218
 
5219
- #: classes/helpers/FrmAppHelper.php:1971
5220
  msgid "day"
5221
  msgstr ""
5222
 
5223
- #: classes/helpers/FrmAppHelper.php:1972
5224
  msgid "days"
5225
  msgstr ""
5226
 
5227
- #: classes/helpers/FrmAppHelper.php:1976
5228
  msgid "hour"
5229
  msgstr ""
5230
 
5231
- #: classes/helpers/FrmAppHelper.php:1977
5232
  msgid "hours"
5233
  msgstr ""
5234
 
5235
- #: classes/helpers/FrmAppHelper.php:1981
5236
  msgid "minute"
5237
  msgstr ""
5238
 
5239
- #: classes/helpers/FrmAppHelper.php:1982
5240
  msgid "minutes"
5241
  msgstr ""
5242
 
5243
- #: classes/helpers/FrmAppHelper.php:1986
5244
  msgid "second"
5245
  msgstr ""
5246
 
5247
- #: classes/helpers/FrmAppHelper.php:1987
5248
  msgid "seconds"
5249
  msgstr ""
5250
 
5251
- #: classes/helpers/FrmAppHelper.php:2081
5252
  msgid "Give this action a label for easy reference."
5253
  msgstr ""
5254
 
5255
- #: classes/helpers/FrmAppHelper.php:2082
5256
  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."
5257
  msgstr ""
5258
 
5259
- #: classes/helpers/FrmAppHelper.php:2083
5260
  msgid "Add CC addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com."
5261
  msgstr ""
5262
 
5263
- #: classes/helpers/FrmAppHelper.php:2084
5264
  msgid "Add BCC addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com."
5265
  msgstr ""
5266
 
5267
- #: classes/helpers/FrmAppHelper.php:2085
5268
  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."
5269
  msgstr ""
5270
 
5271
- #: classes/helpers/FrmAppHelper.php:2086
5272
  msgid "Enter the name and/or email address of the sender. FORMAT: John Bates <john@example.com> or john@example.com."
5273
  msgstr ""
5274
 
5275
  #. translators: %1$s: Form name, %2$s: Date
5276
- #: classes/helpers/FrmAppHelper.php:2088
5277
  msgid "If you leave the subject blank, the default will be used: %1$s Form submitted on %2$s"
5278
  msgstr ""
5279
 
5280
- #: classes/helpers/FrmAppHelper.php:2282
5281
- #: classes/helpers/FrmAppHelper.php:2361
5282
  msgid "Please wait while your site updates."
5283
  msgstr ""
5284
 
5285
- #: classes/helpers/FrmAppHelper.php:2283
5286
  msgid "Are you sure you want to deauthorize Formidable Forms on this site?"
5287
  msgstr ""
5288
 
5289
- #: classes/helpers/FrmAppHelper.php:2286
5290
- #: classes/helpers/FrmAppHelper.php:2315
5291
  msgid "Loading&hellip;"
5292
  msgstr ""
5293
 
5294
- #: classes/helpers/FrmAppHelper.php:2316
5295
  msgid "Remove"
5296
  msgstr ""
5297
 
5298
- #: classes/helpers/FrmAppHelper.php:2320
5299
  msgid "No results match"
5300
  msgstr ""
5301
 
5302
- #: classes/helpers/FrmAppHelper.php:2321
5303
  msgid "That file looks like Spam."
5304
  msgstr ""
5305
 
5306
- #: classes/helpers/FrmAppHelper.php:2322
5307
  msgid "There is an error in the calculation in the field with key"
5308
  msgstr ""
5309
 
5310
- #: classes/helpers/FrmAppHelper.php:2323
5311
  msgid "Please complete the preceding required fields before uploading a file."
5312
  msgstr ""
5313
 
5314
- #: classes/helpers/FrmAppHelper.php:2334
5315
  msgid "(Click to add description)"
5316
  msgstr ""
5317
 
5318
- #: classes/helpers/FrmAppHelper.php:2335
5319
  msgid "(Blank)"
5320
  msgstr ""
5321
 
5322
- #: classes/helpers/FrmAppHelper.php:2336
5323
  msgid "(no label)"
5324
  msgstr ""
5325
 
5326
- #: classes/helpers/FrmAppHelper.php:2337
5327
  msgid "Saving"
5328
  msgstr ""
5329
 
5330
- #: classes/helpers/FrmAppHelper.php:2338
5331
  msgid "Saved"
5332
  msgstr ""
5333
 
5334
- #: classes/helpers/FrmAppHelper.php:2339
5335
  msgid "OK"
5336
  msgstr ""
5337
 
5338
- #: classes/helpers/FrmAppHelper.php:2342
5339
  msgid "Clear default value when typing"
5340
  msgstr ""
5341
 
5342
- #: classes/helpers/FrmAppHelper.php:2343
5343
  msgid "Do not clear default value when typing"
5344
  msgstr ""
5345
 
5346
- #: classes/helpers/FrmAppHelper.php:2344
5347
  msgid "Default value will pass form validation"
5348
  msgstr ""
5349
 
5350
- #: classes/helpers/FrmAppHelper.php:2345
5351
  msgid "Default value will NOT pass form validation"
5352
  msgstr ""
5353
 
5354
- #: classes/helpers/FrmAppHelper.php:2346
5355
  msgid "Heads up"
5356
  msgstr ""
5357
 
5358
- #: classes/helpers/FrmAppHelper.php:2348
5359
  msgid "Are you sure you want to delete this field and all data associated with it?"
5360
  msgstr ""
5361
 
5362
- #: classes/helpers/FrmAppHelper.php:2349
5363
  msgid "All fields inside this Section will be deleted along with their data. Are you sure you want to delete this group of fields?"
5364
  msgstr ""
5365
 
5366
- #: classes/helpers/FrmAppHelper.php:2350
5367
  msgid "Warning: If you have entries with multiple rows, all but the first row will be lost."
5368
  msgstr ""
5369
 
5370
- #: classes/helpers/FrmAppHelper.php:2353
5371
  msgid "Enter Email"
5372
  msgstr ""
5373
 
5374
- #: classes/helpers/FrmAppHelper.php:2354
5375
  msgid "Confirm Email"
5376
  msgstr ""
5377
 
5378
- #: classes/helpers/FrmAppHelper.php:2355
5379
  msgid "Conditional content here"
5380
  msgstr ""
5381
 
5382
- #: classes/helpers/FrmAppHelper.php:2357
5383
  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."
5384
  msgstr ""
5385
 
5386
- #: classes/helpers/FrmAppHelper.php:2358
5387
  msgid "Enter Password"
5388
  msgstr ""
5389
 
5390
- #: classes/helpers/FrmAppHelper.php:2359
5391
  msgid "Confirm Password"
5392
  msgstr ""
5393
 
5394
- #: classes/helpers/FrmAppHelper.php:2360
5395
  msgid "Import Complete"
5396
  msgstr ""
5397
 
5398
- #: classes/helpers/FrmAppHelper.php:2362
5399
  msgid "Warning: There is no way to retrieve unsaved entries."
5400
  msgstr ""
5401
 
5402
- #: classes/helpers/FrmAppHelper.php:2363
5403
  msgid "Private"
5404
  msgstr ""
5405
 
5406
- #: classes/helpers/FrmAppHelper.php:2366
5407
  msgid "No new licenses were found"
5408
  msgstr ""
5409
 
5410
- #: classes/helpers/FrmAppHelper.php:2367
5411
  msgid "This calculation has at least one unmatched ( ) { } [ ]."
5412
  msgstr ""
5413
 
5414
- #: classes/helpers/FrmAppHelper.php:2368
5415
  msgid "This calculation may have shortcodes that work in Views but not forms."
5416
  msgstr ""
5417
 
5418
- #: classes/helpers/FrmAppHelper.php:2369
5419
  msgid "This calculation may have shortcodes that work in text calculations but not numeric calculations."
5420
  msgstr ""
5421
 
5422
- #: classes/helpers/FrmAppHelper.php:2370
5423
  msgid "This form action is limited to one per form. Please edit the existing form action."
5424
  msgstr ""
5425
 
5426
  #. Translators: %s is the name of a Detail Page Slug that is a reserved word.
5427
- #: classes/helpers/FrmAppHelper.php:2373
5428
  msgid "The Detail Page Slug \"%s\" is reserved by WordPress. This may cause problems. Is this intentional?"
5429
  msgstr ""
5430
 
5431
  #. 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.
5432
- #: classes/helpers/FrmAppHelper.php:2375
5433
  msgid "The parameter \"%s\" is reserved by WordPress. This may cause problems when included in the URL. Is this intentional? "
5434
  msgstr ""
5435
 
5436
- #: classes/helpers/FrmAppHelper.php:2377
5437
  msgid "Please enter a Repeat Limit that is greater than 1."
5438
  msgstr ""
5439
 
5440
- #: classes/helpers/FrmAppHelper.php:2378
5441
  msgid "Please select a limit between 0 and 200."
5442
  msgstr ""
5443
 
5444
- #: classes/helpers/FrmAppHelper.php:2410
5445
  msgid "You are running an outdated version of Formidable. This plugin may not work correctly if you do not update Formidable."
5446
  msgstr ""
5447
 
5448
- #: classes/helpers/FrmAppHelper.php:2437
5449
  msgid "You are running a version of Formidable Forms that may not be compatible with your version of Formidable Forms Pro."
5450
  msgstr ""
5451
 
5452
- #: classes/helpers/FrmAppHelper.php:2465
5453
  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+."
5454
  msgstr ""
5455
 
5456
- #: classes/helpers/FrmAppHelper.php:2471
5457
  msgid "You are using an outdated browser that is not compatible with Formidable Forms. Please update to a more current browser (we recommend Chrome)."
5458
  msgstr ""
5459
 
5460
- #: classes/helpers/FrmAppHelper.php:2485
5461
  msgid "English"
5462
  msgstr ""
5463
 
5464
- #: classes/helpers/FrmAppHelper.php:2486
5465
  msgid "Afrikaans"
5466
  msgstr ""
5467
 
5468
- #: classes/helpers/FrmAppHelper.php:2487
5469
  msgid "Albanian"
5470
  msgstr ""
5471
 
5472
- #: classes/helpers/FrmAppHelper.php:2488
5473
  msgid "Arabic"
5474
  msgstr ""
5475
 
5476
- #: classes/helpers/FrmAppHelper.php:2489
5477
  msgid "Armenian"
5478
  msgstr ""
5479
 
5480
- #: classes/helpers/FrmAppHelper.php:2490
5481
  msgid "Azerbaijani"
5482
  msgstr ""
5483
 
5484
- #: classes/helpers/FrmAppHelper.php:2491
5485
  msgid "Basque"
5486
  msgstr ""
5487
 
5488
- #: classes/helpers/FrmAppHelper.php:2492
5489
  msgid "Bosnian"
5490
  msgstr ""
5491
 
5492
- #: classes/helpers/FrmAppHelper.php:2493
5493
  msgid "Bulgarian"
5494
  msgstr ""
5495
 
5496
- #: classes/helpers/FrmAppHelper.php:2494
5497
  msgid "Catalan"
5498
  msgstr ""
5499
 
5500
- #: classes/helpers/FrmAppHelper.php:2495
5501
  msgid "Chinese Hong Kong"
5502
  msgstr ""
5503
 
5504
- #: classes/helpers/FrmAppHelper.php:2496
5505
  msgid "Chinese Simplified"
5506
  msgstr ""
5507
 
5508
- #: classes/helpers/FrmAppHelper.php:2497
5509
  msgid "Chinese Traditional"
5510
  msgstr ""
5511
 
5512
- #: classes/helpers/FrmAppHelper.php:2498
5513
  msgid "Croatian"
5514
  msgstr ""
5515
 
5516
- #: classes/helpers/FrmAppHelper.php:2499
5517
  msgid "Czech"
5518
  msgstr ""
5519
 
5520
- #: classes/helpers/FrmAppHelper.php:2500
5521
  msgid "Danish"
5522
  msgstr ""
5523
 
5524
- #: classes/helpers/FrmAppHelper.php:2501
5525
  msgid "Dutch"
5526
  msgstr ""
5527
 
5528
- #: classes/helpers/FrmAppHelper.php:2502
5529
  msgid "English/UK"
5530
  msgstr ""
5531
 
5532
- #: classes/helpers/FrmAppHelper.php:2503
5533
  msgid "Esperanto"
5534
  msgstr ""
5535
 
5536
- #: classes/helpers/FrmAppHelper.php:2504
5537
  msgid "Estonian"
5538
  msgstr ""
5539
 
5540
- #: classes/helpers/FrmAppHelper.php:2505
5541
  msgid "Faroese"
5542
  msgstr ""
5543
 
5544
- #: classes/helpers/FrmAppHelper.php:2506
5545
  msgid "Farsi/Persian"
5546
  msgstr ""
5547
 
5548
- #: classes/helpers/FrmAppHelper.php:2507
5549
  msgid "Filipino"
5550
  msgstr ""
5551
 
5552
- #: classes/helpers/FrmAppHelper.php:2508
5553
  msgid "Finnish"
5554
  msgstr ""
5555
 
5556
- #: classes/helpers/FrmAppHelper.php:2509
5557
  msgid "French"
5558
  msgstr ""
5559
 
5560
- #: classes/helpers/FrmAppHelper.php:2510
5561
  msgid "French/Canadian"
5562
  msgstr ""
5563
 
5564
- #: classes/helpers/FrmAppHelper.php:2511
5565
  msgid "French/Swiss"
5566
  msgstr ""
5567
 
5568
- #: classes/helpers/FrmAppHelper.php:2512
5569
  msgid "German"
5570
  msgstr ""
5571
 
5572
- #: classes/helpers/FrmAppHelper.php:2513
5573
  msgid "German/Austria"
5574
  msgstr ""
5575
 
5576
- #: classes/helpers/FrmAppHelper.php:2514
5577
  msgid "German/Switzerland"
5578
  msgstr ""
5579
 
5580
- #: classes/helpers/FrmAppHelper.php:2515
5581
  msgid "Greek"
5582
  msgstr ""
5583
 
5584
- #: classes/helpers/FrmAppHelper.php:2516
5585
- #: classes/helpers/FrmAppHelper.php:2517
5586
  msgid "Hebrew"
5587
  msgstr ""
5588
 
5589
- #: classes/helpers/FrmAppHelper.php:2518
5590
  msgid "Hindi"
5591
  msgstr ""
5592
 
5593
- #: classes/helpers/FrmAppHelper.php:2519
5594
  msgid "Hungarian"
5595
  msgstr ""
5596
 
5597
- #: classes/helpers/FrmAppHelper.php:2520
5598
  msgid "Icelandic"
5599
  msgstr ""
5600
 
5601
- #: classes/helpers/FrmAppHelper.php:2521
5602
  msgid "Indonesian"
5603
  msgstr ""
5604
 
5605
- #: classes/helpers/FrmAppHelper.php:2522
5606
  msgid "Italian"
5607
  msgstr ""
5608
 
5609
- #: classes/helpers/FrmAppHelper.php:2523
5610
  msgid "Japanese"
5611
  msgstr ""
5612
 
5613
- #: classes/helpers/FrmAppHelper.php:2524
5614
  msgid "Korean"
5615
  msgstr ""
5616
 
5617
- #: classes/helpers/FrmAppHelper.php:2525
5618
  msgid "Latvian"
5619
  msgstr ""
5620
 
5621
- #: classes/helpers/FrmAppHelper.php:2526
5622
  msgid "Lithuanian"
5623
  msgstr ""
5624
 
5625
- #: classes/helpers/FrmAppHelper.php:2527
5626
  msgid "Malaysian"
5627
  msgstr ""
5628
 
5629
- #: classes/helpers/FrmAppHelper.php:2528
5630
  msgid "Norwegian"
5631
  msgstr ""
5632
 
5633
- #: classes/helpers/FrmAppHelper.php:2529
5634
  msgid "Polish"
5635
  msgstr ""
5636
 
5637
- #: classes/helpers/FrmAppHelper.php:2530
5638
  msgid "Portuguese"
5639
  msgstr ""
5640
 
5641
- #: classes/helpers/FrmAppHelper.php:2531
5642
  msgid "Portuguese/Brazilian"
5643
  msgstr ""
5644
 
5645
- #: classes/helpers/FrmAppHelper.php:2532
5646
  msgid "Portuguese/Portugal"
5647
  msgstr ""
5648
 
5649
- #: classes/helpers/FrmAppHelper.php:2533
5650
  msgid "Romanian"
5651
  msgstr ""
5652
 
5653
- #: classes/helpers/FrmAppHelper.php:2534
5654
  msgid "Russian"
5655
  msgstr ""
5656
 
5657
- #: classes/helpers/FrmAppHelper.php:2535
5658
- #: classes/helpers/FrmAppHelper.php:2536
5659
  msgid "Serbian"
5660
  msgstr ""
5661
 
5662
- #: classes/helpers/FrmAppHelper.php:2537
5663
  msgid "Slovak"
5664
  msgstr ""
5665
 
5666
- #: classes/helpers/FrmAppHelper.php:2538
5667
  msgid "Slovenian"
5668
  msgstr ""
5669
 
5670
- #: classes/helpers/FrmAppHelper.php:2539
5671
  msgid "Spanish"
5672
  msgstr ""
5673
 
5674
- #: classes/helpers/FrmAppHelper.php:2540
5675
  msgid "Spanish/Latin America"
5676
  msgstr ""
5677
 
5678
- #: classes/helpers/FrmAppHelper.php:2541
5679
  msgid "Swedish"
5680
  msgstr ""
5681
 
5682
- #: classes/helpers/FrmAppHelper.php:2542
5683
  msgid "Tamil"
5684
  msgstr ""
5685
 
5686
- #: classes/helpers/FrmAppHelper.php:2543
5687
  msgid "Thai"
5688
  msgstr ""
5689
 
5690
- #: classes/helpers/FrmAppHelper.php:2544
5691
- #: classes/helpers/FrmAppHelper.php:2545
5692
  msgid "Turkish"
5693
  msgstr ""
5694
 
5695
- #: classes/helpers/FrmAppHelper.php:2546
5696
  msgid "Ukranian"
5697
  msgstr ""
5698
 
5699
- #: classes/helpers/FrmAppHelper.php:2547
5700
  msgid "Vietnamese"
5701
  msgstr ""
5702
 
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.06.03\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-08-12T22:54:16+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"
45
  msgid "Display a Calculator Form"
46
  msgstr ""
47
 
48
+ #: js/src/form/calculator.js:55
49
  #: languages/formidable-js-strings.php:24
50
+ msgid "This site does not have any calculator forms."
51
  msgstr ""
52
 
53
+ #: js/src/form/calculator.js:58
54
  #: languages/formidable-js-strings.php:27
55
+ msgid "Upgrade Formidable Forms."
56
  msgstr ""
57
 
58
+ #: js/src/form/calculator.js:61
59
  #: languages/formidable-js-strings.php:30
60
+ msgid "Calculator Form"
61
  msgstr ""
62
 
63
  #: js/src/form/formselect.js:23
262
  msgstr ""
263
 
264
  #: classes/models/FrmField.php:34
265
+ #: classes/controllers/FrmFormsController.php:1178
 
266
  msgid "Email"
267
  msgstr ""
268
 
287
  msgstr ""
288
 
289
  #: classes/models/FrmField.php:58
290
+ #: classes/controllers/FrmFormsController.php:1173
291
  msgid "User ID"
292
  msgstr ""
293
 
304
  msgstr ""
305
 
306
  #: classes/models/FrmField.php:82
307
+ #: classes/controllers/FrmFormsController.php:746
308
  msgid "Date"
309
  msgstr ""
310
 
726
  msgstr ""
727
 
728
  #: classes/controllers/FrmAddonsController.php:520
729
+ #: classes/helpers/FrmAppHelper.php:2432
730
  msgid "Active"
731
  msgstr ""
732
 
763
 
764
  #: classes/controllers/FrmAppController.php:160
765
  #: classes/controllers/FrmXMLController.php:256
766
+ #: classes/controllers/FrmFormsController.php:741
767
  #: classes/controllers/FrmEntriesController.php:8
768
  #: classes/controllers/FrmEntriesController.php:92
769
  #: classes/views/xml/import_form.php:116
800
  #: classes/controllers/FrmXMLController.php:255
801
  #: classes/controllers/FrmStylesController.php:48
802
  #: classes/controllers/FrmFormsController.php:6
803
+ #: classes/controllers/FrmFormsController.php:751
804
  #: classes/views/frm-forms/list.php:5
805
  msgid "Forms"
806
  msgstr ""
952
  msgid "Dismiss All"
953
  msgstr ""
954
 
955
+ #: classes/controllers/FrmInboxController.php:92
956
  msgid "Help Formidable improve with usage tracking"
957
  msgstr ""
958
 
1022
  #: classes/views/addons/list.php:81
1023
  #: classes/views/shared/upgrade_overlay.php:27
1024
  #: classes/helpers/FrmFormMigratorsHelper.php:131
1025
+ #: classes/helpers/FrmAppHelper.php:2431
1026
  msgid "Install"
1027
  msgstr ""
1028
 
1088
  msgstr ""
1089
 
1090
  #: classes/controllers/FrmStylesController.php:390
1091
+ #: classes/controllers/FrmFormsController.php:965
1092
  msgid "General"
1093
  msgstr ""
1094
 
1095
  #: classes/controllers/FrmStylesController.php:391
1096
+ #: classes/controllers/FrmFormsController.php:740
1097
  #: classes/views/frm-forms/settings-advanced.php:8
1098
  #: classes/views/xml/import_form.php:113
1099
  #: classes/views/styles/_sample_form.php:14
1144
  msgid "Once Weekly"
1145
  msgstr ""
1146
 
1147
+ #: classes/controllers/FrmFormsController.php:44
1148
+ msgid "Conditional Logic options"
1149
+ msgstr ""
1150
+
1151
+ #: classes/controllers/FrmFormsController.php:44
1152
+ msgid "Only show the fields you need and create branching forms. Upgrade to get conditional logic and question branching."
1153
+ msgstr ""
1154
+
1155
+ #: classes/controllers/FrmFormsController.php:46
1156
+ msgid "Add Conditional Logic"
1157
+ msgstr ""
1158
+
1159
+ #: classes/controllers/FrmFormsController.php:147
1160
  msgid "Settings Successfully Updated"
1161
  msgstr ""
1162
 
1163
+ #: classes/controllers/FrmFormsController.php:174
1164
+ #: classes/controllers/FrmFormsController.php:899
1165
  msgid "Form was successfully updated."
1166
  msgstr ""
1167
 
1168
  #. translators: %1$s: Start link HTML, %2$s: end link HTML
1169
+ #: classes/controllers/FrmFormsController.php:179
1170
  msgid "However, your form is very long and may be %1$sreaching server limits%2$s."
1171
  msgstr ""
1172
 
1173
+ #: classes/controllers/FrmFormsController.php:233
1174
  #: deprecated/FrmDeprecated.php:400
1175
  msgid "Form template was Successfully Created"
1176
  msgstr ""
1177
 
1178
+ #: classes/controllers/FrmFormsController.php:233
1179
  msgid "Form was Successfully Copied"
1180
  msgstr ""
1181
 
1182
+ #: classes/controllers/FrmFormsController.php:237
1183
  msgid "There was a problem creating the new template."
1184
  msgstr ""
1185
 
1186
+ #: classes/controllers/FrmFormsController.php:345
1187
  msgid "Form Preview"
1188
  msgstr ""
1189
 
1190
  #. translators: %1$s: Number of forms
1191
+ #: classes/controllers/FrmFormsController.php:390
1192
+ #: classes/controllers/FrmFormsController.php:451
1193
  msgid "%1$s form restored from the Trash."
1194
  msgid_plural "%1$s forms restored from the Trash."
1195
  msgstr[0] ""
1196
 
1197
  #. translators: %1$s: Number of forms, %2$s: Start link HTML, %3$s: End link HTML
1198
+ #: classes/controllers/FrmFormsController.php:454
1199
+ #: classes/controllers/FrmFormsController.php:479
1200
  msgid "%1$s form moved to the Trash. %2$sUndo%3$s"
1201
  msgid_plural "%1$s forms moved to the Trash. %2$sUndo%3$s"
1202
  msgstr[0] ""
1203
 
1204
  #. translators: %1$s: Number of forms
1205
+ #: classes/controllers/FrmFormsController.php:502
1206
  msgid "%1$s Form Permanently Deleted"
1207
  msgid_plural "%1$s Forms Permanently Deleted"
1208
  msgstr[0] ""
1209
 
1210
  #. translators: %1$s: Number of forms
1211
+ #: classes/controllers/FrmFormsController.php:519
1212
+ #: classes/controllers/FrmFormsController.php:536
1213
  msgid "%1$s form permanently deleted."
1214
  msgid_plural "%1$s forms permanently deleted."
1215
  msgstr[0] ""
1216
 
1217
+ #: classes/controllers/FrmFormsController.php:582
1218
  msgid "There was an error creating a template."
1219
  msgstr ""
1220
 
1221
+ #: classes/controllers/FrmFormsController.php:626
1222
  msgid "Add forms and content"
1223
  msgstr ""
1224
 
1225
+ #: classes/controllers/FrmFormsController.php:642
1226
  #: classes/controllers/FrmEntriesController.php:76
1227
  #: classes/views/xml/import_form.php:147
1228
  #: classes/widgets/FrmShowForm.php:56
1229
  msgid "Form"
1230
  msgstr ""
1231
 
1232
+ #: classes/controllers/FrmFormsController.php:643
1233
  #: classes/views/frm-forms/insert_form_popup.php:28
1234
  msgid "Insert a Form"
1235
  msgstr ""
1236
 
1237
+ #: classes/controllers/FrmFormsController.php:672
1238
  msgid "Display form title"
1239
  msgstr ""
1240
 
1241
+ #: classes/controllers/FrmFormsController.php:676
1242
  msgid "Display form description"
1243
  msgstr ""
1244
 
1245
+ #: classes/controllers/FrmFormsController.php:680
1246
  msgid "Minimize form HTML"
1247
  msgstr ""
1248
 
1249
+ #: classes/controllers/FrmFormsController.php:736
1250
  #: classes/views/frm-forms/new-form-overlay.php:9
1251
  msgid "Template Name"
1252
  msgstr ""
1253
 
1254
+ #: classes/controllers/FrmFormsController.php:737
1255
  #: classes/views/xml/import_form.php:115
1256
  msgid "Type"
1257
  msgstr ""
1258
 
1259
+ #: classes/controllers/FrmFormsController.php:738
1260
+ #: classes/controllers/FrmFormsController.php:742
1261
  #: classes/views/shared/mb_adv_info.php:93
1262
  #: classes/helpers/FrmCSVExportHelper.php:155
1263
  msgid "Key"
1264
  msgstr ""
1265
 
1266
+ #: classes/controllers/FrmFormsController.php:743
1267
  msgid "Shortcodes"
1268
  msgstr ""
1269
 
1270
+ #: classes/controllers/FrmFormsController.php:873
1271
  msgid "You are trying to edit a form that does not exist."
1272
  msgstr ""
1273
 
1274
  #. translators: %1$s: Start link HTML, %2$s: End link HTML
1275
+ #: classes/controllers/FrmFormsController.php:878
1276
  msgid "You are trying to edit a child form. Please edit from %1$shere%2$s"
1277
  msgstr ""
1278
 
1279
+ #: classes/controllers/FrmFormsController.php:901
1280
  msgid "Template was successfully updated."
1281
  msgstr ""
1282
 
1283
+ #: classes/controllers/FrmFormsController.php:966
1284
  msgid "General Form Settings"
1285