Formidable Forms – Form Builder for WordPress - Version 4.04.02

Version Description

  • Don't load the front end form js in the builder/settings.
  • Fix: Some database prefixes weren't working correctly with many database calls: "rm", "fr", "_".
  • Fix: Remove incorrect instructions for input masks and allow uppercase characters with 'a' in the input mask.
  • Fix: Save value as array when single box is checked. This resolves a conflict when used with ACF.
  • Fix: The 5/6th class was the wrong size when CSS grids are turned off.
  • Fix: More accurately set the default options to fade in fields and use CSS grids.
  • Fix: Sort country list by the current locale.
Download this release

Release Info

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

Code changes from version 4.04.01 to 4.04.02

classes/controllers/FrmAppController.php CHANGED
@@ -373,7 +373,6 @@ class FrmAppController {
373
 
374
  $dependecies = array(
375
  'formidable_admin_global',
376
- 'formidable',
377
  'jquery',
378
  'jquery-ui-core',
379
  'jquery-ui-draggable',
@@ -403,7 +402,6 @@ class FrmAppController {
403
 
404
  wp_enqueue_script( 'admin-widgets' );
405
  wp_enqueue_style( 'widgets' );
406
- wp_enqueue_script( 'formidable' );
407
  wp_enqueue_script( 'formidable_admin' );
408
  FrmAppHelper::localize_script( 'admin' );
409
 
@@ -418,6 +416,11 @@ class FrmAppController {
418
  }
419
  }
420
 
 
 
 
 
 
421
  do_action( 'frm_enqueue_builder_scripts' );
422
  self::include_upgrade_overlay();
423
  self::include_info_overlay();
@@ -539,7 +542,8 @@ class FrmAppController {
539
  $frmdb->uninstall();
540
 
541
  //disable the plugin and redirect after uninstall so the tables don't get added right back
542
- deactivate_plugins( FrmAppHelper::plugin_folder() . '/formidable.php', false, false );
 
543
  echo esc_url_raw( admin_url( 'plugins.php?deactivate=true' ) );
544
 
545
  wp_die();
373
 
374
  $dependecies = array(
375
  'formidable_admin_global',
 
376
  'jquery',
377
  'jquery-ui-core',
378
  'jquery-ui-draggable',
402
 
403
  wp_enqueue_script( 'admin-widgets' );
404
  wp_enqueue_style( 'widgets' );
 
405
  wp_enqueue_script( 'formidable_admin' );
406
  FrmAppHelper::localize_script( 'admin' );
407
 
416
  }
417
  }
418
 
419
+ if ( 'formidable-entries' === $page ) {
420
+ // Load front end js for entries.
421
+ wp_enqueue_script( 'formidable' );
422
+ }
423
+
424
  do_action( 'frm_enqueue_builder_scripts' );
425
  self::include_upgrade_overlay();
426
  self::include_info_overlay();
542
  $frmdb->uninstall();
543
 
544
  //disable the plugin and redirect after uninstall so the tables don't get added right back
545
+ $plugins = array( FrmAppHelper::plugin_folder() . '/formidable.php', 'formidable-pro/formidable-pro.php' );
546
+ deactivate_plugins( $plugins, false, false );
547
  echo esc_url_raw( admin_url( 'plugins.php?deactivate=true' ) );
548
 
549
  wp_die();
classes/controllers/FrmFieldsController.php CHANGED
@@ -606,6 +606,9 @@ class FrmFieldsController {
606
  $position = FrmField::get_option( $field, 'label' );
607
  if ( $position == 'inside' ) {
608
  $default_value = $field['name'];
 
 
 
609
  } else {
610
  $default_value = '';
611
  }
606
  $position = FrmField::get_option( $field, 'label' );
607
  if ( $position == 'inside' ) {
608
  $default_value = $field['name'];
609
+ if ( FrmField::is_required( $field ) ) {
610
+ $default_value .= ' ' . $field['required_indicator'];
611
+ }
612
  } else {
613
  $default_value = '';
614
  }
classes/helpers/FrmAppHelper.php CHANGED
@@ -11,7 +11,7 @@ class FrmAppHelper {
11
  /**
12
  * @since 2.0
13
  */
14
- public static $plug_version = '4.04.01';
15
 
16
  /**
17
  * @since 1.07.02
11
  /**
12
  * @since 2.0
13
  */
14
+ public static $plug_version = '4.04.02';
15
 
16
  /**
17
  * @since 1.07.02
classes/helpers/FrmEntriesHelper.php CHANGED
@@ -450,12 +450,18 @@ class FrmEntriesHelper {
450
  */
451
  public static function set_other_validation_val( &$value, $other_vals, $field, &$args ) {
452
  // Checkboxes and multi-select dropdowns.
453
- if ( is_array( $value ) && $field->type == 'checkbox' ) {
454
  // Combine "Other" values with checked values. "Other" values will override checked box values.
455
- $value = array_merge( $value, $other_vals );
456
- $value = array_filter( $value );
457
- if ( count( $value ) == 0 ) {
458
- $value = '';
 
 
 
 
 
 
459
  }
460
  } else {
461
  // Radio and dropdowns.
450
  */
451
  public static function set_other_validation_val( &$value, $other_vals, $field, &$args ) {
452
  // Checkboxes and multi-select dropdowns.
453
+ if ( is_array( $value ) && $field->type === 'checkbox' ) {
454
  // Combine "Other" values with checked values. "Other" values will override checked box values.
455
+ foreach ( $other_vals as $k => $v ) {
456
+ if ( isset( $value[ $k ] ) && trim( $v ) === '' ) {
457
+ // If the other box is checked, but doesn't have a value.
458
+ $value = '';
459
+ break;
460
+ }
461
+ }
462
+
463
+ if ( is_array( $value ) && ! empty( $value ) ) {
464
+ $value = array_merge( $value, $other_vals );
465
  }
466
  } else {
467
  // Radio and dropdowns.
classes/helpers/FrmFieldsHelper.php CHANGED
@@ -1616,6 +1616,7 @@ class FrmFieldsHelper {
1616
  __( 'Zimbabwe', 'formidable' ),
1617
  );
1618
 
 
1619
  return apply_filters( 'frm_countries', $countries );
1620
  }
1621
 
1616
  __( 'Zimbabwe', 'formidable' ),
1617
  );
1618
 
1619
+ sort( $countries, SORT_LOCALE_STRING );
1620
  return apply_filters( 'frm_countries', $countries );
1621
  }
1622
 
classes/models/FrmDb.php CHANGED
@@ -334,10 +334,10 @@ class FrmDb {
334
 
335
  $table_parts = explode( ' ', $table );
336
  $group = reset( $table_parts );
337
- $group = str_replace( $wpdb->prefix, '', $group );
338
 
339
  $prefix = $wpmuBaseTablePrefix ? $wpmuBaseTablePrefix : $wpdb->base_prefix;
340
- $group = str_replace( $prefix, '', $group );
341
 
342
  if ( $group == $table ) {
343
  $table = $wpdb->prefix . $table;
@@ -347,6 +347,17 @@ class FrmDb {
347
  $group = rtrim( $group, 's' );
348
  }
349
 
 
 
 
 
 
 
 
 
 
 
 
350
  private static function convert_options_to_array( &$args, $order_by = '', $limit = '' ) {
351
  if ( ! is_array( $args ) ) {
352
  $args = array( 'order_by' => $args );
334
 
335
  $table_parts = explode( ' ', $table );
336
  $group = reset( $table_parts );
337
+ self::maybe_remove_prefix( $wpdb->prefix, $group );
338
 
339
  $prefix = $wpmuBaseTablePrefix ? $wpmuBaseTablePrefix : $wpdb->base_prefix;
340
+ self::maybe_remove_prefix( $prefix, $group );
341
 
342
  if ( $group == $table ) {
343
  $table = $wpdb->prefix . $table;
347
  $group = rtrim( $group, 's' );
348
  }
349
 
350
+ /**
351
+ * Only remove the db prefix when at the beginning.
352
+ *
353
+ * @since 4.04.02
354
+ */
355
+ private static function maybe_remove_prefix( $prefix, &$name ) {
356
+ if ( substr( $name, 0, strlen( $prefix ) ) === $prefix ) {
357
+ $name = substr( $name, strlen( $prefix ) );
358
+ }
359
+ }
360
+
361
  private static function convert_options_to_array( &$args, $order_by = '', $limit = '' ) {
362
  if ( ! is_array( $args ) ) {
363
  $args = array( 'order_by' => $args );
classes/models/FrmEntryValidate.php CHANGED
@@ -79,11 +79,6 @@ class FrmEntryValidate {
79
 
80
  self::maybe_clear_value_for_default_blank_setting( $posted_field, $value );
81
 
82
- // Reset arrays with only one value if it's not a field where array keys need to be preserved
83
- if ( is_array( $value ) && count( $value ) == 1 && isset( $value[0] ) ) {
84
- $value = reset( $value );
85
- }
86
-
87
  if ( ! is_array( $value ) ) {
88
  $value = trim( $value );
89
  }
@@ -194,8 +189,8 @@ class FrmEntryValidate {
194
 
195
  // Switch generic values out for their regular expression
196
  $pattern = preg_replace( '/\d/', '\d', $pattern );
197
- $pattern = str_replace( 'a', '[a-z]', $pattern );
198
  $pattern = str_replace( 'A', '[A-Z]', $pattern );
 
199
  $pattern = str_replace( '*', 'w', $pattern );
200
  $pattern = str_replace( '/', '\/', $pattern );
201
 
79
 
80
  self::maybe_clear_value_for_default_blank_setting( $posted_field, $value );
81
 
 
 
 
 
 
82
  if ( ! is_array( $value ) ) {
83
  $value = trim( $value );
84
  }
189
 
190
  // Switch generic values out for their regular expression
191
  $pattern = preg_replace( '/\d/', '\d', $pattern );
 
192
  $pattern = str_replace( 'A', '[A-Z]', $pattern );
193
+ $pattern = str_replace( 'a', '[a-zA-Z]', $pattern );
194
  $pattern = str_replace( '*', 'w', $pattern );
195
  $pattern = str_replace( '/', '\/', $pattern );
196
 
classes/models/FrmInstallerSkin.php CHANGED
@@ -81,7 +81,8 @@ class FrmInstallerSkin extends WP_Upgrader_Skin {
81
  * @since 3.04.02
82
  *
83
  * @param string $string The feedback string.
 
84
  */
85
- public function feedback( $string ) {}
86
 
87
  }
81
  * @since 3.04.02
82
  *
83
  * @param string $string The feedback string.
84
+ * @param mixed ...$args Optional text replacements.
85
  */
86
+ public function feedback( $string, ...$args ) {}
87
 
88
  }
classes/models/FrmSettings.php CHANGED
@@ -143,7 +143,7 @@ class FrmSettings {
143
  $settings = $this->default_options();
144
 
145
  // Use grids and fade in as default for new installs.
146
- if ( isset( $params['frm_tracking'] ) ) {
147
  $settings['old_css'] = false;
148
  $settings['fade_form'] = true;
149
  }
143
  $settings = $this->default_options();
144
 
145
  // Use grids and fade in as default for new installs.
146
+ if ( isset( $params['frm_currency'] ) ) {
147
  $settings['old_css'] = false;
148
  $settings['fade_form'] = true;
149
  }
classes/views/frm-fields/back-end/input-mask-info.php CHANGED
@@ -4,9 +4,7 @@
4
  <p>
5
  9 - <?php esc_html_e( 'Numeric', 'formidable' ); ?> (0-9)<br/>
6
  a - <?php esc_html_e( 'Alphabetical', 'formidable' ); ?> (a-z, A-Z)<br/>
7
- A - <?php esc_html_e( 'Uppercase alphabetical', 'formidable' ); ?> (A-Z)<br/>
8
  * - <?php esc_html_e( 'Alphanumeric', 'formidable' ); ?> (0-9, a-z, A-Z)<br/>
9
- & - <?php esc_html_e( 'Uppercase alphanumeric', 'formidable' ); ?> (0-9, A-Z)
10
  </p>
11
  <p>
12
  <?php esc_html_e( 'Example:', 'formidable' ); ?> 1 (999)-999-9999
4
  <p>
5
  9 - <?php esc_html_e( 'Numeric', 'formidable' ); ?> (0-9)<br/>
6
  a - <?php esc_html_e( 'Alphabetical', 'formidable' ); ?> (a-z, A-Z)<br/>
 
7
  * - <?php esc_html_e( 'Alphanumeric', 'formidable' ); ?> (0-9, a-z, A-Z)<br/>
 
8
  </p>
9
  <p>
10
  <?php esc_html_e( 'Example:', 'formidable' ); ?> 1 (999)-999-9999
css/frm_old_grids.css CHANGED
@@ -175,7 +175,7 @@
175
 
176
  .frm_form_field.frm10,
177
  .frm_submit.frm10{
178
- width:83.42%;
179
  }
180
 
181
  .frm_form_field.frm_seventh,
175
 
176
  .frm_form_field.frm10,
177
  .frm_submit.frm10{
178
+ width:82.92%;
179
  }
180
 
181
  .frm_form_field.frm_seventh,
formidable.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Formidable Forms
4
  Description: Quickly and easily create drag-and-drop forms
5
- Version: 4.04.01
6
  Plugin URI: https://formidableforms.com/
7
  Author URI: https://formidableforms.com/
8
  Author: Strategy11
2
  /*
3
  Plugin Name: Formidable Forms
4
  Description: Quickly and easily create drag-and-drop forms
5
+ Version: 4.04.02
6
  Plugin URI: https://formidableforms.com/
7
  Author URI: https://formidableforms.com/
8
  Author: Strategy11
js/formidable_admin.js CHANGED
@@ -5059,6 +5059,14 @@ function frmAdminBuildJS() {
5059
  setTimeout( success, 1000 );
5060
  }
5061
 
 
 
 
 
 
 
 
 
5062
  function initModal( id, width ) {
5063
  var $info = jQuery( id );
5064
  if ( $info.length < 1 ) {
@@ -5481,9 +5489,9 @@ function frmAdminBuildJS() {
5481
  var $loggedIn = document.getElementById( 'logged_in' );
5482
  jQuery( $loggedIn ).change( function() {
5483
  if ( this.checked ) {
5484
- frmFrontForm.visible( '.hide_logged_in' );
5485
  } else {
5486
- frmFrontForm.invisible( '.hide_logged_in' );
5487
  }
5488
  } );
5489
 
@@ -5499,9 +5507,9 @@ function frmAdminBuildJS() {
5499
  var $singleEntry = document.getElementById( 'single_entry' );
5500
  jQuery( $singleEntry ).change( function() {
5501
  if ( this.checked ) {
5502
- frmFrontForm.visible( '.hide_single_entry' );
5503
  } else {
5504
- frmFrontForm.invisible( '.hide_single_entry' );
5505
  }
5506
 
5507
  if ( this.checked && jQuery( document.getElementById( 'frm_single_entry_type' ) ).val() === 'cookie' ) {
5059
  setTimeout( success, 1000 );
5060
  }
5061
 
5062
+ function invisible(classes) {
5063
+ jQuery(classes).css('visibility', 'hidden');
5064
+ }
5065
+
5066
+ function visible(classes) {
5067
+ jQuery(classes).css('visibility', 'visible');
5068
+ }
5069
+
5070
  function initModal( id, width ) {
5071
  var $info = jQuery( id );
5072
  if ( $info.length < 1 ) {
5489
  var $loggedIn = document.getElementById( 'logged_in' );
5490
  jQuery( $loggedIn ).change( function() {
5491
  if ( this.checked ) {
5492
+ visible( '.hide_logged_in' );
5493
  } else {
5494
+ invisible( '.hide_logged_in' );
5495
  }
5496
  } );
5497
 
5507
  var $singleEntry = document.getElementById( 'single_entry' );
5508
  jQuery( $singleEntry ).change( function() {
5509
  if ( this.checked ) {
5510
+ visible( '.hide_single_entry' );
5511
  } else {
5512
+ invisible( '.hide_single_entry' );
5513
  }
5514
 
5515
  if ( this.checked && jQuery( document.getElementById( 'frm_single_entry_type' ) ).val() === 'cookie' ) {
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,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=10)}([function(e,t,n){e.exports=n(7)()},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){"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(5)),i=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}var a=wp.i18n.__,u=wp.element.Component,c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(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,u),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:a("form","formidable"),itemNamePlural:a("forms","formidable"),items:r,onChange:function(e){n({formId:e})}})}}]),t}();t.default=c,c.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}}(),o=n(1);var i=wp.element.Component;var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(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,i),r(t,[{key:"render",value:function(){return wp.element.createElement("div",null,"[formidable",function(e){var t=e.formId,n=e.title,r=e.description,i=e.minimize,l="";return l+=(0,o.setTextAttribute)(t,"id"),l+=(0,o.setTextAttribute)(n,"title"),l+=(0,o.setTextAttribute)(r,"description"),l+=(0,o.setTextAttribute)(i,"minimize")}(this.props),"]")}}]),t}();t.default=l},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}}();var o=wp.element.Component,i=wp.components.Dashicon,l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(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,o),r(t,[{key:"render",value:function(){return"svg"!==formidable_form_selector.icon?wp.element.createElement(i,{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}();t.default=l},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=function(e){return e&&e.__esModule?e:{default:e}}(n(0));var i=wp.i18n,l=i.__,a=i.sprintf,u=wp.element.Component,c=wp.components.SelectControl,f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(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,u),r(t,[{key:"createOptions",value:function(e,t){var n=e.map(function(e){return{label:e.label,value:e.value}});return[{label:a(l("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,u=e.label,f=e.help;return n&&0!==n.length?wp.element.createElement(c,{value:t,options:this.createOptions(n,o),label:u,help:f,onChange:r}):wp.element.createElement("p",{className:"frm-block-select-no-items"},a(l("Currently, there are no %s","formidable"),i))}}]),t}();t.default=f,f.defaultProps={itemName:"item",itemNamePlural:"items"},f.propTypes={selected:o.default.oneOfType([o.default.string,o.default.number]),items:o.default.array,onChange:o.default.func,itemName:o.default.string,itemNamePlural:o.default.string,label:o.default.string,help:o.default.string}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(6);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";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(0)),i=u(n(2)),l=u(n(3)),a=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var c=wp.i18n.__,f=wp.element.Component,s=wp.editor.InspectorControls,p=wp.components,m=p.PanelBody,b=p.PanelRow,d=p.ToggleControl,y=p.ExternalLink,w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(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,f),r(t,[{key:"render",value:function(){var e=this.props,t=e.setAttributes,n=e.attributes,r=e.forms,o=n.formId,u=n.title,f=n.description,p=n.minimize;return wp.element.createElement(s,null,wp.element.createElement(m,{title:c("Select Form","formidable"),initialOpen:!0},wp.element.createElement(b,null,wp.element.createElement(i.default,{formId:o,setAttributes:t,forms:r})),o&&wp.element.createElement(b,null,wp.element.createElement(y,{href:(0,a.getSubDir)()+"wp-admin/admin.php?page=formidable&frm_action=edit&id="+o},c("Go to form","formidable")))),wp.element.createElement(m,{title:c("Options","formidable"),initialOpen:!1},wp.element.createElement(d,{label:c("Show Form Title","formidable"),checked:u,onChange:function(e){(0,a.updateAttribute)("title",e?"1":"",t)}}),wp.element.createElement(d,{label:c("Show Form Description","formidable"),checked:f,onChange:function(e){(0,a.updateAttribute)("description",e?"1":"",t)}}),wp.element.createElement(d,{label:c("Minimize HTML","formidable"),checked:p,onChange:function(e){(0,a.updateAttribute)("minimize",e?"1":"",t)}})),wp.element.createElement(m,{title:c("Shortcode","formidable"),initialOpen:!1},wp.element.createElement(b,null,wp.element.createElement(l.default,this.props.attributes))))}}]),t}();t.default=w,w.propTypes={attributes:o.default.object,setAttributes:o.default.func}},function(e,t,n){"use strict";var r=u(n(3)),o=u(n(8)),i=u(n(4)),l=u(n(2)),a=n(1);function u(e){return e&&e.__esModule?e:{default:e}}var c=wp.element.Fragment,f=wp.i18n.__,s=wp.blocks.registerBlockType,p=wp.components,m=p.ServerSideRender,b=p.Notice;s("formidable/simple-form",{title:formidable_form_selector.name,description:f("Display a Form","formidable"),icon:i.default,category:"widgets",keywords:[f("contact forms","formidable"),"formidable"],edit:function(e){var t=e.setAttributes,n=e.attributes,r=e.isSelected,u=n.formId,s=formidable_form_selector.forms;return 0===s.length?wp.element.createElement(b,{status:"warning",isDismissible:!1},f("This site does not have any forms.","formidable")):u?wp.element.createElement(c,null,wp.element.createElement(o.default,{attributes:n,setAttributes:t,forms:s}),r&&wp.element.createElement("style",null,a.cssHideAdvancedSettings),wp.element.createElement(m,{block:"formidable/simple-form",attributes:n})):wp.element.createElement("div",{className:"frm-block-intro-screen"},wp.element.createElement("div",{className:"frm-block-intro-content"},wp.element.createElement(i.default,null),wp.element.createElement("div",{className:"frm-block-title"},formidable_form_selector.name),wp.element.createElement("div",{className:"frm-block-selector-screen"},wp.element.createElement(l.default,{formId:u,setAttributes:t,forms:s}))))},save:function(e){var t=e.attributes;return void 0===t.formId?"":wp.element.createElement(c,null,wp.element.createElement(r.default,t))}})},function(e,t,n){"use strict";n(9)}]);
1
+ !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAttribute=function(e,t,n){n(function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,t))},t.setTextAttribute=function(e,t){if(e)return" "+t+'="'+e+'"';return""},t.getSubDir=function(){var e=window.location.pathname,t=e.indexOf("wp-admin"),n="/";t>-1&&(n=e.substr(0,t));return n};t.cssHideAdvancedSettings="\n .components-panel__body.editor-block-inspector__advanced {\n display:none;\n }\n"},function(e,t,n){e.exports=n(7)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){return i(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return wp.element.createElement("div",null,"[formidable",(e=this.props,t=e.formId,n=e.title,r=e.description,i=e.minimize,l="",l+=(0,o.setTextAttribute)(t,"id"),l+=(0,o.setTextAttribute)(n,"title"),l+=(0,o.setTextAttribute)(r,"description"),l+=(0,o.setTextAttribute)(i,"minimize")),"]");var e,t,n,r,i,l}}]),t}(wp.element.Component);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(9)),i=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=wp.i18n.__,f=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this.props,t=e.formId,n=e.setAttributes,r=e.forms;return wp.element.createElement(o.default,{selected:t,itemName:c("form","formidable"),itemNamePlural:c("forms","formidable"),items:r,onChange:function(e){n({formId:e})}})}}]),t}(wp.element.Component);t.default=f,f.propTypes={formId:i.default.string,setAttributes:i.default.func.isRequired}},function(e,t,n){"use strict";n(5)},function(e,t,n){"use strict";var r=u(n(2)),o=u(n(6)),i=u(n(10)),l=u(n(3)),a=n(0);function u(e){return e&&e.__esModule?e:{default:e}}var c=wp.element.Fragment,f=wp.i18n.__,s=wp.blocks.registerBlockType,p=wp.components,m=p.ServerSideRender,b=p.Notice;s("formidable/simple-form",{title:formidable_form_selector.name,description:f("Display a Form","formidable"),icon:i.default,category:"widgets",keywords:[f("contact forms","formidable"),"formidable"],edit:function(e){var t=e.setAttributes,n=e.attributes,r=e.isSelected,u=n.formId,s=formidable_form_selector.forms;return 0===s.length?wp.element.createElement(b,{status:"warning",isDismissible:!1},f("This site does not have any forms.","formidable")):u?wp.element.createElement(c,null,wp.element.createElement(o.default,{attributes:n,setAttributes:t,forms:s}),r&&wp.element.createElement("style",null,a.cssHideAdvancedSettings),wp.element.createElement(m,{block:"formidable/simple-form",attributes:n})):wp.element.createElement("div",{className:"frm-block-intro-screen"},wp.element.createElement("div",{className:"frm-block-intro-content"},wp.element.createElement(i.default,null),wp.element.createElement("div",{className:"frm-block-title"},formidable_form_selector.name),wp.element.createElement("div",{className:"frm-block-selector-screen"},wp.element.createElement(l.default,{formId:u,setAttributes:t,forms:s}))))},save:function(e){var t=e.attributes;return void 0===t.formId?"":wp.element.createElement(c,null,wp.element.createElement(r.default,t))}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(1)),i=u(n(3)),l=u(n(2)),a=n(0);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var s=wp.i18n.__,p=wp.element.Component,m=wp.editor.InspectorControls,b=wp.components,d=b.PanelBody,y=b.PanelRow,w=b.ToggleControl,h=b.ExternalLink,_=function(e){function t(){return c(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this.props,t=e.setAttributes,n=e.attributes,r=e.forms,o=n.formId,u=n.title,c=n.description,f=n.minimize;return wp.element.createElement(m,null,wp.element.createElement(d,{title:s("Select Form","formidable"),initialOpen:!0},wp.element.createElement(y,null,wp.element.createElement(i.default,{formId:o,setAttributes:t,forms:r})),o&&wp.element.createElement(y,null,wp.element.createElement(h,{href:(0,a.getSubDir)()+"wp-admin/admin.php?page=formidable&frm_action=edit&id="+o},s("Go to form","formidable")))),wp.element.createElement(d,{title:s("Options","formidable"),initialOpen:!1},wp.element.createElement(w,{label:s("Show Form Title","formidable"),checked:u,onChange:function(e){(0,a.updateAttribute)("title",e?"1":"",t)}}),wp.element.createElement(w,{label:s("Show Form Description","formidable"),checked:c,onChange:function(e){(0,a.updateAttribute)("description",e?"1":"",t)}}),wp.element.createElement(w,{label:s("Minimize HTML","formidable"),checked:f,onChange:function(e){(0,a.updateAttribute)("minimize",e?"1":"",t)}})),wp.element.createElement(d,{title:s("Shortcode","formidable"),initialOpen:!1},wp.element.createElement(y,null,wp.element.createElement(l.default,this.props.attributes))))}}]),t}(p);t.default=_,_.propTypes={attributes:o.default.object,setAttributes:o.default.func}},function(e,t,n){"use strict";var r=n(8);function o(){}e.exports=function(){function e(e,t,n,o,i,l){if(l!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=o,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(1),l=(r=i)&&r.__esModule?r:{default:r};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=wp.i18n,f=c.__,s=c.sprintf,p=wp.element.Component,m=wp.components.SelectControl,b=function(e){function t(){return a(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"createOptions",value:function(e,t){var n=e.map((function(e){return{label:e.label,value:e.value}}));return[{label:s(f("Select a %s","formidable"),t),value:""}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n))}},{key:"render",value:function(){var e=this.props,t=e.selected,n=e.items,r=e.onChange,o=e.itemName,i=e.itemNamePlural,l=e.label,a=e.help;return n&&0!==n.length?wp.element.createElement(m,{value:t,options:this.createOptions(n,o),label:l,help:a,onChange:r}):wp.element.createElement("p",{className:"frm-block-select-no-items"},s(f("Currently, there are no %s","formidable"),i))}}]),t}(p);t.default=b,b.defaultProps={itemName:"item",itemNamePlural:"items"},b.propTypes={selected:l.default.oneOfType([l.default.string,l.default.number]),items:l.default.array,onChange:l.default.func,itemName:l.default.string,itemNamePlural:l.default.string,label:l.default.string,help:l.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var l=wp.element.Component,a=wp.components.Dashicon,u=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return"svg"!==formidable_form_selector.icon?wp.element.createElement(a,{icon:formidable_form_selector.icon,size:"120"}):wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 599.68 601.37",width:"120",height:"120"},wp.element.createElement("path",{className:"cls-1 orange",d:"M289.6 384h140v76h-140z"}),wp.element.createElement("path",{className:"cls-1",d:"M400.2 147h-200c-17 0-30.6 12.2-30.6 29.3V218h260v-71zM397.9 264H169.6v196h75V340H398a32.2 32.2 0 0 0 30.1-21.4 24.3 24.3 0 0 0 1.7-8.7V264z"}),wp.element.createElement("path",{className:"cls-1",d:"M299.8 601.4A300.3 300.3 0 0 1 0 300.7a299.8 299.8 0 1 1 511.9 212.6 297.4 297.4 0 0 1-212 88zm0-563A262 262 0 0 0 38.3 300.7a261.6 261.6 0 1 0 446.5-185.5 259.5 259.5 0 0 0-185-76.8z"}))}}]),t}(l);t.default=u}]);
languages/formidable.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Formidable Forms plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Formidable Forms 4.04.01\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-03-02T20:04:17+01: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"
@@ -380,7 +380,7 @@ msgstr ""
380
  msgid "Total"
381
  msgstr ""
382
 
383
- #: classes/models/FrmDb.php:433
384
  msgid "Use the query in an array format so it can be properly prepared."
385
  msgstr ""
386
 
@@ -394,12 +394,12 @@ msgstr ""
394
  msgid "You do not have permission to do that"
395
  msgstr ""
396
 
397
- #: classes/models/FrmEntryValidate.php:232
398
- #: classes/models/FrmEntryValidate.php:241
399
  msgid "Your entry appears to be spam!"
400
  msgstr ""
401
 
402
- #: classes/models/FrmEntryValidate.php:236
403
  msgid "Your entry appears to be blacklist spam!"
404
  msgstr ""
405
 
@@ -2642,22 +2642,14 @@ msgid "Alphabetical"
2642
  msgstr ""
2643
 
2644
  #: classes/views/frm-fields/back-end/input-mask-info.php:7
2645
- msgid "Uppercase alphabetical"
2646
- msgstr ""
2647
-
2648
- #: classes/views/frm-fields/back-end/input-mask-info.php:8
2649
  msgid "Alphanumeric"
2650
  msgstr ""
2651
 
2652
- #: classes/views/frm-fields/back-end/input-mask-info.php:9
2653
- msgid "Uppercase alphanumeric"
2654
- msgstr ""
2655
-
2656
- #: classes/views/frm-fields/back-end/input-mask-info.php:12
2657
  msgid "Example:"
2658
  msgstr ""
2659
 
2660
- #: classes/views/frm-fields/back-end/input-mask-info.php:26
2661
  msgid "See more examples and docs"
2662
  msgstr ""
2663
 
@@ -2916,7 +2908,7 @@ msgid "Updated: %1$s"
2916
  msgstr ""
2917
 
2918
  #: classes/views/frm-entries/show.php:7
2919
- #: classes/helpers/FrmEntriesHelper.php:634
2920
  msgid "View Entry"
2921
  msgstr ""
2922
 
@@ -4363,128 +4355,128 @@ msgstr ""
4363
  msgid "Zimbabwe"
4364
  msgstr ""
4365
 
4366
- #: classes/helpers/FrmFieldsHelper.php:1623
4367
  msgid "Countries"
4368
  msgstr ""
4369
 
4370
- #: classes/helpers/FrmFieldsHelper.php:1628
4371
  msgid "U.S. State Abbreviations"
4372
  msgstr ""
4373
 
4374
- #: classes/helpers/FrmFieldsHelper.php:1632
4375
  msgid "U.S. States"
4376
  msgstr ""
4377
 
4378
- #: classes/helpers/FrmFieldsHelper.php:1635
4379
  msgid "Age"
4380
  msgstr ""
4381
 
4382
- #: classes/helpers/FrmFieldsHelper.php:1636
4383
  msgid "Under 18"
4384
  msgstr ""
4385
 
4386
- #: classes/helpers/FrmFieldsHelper.php:1637
4387
  msgid "18-24"
4388
  msgstr ""
4389
 
4390
- #: classes/helpers/FrmFieldsHelper.php:1638
4391
  msgid "25-34"
4392
  msgstr ""
4393
 
4394
- #: classes/helpers/FrmFieldsHelper.php:1639
4395
  msgid "35-44"
4396
  msgstr ""
4397
 
4398
- #: classes/helpers/FrmFieldsHelper.php:1640
4399
  msgid "45-54"
4400
  msgstr ""
4401
 
4402
- #: classes/helpers/FrmFieldsHelper.php:1641
4403
  msgid "55-64"
4404
  msgstr ""
4405
 
4406
- #: classes/helpers/FrmFieldsHelper.php:1642
4407
  msgid "65 or Above"
4408
  msgstr ""
4409
 
4410
- #: classes/helpers/FrmFieldsHelper.php:1643
4411
  msgid "Prefer Not to Answer"
4412
  msgstr ""
4413
 
4414
- #: classes/helpers/FrmFieldsHelper.php:1646
4415
  msgid "Satisfaction"
4416
  msgstr ""
4417
 
4418
- #: classes/helpers/FrmFieldsHelper.php:1647
4419
  msgid "Very Satisfied"
4420
  msgstr ""
4421
 
4422
- #: classes/helpers/FrmFieldsHelper.php:1648
4423
  msgid "Satisfied"
4424
  msgstr ""
4425
 
4426
- #: classes/helpers/FrmFieldsHelper.php:1649
4427
- #: classes/helpers/FrmFieldsHelper.php:1658
4428
- #: classes/helpers/FrmFieldsHelper.php:1667
4429
  msgid "Neutral"
4430
  msgstr ""
4431
 
4432
- #: classes/helpers/FrmFieldsHelper.php:1650
4433
  msgid "Unsatisfied"
4434
  msgstr ""
4435
 
4436
- #: classes/helpers/FrmFieldsHelper.php:1651
4437
  msgid "Very Unsatisfied"
4438
  msgstr ""
4439
 
4440
- #: classes/helpers/FrmFieldsHelper.php:1652
4441
- #: classes/helpers/FrmFieldsHelper.php:1661
4442
- #: classes/helpers/FrmFieldsHelper.php:1670
4443
  msgid "N/A"
4444
  msgstr ""
4445
 
4446
- #: classes/helpers/FrmFieldsHelper.php:1655
4447
  msgid "Importance"
4448
  msgstr ""
4449
 
4450
- #: classes/helpers/FrmFieldsHelper.php:1656
4451
  msgid "Very Important"
4452
  msgstr ""
4453
 
4454
- #: classes/helpers/FrmFieldsHelper.php:1657
4455
  msgid "Important"
4456
  msgstr ""
4457
 
4458
- #: classes/helpers/FrmFieldsHelper.php:1659
4459
  msgid "Somewhat Important"
4460
  msgstr ""
4461
 
4462
- #: classes/helpers/FrmFieldsHelper.php:1660
4463
  msgid "Not at all Important"
4464
  msgstr ""
4465
 
4466
- #: classes/helpers/FrmFieldsHelper.php:1664
4467
  msgid "Agreement"
4468
  msgstr ""
4469
 
4470
- #: classes/helpers/FrmFieldsHelper.php:1665
4471
  msgid "Strongly Agree"
4472
  msgstr ""
4473
 
4474
- #: classes/helpers/FrmFieldsHelper.php:1666
4475
  msgid "Agree"
4476
  msgstr ""
4477
 
4478
- #: classes/helpers/FrmFieldsHelper.php:1668
4479
  msgid "Disagree"
4480
  msgstr ""
4481
 
4482
- #: classes/helpers/FrmFieldsHelper.php:1669
4483
  msgid "Strongly Disagree"
4484
  msgstr ""
4485
 
4486
  #. translators: %s: Field name
4487
- #: classes/helpers/FrmFieldsHelper.php:1717
4488
  msgid "%s fields"
4489
  msgstr ""
4490
 
@@ -4601,33 +4593,33 @@ msgstr ""
4601
  msgid "Select All"
4602
  msgstr ""
4603
 
4604
- #: classes/helpers/FrmEntriesHelper.php:524
4605
- #: classes/helpers/FrmEntriesHelper.php:525
4606
  msgid "Unknown"
4607
  msgstr ""
4608
 
4609
- #: classes/helpers/FrmEntriesHelper.php:642
4610
  msgid "Delete Entry"
4611
  msgstr ""
4612
 
4613
- #: classes/helpers/FrmEntriesHelper.php:645
4614
  msgid "Delete this form entry?"
4615
  msgstr ""
4616
 
4617
- #: classes/helpers/FrmEntriesHelper.php:653
4618
  msgid "Print Entry"
4619
  msgstr ""
4620
 
4621
- #: classes/helpers/FrmEntriesHelper.php:663
4622
- #: classes/helpers/FrmEntriesHelper.php:666
4623
  msgid "Resend Emails"
4624
  msgstr ""
4625
 
4626
- #: classes/helpers/FrmEntriesHelper.php:675
4627
  msgid "Edit Entry"
4628
  msgstr ""
4629
 
4630
- #: classes/helpers/FrmEntriesHelper.php:678
4631
  msgid "Entry edits"
4632
  msgstr ""
4633
 
2
  # This file is distributed under the same license as the Formidable Forms plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Formidable Forms 4.04.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-04-09T00:11:51+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"
380
  msgid "Total"
381
  msgstr ""
382
 
383
+ #: classes/models/FrmDb.php:444
384
  msgid "Use the query in an array format so it can be properly prepared."
385
  msgstr ""
386
 
394
  msgid "You do not have permission to do that"
395
  msgstr ""
396
 
397
+ #: classes/models/FrmEntryValidate.php:227
398
+ #: classes/models/FrmEntryValidate.php:236
399
  msgid "Your entry appears to be spam!"
400
  msgstr ""
401
 
402
+ #: classes/models/FrmEntryValidate.php:231
403
  msgid "Your entry appears to be blacklist spam!"
404
  msgstr ""
405
 
2642
  msgstr ""
2643
 
2644
  #: classes/views/frm-fields/back-end/input-mask-info.php:7
 
 
 
 
2645
  msgid "Alphanumeric"
2646
  msgstr ""
2647
 
2648
+ #: classes/views/frm-fields/back-end/input-mask-info.php:10
 
 
 
 
2649
  msgid "Example:"
2650
  msgstr ""
2651
 
2652
+ #: classes/views/frm-fields/back-end/input-mask-info.php:24
2653
  msgid "See more examples and docs"
2654
  msgstr ""
2655
 
2908
  msgstr ""
2909
 
2910
  #: classes/views/frm-entries/show.php:7
2911
+ #: classes/helpers/FrmEntriesHelper.php:640
2912
  msgid "View Entry"
2913
  msgstr ""
2914
 
4355
  msgid "Zimbabwe"
4356
  msgstr ""
4357
 
4358
+ #: classes/helpers/FrmFieldsHelper.php:1624
4359
  msgid "Countries"
4360
  msgstr ""
4361
 
4362
+ #: classes/helpers/FrmFieldsHelper.php:1629
4363
  msgid "U.S. State Abbreviations"
4364
  msgstr ""
4365
 
4366
+ #: classes/helpers/FrmFieldsHelper.php:1633
4367
  msgid "U.S. States"
4368
  msgstr ""
4369
 
4370
+ #: classes/helpers/FrmFieldsHelper.php:1636
4371
  msgid "Age"
4372
  msgstr ""
4373
 
4374
+ #: classes/helpers/FrmFieldsHelper.php:1637
4375
  msgid "Under 18"
4376
  msgstr ""
4377
 
4378
+ #: classes/helpers/FrmFieldsHelper.php:1638
4379
  msgid "18-24"
4380
  msgstr ""
4381
 
4382
+ #: classes/helpers/FrmFieldsHelper.php:1639
4383
  msgid "25-34"
4384
  msgstr ""
4385
 
4386
+ #: classes/helpers/FrmFieldsHelper.php:1640
4387
  msgid "35-44"
4388
  msgstr ""
4389
 
4390
+ #: classes/helpers/FrmFieldsHelper.php:1641
4391
  msgid "45-54"
4392
  msgstr ""
4393
 
4394
+ #: classes/helpers/FrmFieldsHelper.php:1642
4395
  msgid "55-64"
4396
  msgstr ""
4397
 
4398
+ #: classes/helpers/FrmFieldsHelper.php:1643
4399
  msgid "65 or Above"
4400
  msgstr ""
4401
 
4402
+ #: classes/helpers/FrmFieldsHelper.php:1644
4403
  msgid "Prefer Not to Answer"
4404
  msgstr ""
4405
 
4406
+ #: classes/helpers/FrmFieldsHelper.php:1647
4407
  msgid "Satisfaction"
4408
  msgstr ""
4409
 
4410
+ #: classes/helpers/FrmFieldsHelper.php:1648
4411
  msgid "Very Satisfied"
4412
  msgstr ""
4413
 
4414
+ #: classes/helpers/FrmFieldsHelper.php:1649
4415
  msgid "Satisfied"
4416
  msgstr ""
4417
 
4418
+ #: classes/helpers/FrmFieldsHelper.php:1650
4419
+ #: classes/helpers/FrmFieldsHelper.php:1659
4420
+ #: classes/helpers/FrmFieldsHelper.php:1668
4421
  msgid "Neutral"
4422
  msgstr ""
4423
 
4424
+ #: classes/helpers/FrmFieldsHelper.php:1651
4425
  msgid "Unsatisfied"
4426
  msgstr ""
4427
 
4428
+ #: classes/helpers/FrmFieldsHelper.php:1652
4429
  msgid "Very Unsatisfied"
4430
  msgstr ""
4431
 
4432
+ #: classes/helpers/FrmFieldsHelper.php:1653
4433
+ #: classes/helpers/FrmFieldsHelper.php:1662
4434
+ #: classes/helpers/FrmFieldsHelper.php:1671
4435
  msgid "N/A"
4436
  msgstr ""
4437
 
4438
+ #: classes/helpers/FrmFieldsHelper.php:1656
4439
  msgid "Importance"
4440
  msgstr ""
4441
 
4442
+ #: classes/helpers/FrmFieldsHelper.php:1657
4443
  msgid "Very Important"
4444
  msgstr ""
4445
 
4446
+ #: classes/helpers/FrmFieldsHelper.php:1658
4447
  msgid "Important"
4448
  msgstr ""
4449
 
4450
+ #: classes/helpers/FrmFieldsHelper.php:1660
4451
  msgid "Somewhat Important"
4452
  msgstr ""
4453
 
4454
+ #: classes/helpers/FrmFieldsHelper.php:1661
4455
  msgid "Not at all Important"
4456
  msgstr ""
4457
 
4458
+ #: classes/helpers/FrmFieldsHelper.php:1665
4459
  msgid "Agreement"
4460
  msgstr ""
4461
 
4462
+ #: classes/helpers/FrmFieldsHelper.php:1666
4463
  msgid "Strongly Agree"
4464
  msgstr ""
4465
 
4466
+ #: classes/helpers/FrmFieldsHelper.php:1667
4467
  msgid "Agree"
4468
  msgstr ""
4469
 
4470
+ #: classes/helpers/FrmFieldsHelper.php:1669
4471
  msgid "Disagree"
4472
  msgstr ""
4473
 
4474
+ #: classes/helpers/FrmFieldsHelper.php:1670
4475
  msgid "Strongly Disagree"
4476
  msgstr ""
4477
 
4478
  #. translators: %s: Field name
4479
+ #: classes/helpers/FrmFieldsHelper.php:1718
4480
  msgid "%s fields"
4481
  msgstr ""
4482
 
4593
  msgid "Select All"
4594
  msgstr ""
4595
 
4596
+ #: classes/helpers/FrmEntriesHelper.php:530
4597
+ #: classes/helpers/FrmEntriesHelper.php:531
4598
  msgid "Unknown"
4599
  msgstr ""
4600
 
4601
+ #: classes/helpers/FrmEntriesHelper.php:648
4602
  msgid "Delete Entry"
4603
  msgstr ""
4604
 
4605
+ #: classes/helpers/FrmEntriesHelper.php:651
4606
  msgid "Delete this form entry?"
4607
  msgstr ""
4608
 
4609
+ #: classes/helpers/FrmEntriesHelper.php:659
4610
  msgid "Print Entry"
4611
  msgstr ""
4612
 
4613
+ #: classes/helpers/FrmEntriesHelper.php:669
4614
+ #: classes/helpers/FrmEntriesHelper.php:672
4615
  msgid "Resend Emails"
4616
  msgstr ""
4617
 
4618
+ #: classes/helpers/FrmEntriesHelper.php:681
4619
  msgid "Edit Entry"
4620
  msgstr ""
4621
 
4622
+ #: classes/helpers/FrmEntriesHelper.php:684
4623
  msgid "Entry edits"
4624
  msgstr ""
4625
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: forms, contact form, form builder, survey, form maker, form, form creator
5
  Requires at least: 4.6
6
  Tested up to: 5.4
7
  Requires PHP: 5.6
8
- Stable tag: 4.04.01
9
 
10
  The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quiz forms, and more.
11
 
@@ -357,6 +357,15 @@ The Formidable drag & drop form builder combined with our add-ons is the most po
357
  To get access to more features, integrations, and support, <a href="https://formidableforms.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">upgrade to Formidable Forms Pro</a>. A Pro license gives you access to the full version of Formidable Forms for more advanced forms, Formidable Views, graphs and stats, priority support, and Formidable Add-ons!
358
 
359
  == Changelog ==
 
 
 
 
 
 
 
 
 
360
  = 4.04.01 =
361
  * Performance: Improve speed when creating a unique entry key.
362
  * Performance: Always return a single result with FrmDb::get_var().
@@ -365,14 +374,4 @@ To get access to more features, integrations, and support, <a href="https://form
365
  * Fix: Prevent possibility of extra entry being deleted when switching forms right after deleting an entry.
366
  * Fix: In some cases, a PHP warning was shown when redirecting after submit.
367
 
368
- = 4.04 =
369
- * New: Show a warning if a WordPress parameter is used in the redirect URL to prevent unintented results.
370
- * New: Added frm_is_field_type hook to set if an individual field is shown as radio or checkbox
371
- * New: Show the new pricing fields in the builder for product education.
372
-
373
- = 4.03.07 =
374
- * Project Delight: Make admin-side tooltips more enjoyable and helpful.
375
- * Add several missing countries to the country list.
376
- * Fix: Prevent duplicate localization strings from showing in the page source.
377
-
378
  <a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>
5
  Requires at least: 4.6
6
  Tested up to: 5.4
7
  Requires PHP: 5.6
8
+ Stable tag: 4.04.02
9
 
10
  The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quiz forms, and more.
11
 
357
  To get access to more features, integrations, and support, <a href="https://formidableforms.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion">upgrade to Formidable Forms Pro</a>. A Pro license gives you access to the full version of Formidable Forms for more advanced forms, Formidable Views, graphs and stats, priority support, and Formidable Add-ons!
358
 
359
  == Changelog ==
360
+ = 4.04.02 =
361
+ * Don't load the front end form js in the builder/settings.
362
+ * Fix: Some database prefixes weren't working correctly with many database calls: "rm", "fr", "_".
363
+ * Fix: Remove incorrect instructions for input masks and allow uppercase characters with 'a' in the input mask.
364
+ * Fix: Save value as array when single box is checked. This resolves a conflict when used with ACF.
365
+ * Fix: The 5/6th class was the wrong size when CSS grids are turned off.
366
+ * Fix: More accurately set the default options to fade in fields and use CSS grids.
367
+ * Fix: Sort country list by the current locale.
368
+
369
  = 4.04.01 =
370
  * Performance: Improve speed when creating a unique entry key.
371
  * Performance: Always return a single result with FrmDb::get_var().
374
  * Fix: Prevent possibility of extra entry being deleted when switching forms right after deleting an entry.
375
  * Fix: In some cases, a PHP warning was shown when redirecting after submit.
376
 
 
 
 
 
 
 
 
 
 
 
377
  <a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>