Formidable Forms – Form Builder for WordPress - Version 2.02.02

Version Description

  • Fix clicking the undo link after bulk trash forms
  • Add submitFormManual function for custom scripts
  • HTML5 error fields now have styling
  • *Pro Features: * *
  • Fix conditional logic on radio fields in an embedded form
  • Add download link to files in uploader
  • Fix undefined message in Address fields
  • Make sure new file upload field works in repeating sections
  • Show credit card errors
  • Make sure date fields show the correct format in repeating sections when editing
  • Make sure incorporated upload importer works correctly
  • Fix file upload field on multi-page ajax submission form
  • Exclude credit cards and passwords from default email
  • Fix phone number field JS issues in firefox
  • Add loading text to Lookup fields
  • Improve reverse compatibility for file upload field ID shortcode
  • Allow specific user ID and entry ID searching in form entries tab
Download this release

Release Info

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

Code changes from version 2.02.01 to 2.02.02

classes/controllers/FrmFieldsController.php CHANGED
@@ -684,7 +684,7 @@ class FrmFieldsController {
684
 
685
  if ( $field['type'] == 'tel' ) {
686
  $format = FrmEntryValidate::phone_format( $field );
687
- $format = substr( $format, 2, -2 );
688
  $key = 'pattern';
689
  $add_html[ $key ] = $key . '="' . esc_attr( $format ) . '"';
690
  }
684
 
685
  if ( $field['type'] == 'tel' ) {
686
  $format = FrmEntryValidate::phone_format( $field );
687
+ $format = substr( $format, 2, -1 );
688
  $key = 'pattern';
689
  $add_html[ $key ] = $key . '="' . esc_attr( $format ) . '"';
690
  }
classes/controllers/FrmFormsController.php CHANGED
@@ -363,7 +363,7 @@ class FrmFormsController {
363
  }
364
 
365
  $current_page = isset( $_REQUEST['form_type'] ) ? $_REQUEST['form_type'] : '';
366
- $message = sprintf( _n( '%1$s form moved to the Trash. %2$sUndo%3$s', '%1$s forms moved to the Trash. %2$sUndo%3$s', $count, 'formidable' ), $count, '<a href="' . esc_url( wp_nonce_url( '?page=formidable&frm_action=list&action=bulk_untrash&form_type=' . $current_page . '&item-action[]=' . implode( 'item-action[]=', $ids ), 'bulk-toplevel_page_formidable' ) ) . '">', '</a>' );
367
 
368
  return $message;
369
  }
@@ -832,7 +832,7 @@ class FrmFormsController {
832
  }
833
 
834
  if ( isset( $message ) && ! empty( $message ) ) {
835
- echo '<div id="message" class="updated frm_msg_padding">' . FrmAppHelper::kses( $message ) . '</div>';
836
  }
837
 
838
  return $errors;
363
  }
364
 
365
  $current_page = isset( $_REQUEST['form_type'] ) ? $_REQUEST['form_type'] : '';
366
+ $message = sprintf( _n( '%1$s form moved to the Trash. %2$sUndo%3$s', '%1$s forms moved to the Trash. %2$sUndo%3$s', $count, 'formidable' ), $count, '<a href="' . esc_url( wp_nonce_url( '?page=formidable&frm_action=list&action=bulk_untrash&form_type=' . $current_page . '&item-action=' . implode( ',', $ids ), 'bulk-toplevel_page_formidable' ) ) . '">', '</a>' );
367
 
368
  return $message;
369
  }
832
  }
833
 
834
  if ( isset( $message ) && ! empty( $message ) ) {
835
+ echo '<div id="message" class="updated frm_msg_padding">' . FrmAppHelper::kses( $message, array( 'a' ) ) . '</div>';
836
  }
837
 
838
  return $errors;
classes/helpers/FrmAppHelper.php CHANGED
@@ -10,7 +10,7 @@ class FrmAppHelper {
10
  /**
11
  * @since 2.0
12
  */
13
- public static $plug_version = '2.02.01';
14
 
15
  /**
16
  * @since 1.07.02
@@ -1720,6 +1720,7 @@ class FrmAppHelper {
1720
  'offset' => apply_filters( 'frm_scroll_offset', 4 ),
1721
  'nonce' => wp_create_nonce( 'frm_ajax' ),
1722
  'id' => __( 'ID', 'formidable' ),
 
1723
  ) );
1724
 
1725
  if ( $location == 'admin' ) {
10
  /**
11
  * @since 2.0
12
  */
13
+ public static $plug_version = '2.02.02';
14
 
15
  /**
16
  * @since 1.07.02
1720
  'offset' => apply_filters( 'frm_scroll_offset', 4 ),
1721
  'nonce' => wp_create_nonce( 'frm_ajax' ),
1722
  'id' => __( 'ID', 'formidable' ),
1723
+ 'loading_text' => __( 'Options are loading...', 'formidable' ),
1724
  ) );
1725
 
1726
  if ( $location == 'admin' ) {
classes/models/FrmEntryFormat.php CHANGED
@@ -43,7 +43,9 @@ class FrmEntryFormat {
43
 
44
  $values = array();
45
  foreach ( $atts['fields'] as $f ) {
46
- self::fill_entry_values( $atts, $f, $values );
 
 
47
  unset($f);
48
  }
49
 
@@ -91,9 +93,7 @@ class FrmEntryFormat {
91
  }
92
 
93
  if ( $atts['default_email'] ) {
94
- if ( $f->type != 'password' && $f->type != 'credit_card' ) {
95
- self::get_field_shortcodes_for_default_email( $f, $values );
96
- }
97
  return;
98
  }
99
 
43
 
44
  $values = array();
45
  foreach ( $atts['fields'] as $f ) {
46
+ if ( $f->type != 'password' && $f->type != 'credit_card' ) {
47
+ self::fill_entry_values( $atts, $f, $values );
48
+ }
49
  unset($f);
50
  }
51
 
93
  }
94
 
95
  if ( $atts['default_email'] ) {
96
+ self::get_field_shortcodes_for_default_email( $f, $values );
 
 
97
  return;
98
  }
99
 
classes/models/FrmEntryValidate.php CHANGED
@@ -175,30 +175,48 @@ class FrmEntryValidate {
175
 
176
  $pattern = apply_filters( 'frm_phone_pattern', $pattern, $field );
177
 
178
- //check if format is already a regular expression
179
  if ( strpos( $pattern, '^' ) !== 0 ) {
180
- //if not, create a regular expression
181
- $pattern = preg_replace( '/\d/', '\d', preg_quote( $pattern ) );
182
- $pattern = str_replace( 'a', '[a-z]', $pattern );
183
- $pattern = str_replace( 'A', '[A-Z]', $pattern );
184
- $pattern = str_replace( '*', 'w', $pattern );
185
- $pattern = str_replace( '/', '\/', $pattern );
186
-
187
- if ( strpos( $pattern, '\?' ) !== false ) {
188
- $parts = explode( '\?', $pattern );
189
- $pattern = '';
190
- foreach ( $parts as $part ) {
191
- if ( empty( $pattern ) ) {
192
- $pattern .= $part;
193
- } else {
194
- $pattern .= '(' . $part . ')?';
195
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  }
197
  }
198
- $pattern = '^' . $pattern . '$';
199
  }
 
200
 
201
- $pattern = '/' . $pattern . '/';
202
  return $pattern;
203
  }
204
 
175
 
176
  $pattern = apply_filters( 'frm_phone_pattern', $pattern, $field );
177
 
178
+ // Create a regexp if format is not already a regexp
179
  if ( strpos( $pattern, '^' ) !== 0 ) {
180
+ $pattern = self::create_regular_expression_from_format( $pattern );
181
+ }
182
+
183
+ $pattern = '/' . $pattern . '/';
184
+ return $pattern;
185
+ }
186
+
187
+ /**
188
+ * Create a regular expression from a phone number format
189
+ *
190
+ * @since 2.02.02
191
+ * @param string $pattern
192
+ * @return string
193
+ */
194
+ private static function create_regular_expression_from_format( $pattern ) {
195
+ $pattern = preg_quote( $pattern );
196
+
197
+ // Firefox doesn't like escaped dashes or colons
198
+ $pattern = str_replace( array( '\-', '\:' ), array( '-', ':' ), $pattern );
199
+
200
+ // Switch generic values out for their regular expression
201
+ $pattern = preg_replace( '/\d/', '\d', $pattern );
202
+ $pattern = str_replace( 'a', '[a-z]', $pattern );
203
+ $pattern = str_replace( 'A', '[A-Z]', $pattern );
204
+ $pattern = str_replace( '*', 'w', $pattern );
205
+ $pattern = str_replace( '/', '\/', $pattern );
206
+
207
+ if ( strpos( $pattern, '\?' ) !== false ) {
208
+ $parts = explode( '\?', $pattern );
209
+ $pattern = '';
210
+ foreach ( $parts as $part ) {
211
+ if ( empty( $pattern ) ) {
212
+ $pattern .= $part;
213
+ } else {
214
+ $pattern .= '(' . $part . ')?';
215
  }
216
  }
 
217
  }
218
+ $pattern = '^' . $pattern . '$';
219
 
 
220
  return $pattern;
221
  }
222
 
css/_single_theme.css.php CHANGED
@@ -514,11 +514,13 @@ if ( ! $submit_style ) { ?>
514
  -moz-box-sizing:border-box;
515
  box-sizing:border-box;
516
  -ms-box-sizing:border-box;
 
517
  -moz-box-shadow:0 1px 1px #<?php echo esc_html( $submit_shadow_color ); ?>;
518
  -webkit-box-shadow:0px 1px 1px #<?php echo esc_html( $submit_shadow_color ); ?>;
519
  box-shadow:0 1px 1px #<?php echo esc_html( $submit_shadow_color ); ?>;
520
  -ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#<?php echo esc_html( $submit_shadow_color ); ?>')";
521
  filter:progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#<?php echo esc_html( $submit_shadow_color ); ?>');
 
522
  margin:<?php echo esc_html( $submit_margin ) ?>;
523
  margin-left:0;
524
  margin-right:0;
@@ -614,7 +616,8 @@ if ( ! $submit_style ) { ?>
614
  .frm_form_fields_error_style,
615
  .<?php echo esc_html( $style_class ) ?> .frm_blank_field .frm-g-recaptcha iframe,
616
  .<?php echo esc_html( $style_class ) ?> .frm_blank_field .g-recaptcha iframe,
617
- .<?php echo esc_html( $style_class ) ?> .frm_blank_field .chosen-container-multi .chosen-choices{
 
618
  color:#<?php echo esc_html( $text_color_error . $important ) ?>;
619
  background-color:<?php echo esc_html( ( empty( $bg_color_error ) ? 'transparent' : '#' . $bg_color_error ) . $important ); ?>;
620
  border-color:#<?php echo esc_html( $border_color_error . $important ) ?>;
@@ -744,7 +747,7 @@ if ( ! $submit_style ) { ?>
744
  background:#<?php echo esc_html( $submit_bg_color . $important ) ?>;
745
  border-width:<?php echo esc_html( $submit_border_width ) ?>;
746
  border-color:#<?php echo esc_html( $submit_border_color . $important ) ?>;
747
- height:#<?php echo esc_html( $submit_height . $important ) ?>;
748
  }
749
  .<?php echo esc_html( $style_class ) ?> .frm_button .frm_icon_font:before{
750
  font-size:<?php echo esc_html( $submit_font_size . $important ) ?>;
514
  -moz-box-sizing:border-box;
515
  box-sizing:border-box;
516
  -ms-box-sizing:border-box;
517
+ <?php if ( ! empty( $submit_shadow_color ) ) { ?>
518
  -moz-box-shadow:0 1px 1px #<?php echo esc_html( $submit_shadow_color ); ?>;
519
  -webkit-box-shadow:0px 1px 1px #<?php echo esc_html( $submit_shadow_color ); ?>;
520
  box-shadow:0 1px 1px #<?php echo esc_html( $submit_shadow_color ); ?>;
521
  -ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#<?php echo esc_html( $submit_shadow_color ); ?>')";
522
  filter:progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#<?php echo esc_html( $submit_shadow_color ); ?>');
523
+ <?php } ?>
524
  margin:<?php echo esc_html( $submit_margin ) ?>;
525
  margin-left:0;
526
  margin-right:0;
616
  .frm_form_fields_error_style,
617
  .<?php echo esc_html( $style_class ) ?> .frm_blank_field .frm-g-recaptcha iframe,
618
  .<?php echo esc_html( $style_class ) ?> .frm_blank_field .g-recaptcha iframe,
619
+ .<?php echo esc_html( $style_class ) ?> .frm_blank_field .chosen-container-multi .chosen-choices,
620
+ .<?php echo esc_html( $style_class ) ?> .frm_form_field :invalid{
621
  color:#<?php echo esc_html( $text_color_error . $important ) ?>;
622
  background-color:<?php echo esc_html( ( empty( $bg_color_error ) ? 'transparent' : '#' . $bg_color_error ) . $important ); ?>;
623
  border-color:#<?php echo esc_html( $border_color_error . $important ) ?>;
747
  background:#<?php echo esc_html( $submit_bg_color . $important ) ?>;
748
  border-width:<?php echo esc_html( $submit_border_width ) ?>;
749
  border-color:#<?php echo esc_html( $submit_border_color . $important ) ?>;
750
+ height:<?php echo esc_html( $submit_height . $important ) ?>;
751
  }
752
  .<?php echo esc_html( $style_class ) ?> .frm_button .frm_icon_font:before{
753
  font-size:<?php echo esc_html( $submit_font_size . $important ) ?>;
css/custom_theme.css.php CHANGED
@@ -406,13 +406,15 @@ table.form_results.with_frm_style tr.frm_odd,
406
  animation:2s linear 0s normal none infinite progress-bar-stripes;
407
  }
408
 
 
409
  #frm_loading .progress-striped .progress-bar{
410
  background-image:linear-gradient(45deg, #<?php echo esc_html( $defaults['border_color'] ) ?> 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, #<?php echo esc_html( $defaults['border_color'] ) ?> 50%, #<?php echo esc_html( $defaults['border_color'] ) ?> 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
411
  background-size:40px 40px;
412
  }
 
413
 
414
  #frm_loading .progress-bar{
415
- background-color:#<?php echo esc_html( $defaults['bg_color'] ) ?>;
416
  box-shadow:0 -1px 0 rgba(0, 0, 0, 0.15) inset;
417
  float:left;
418
  height:100%;
@@ -509,7 +511,7 @@ ul.frm_pagination > li.active a{
509
  }
510
 
511
  table.frmcal-calendar .frmcal_date{
512
- background-color:#<?php echo esc_html( $defaults['bg_color'] ) ?>;
513
  padding:0 5px;
514
  text-align:right;
515
  -moz-box-shadow:0 2px 5px #<?php echo esc_html( $defaults['border_color'] ) ?>;
406
  animation:2s linear 0s normal none infinite progress-bar-stripes;
407
  }
408
 
409
+ <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
410
  #frm_loading .progress-striped .progress-bar{
411
  background-image:linear-gradient(45deg, #<?php echo esc_html( $defaults['border_color'] ) ?> 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, #<?php echo esc_html( $defaults['border_color'] ) ?> 50%, #<?php echo esc_html( $defaults['border_color'] ) ?> 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
412
  background-size:40px 40px;
413
  }
414
+ <?php } ?>
415
 
416
  #frm_loading .progress-bar{
417
+ background-color:<?php echo esc_html( empty( $defaults['bg_color'] ) ? 'transparent' : '#' . $defaults['bg_color'] ); ?>;
418
  box-shadow:0 -1px 0 rgba(0, 0, 0, 0.15) inset;
419
  float:left;
420
  height:100%;
511
  }
512
 
513
  table.frmcal-calendar .frmcal_date{
514
+ background-color:<?php echo esc_html( empty( $defaults['bg_color'] ) ? 'transparent' : '#' . $defaults['bg_color'] ); ?>;
515
  padding:0 5px;
516
  text-align:right;
517
  -moz-box-shadow:0 2px 5px #<?php echo esc_html( $defaults['border_color'] ) ?>;
css/dropzone.css CHANGED
@@ -229,6 +229,7 @@
229
  .frm_dropzone.dz-clickable * {
230
  cursor: default;
231
  }
 
232
  .frm_dropzone.dz-clickable.frm_single_upload{
233
  max-width: 200px;
234
  }
@@ -341,11 +342,16 @@
341
  .frm_dropzone .dz-preview .dz-details .dz-filename:not(:hover) span {
342
  border: 1px solid transparent;
343
  }
344
- .frm_dropzone .dz-preview .dz-details .dz-filename span, .frm_dropzone .dz-preview .dz-details .dz-size span {
 
345
  background-color: rgba(255, 255, 255, 0.4);
346
  padding: 0 0.4em;
347
  border-radius: 3px;
348
  }
 
 
 
 
349
  .frm_dropzone .dz-preview:hover .dz-image img {
350
  -webkit-transform: scale(1.05, 1.05);
351
  -moz-transform: scale(1.05, 1.05);
229
  .frm_dropzone.dz-clickable * {
230
  cursor: default;
231
  }
232
+
233
  .frm_dropzone.dz-clickable.frm_single_upload{
234
  max-width: 200px;
235
  }
342
  .frm_dropzone .dz-preview .dz-details .dz-filename:not(:hover) span {
343
  border: 1px solid transparent;
344
  }
345
+ .frm_dropzone .dz-preview .dz-details .dz-filename span,
346
+ .frm_dropzone .dz-preview .dz-details .dz-size span {
347
  background-color: rgba(255, 255, 255, 0.4);
348
  padding: 0 0.4em;
349
  border-radius: 3px;
350
  }
351
+ .frm_dropzone .dz-preview .dz-details .dz-filename a{
352
+ cursor:pointer;
353
+ }
354
+
355
  .frm_dropzone .dz-preview:hover .dz-image img {
356
  -webkit-transform: scale(1.05, 1.05);
357
  -moz-transform: scale(1.05, 1.05);
css/frm_admin.css CHANGED
@@ -151,6 +151,7 @@ input.frm_insert_in_template{
151
  }
152
 
153
  .button.frm_hidden,
 
154
  .frm_hidden{
155
  display:none;
156
  }
151
  }
152
 
153
  .button.frm_hidden,
154
+ .wp-core-ui .button.frm_hidden,
155
  .frm_hidden{
156
  display:none;
157
  }
formidable.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Formidable
4
  Description: Quickly and easily create drag-and-drop forms
5
- Version: 2.02.01
6
  Plugin URI: http://formidablepro.com/
7
  Author URI: http://strategy11.com
8
  Author: Strategy11
2
  /*
3
  Plugin Name: Formidable
4
  Description: Quickly and easily create drag-and-drop forms
5
+ Version: 2.02.02
6
  Plugin URI: http://formidablepro.com/
7
  Author URI: http://strategy11.com
8
  Author: Strategy11
js/formidable.js CHANGED
@@ -94,20 +94,32 @@ function frmFrontFormJS(){
94
  ) );
95
  }
96
 
97
- function loadDropzones(){
98
  if ( typeof __frmDropzone === 'undefined' ) {
99
  return;
100
  }
101
 
102
  var uploadFields = __frmDropzone;
103
  for ( var i = 0; i < uploadFields.length; i++ ) {
104
- loadDropzone( i );
105
  }
106
  }
107
 
108
- function loadDropzone( i ) {
109
  var uploadFields = __frmDropzone;
110
- var field = jQuery( '#' + uploadFields[i].htmlID );
 
 
 
 
 
 
 
 
 
 
 
 
111
  var max = uploadFields[i].maxFiles;
112
  if ( typeof uploadFields[i].mockFiles !== 'undefined' ) {
113
  var uploadedCount = uploadFields[i].mockFiles.length;
@@ -123,10 +135,9 @@ function frmFrontFormJS(){
123
  field.dropzone({
124
  url:frm_js.ajax_url,
125
  addRemoveLinks: true,
126
- paramName: uploadFields[i].paramName,
127
  maxFilesize: uploadFields[i].maxFilesize,
128
  maxFiles: max,
129
- acceptedFiles: uploadFields[i].acceptedFiles,
130
  uploadMultiple: uploadFields[i].uploadMultiple,
131
  dictCancelUpload: uploadFields[i].cancel,
132
  dictCancelUploadConfirmation: uploadFields[i].cancelConfirm,
@@ -166,8 +177,17 @@ function frmFrontFormJS(){
166
  });
167
 
168
  this.on('complete', function( file ) {
169
- if ( uploadFields[i].uploadMultiple && typeof file.mediaID !== 'undefined' ) {
170
- jQuery(file.previewElement).append( getHiddenUploadHTML( uploadFields[i], file.mediaID ) );
 
 
 
 
 
 
 
 
 
171
  }
172
  });
173
 
@@ -194,6 +214,7 @@ function frmFrontFormJS(){
194
  var mockFile = {
195
  name: uploadFields[i].mockFiles[f].name,
196
  size: uploadFields[i].mockFiles[f].size,
 
197
  mediaID: uploadFields[i].mockFiles[f].id
198
  };
199
 
@@ -719,6 +740,7 @@ function frmFrontFormJS(){
719
  * @param {boolean} logicFieldArgs.isRepeating
720
  * @param {string} logicFieldArgs.fieldId
721
  * @param {object} depFieldArgs
 
722
  * @param {string} depFieldArgs.inSection
723
  * @param {string} depFieldArgs.repeatRow
724
  * @returns {string}
@@ -728,7 +750,12 @@ function frmFrontFormJS(){
728
 
729
  if ( logicFieldArgs.isRepeating ) {
730
  // If the trigger field is repeating, the child must be repeating as well
731
- var sectionId = depFieldArgs.inSection;
 
 
 
 
 
732
  var rowId = depFieldArgs.repeatRow;
733
  inputName = 'item_meta[' + sectionId + '][' + rowId + '][' + logicFieldArgs.fieldId + ']';
734
  } else {
@@ -1284,10 +1311,15 @@ function frmFrontFormJS(){
1284
  setHiddenCheckboxDefaultValue( input.name, defaultValue );
1285
 
1286
  } else {
1287
- var addressType = input.getAttribute('autocompletetype');
1288
- if ( addressType !== null ) {
1289
- addressType = addressType.replace( 'address-', '' );
1290
- defaultValue = defaultValue[addressType];
 
 
 
 
 
1291
  }
1292
 
1293
  input.value = defaultValue;
@@ -1612,6 +1644,10 @@ function frmFrontFormJS(){
1612
  triggerChange(jQuery(childSelect), childFieldArgs.fieldKey);
1613
  }
1614
  } else {
 
 
 
 
1615
  // If all parents have values, check for updated options
1616
  jQuery.ajax({
1617
  type:'POST',
@@ -3464,6 +3500,7 @@ function frmFrontFormJS(){
3464
  }
3465
  });
3466
 
 
3467
  loadStars();
3468
 
3469
  // trigger autocomplete
@@ -3846,8 +3883,10 @@ function frmFrontFormJS(){
3846
  },
3847
 
3848
  submitForm: function(e){
3849
- var object = this;
 
3850
 
 
3851
  var classList = object.classList;
3852
  if ( classList ) {
3853
  var isPro = classList.contains('frm_pro_form');
@@ -3866,8 +3905,13 @@ function frmFrontFormJS(){
3866
  if ( Object.keys(errors).length === 0 ) {
3867
  jQuery(object).find('.frm_ajax_loading').addClass('frm_loading_now');
3868
  if ( classList.contains('frm_ajax_submit') ) {
3869
- action = jQuery(object).find('input[name="frm_action"]').val();
3870
- frmFrontForm.checkFormErrors( object, action );
 
 
 
 
 
3871
  } else {
3872
  object.submit();
3873
  }
94
  ) );
95
  }
96
 
97
+ function loadDropzones( repeatRow ) {
98
  if ( typeof __frmDropzone === 'undefined' ) {
99
  return;
100
  }
101
 
102
  var uploadFields = __frmDropzone;
103
  for ( var i = 0; i < uploadFields.length; i++ ) {
104
+ loadDropzone( i, repeatRow );
105
  }
106
  }
107
 
108
+ function loadDropzone( i, repeatRow ) {
109
  var uploadFields = __frmDropzone;
110
+ var selector = '[id ^="'+ uploadFields[i].htmlID +'"][id $="_dropzone"]';
111
+
112
+ if ( typeof repeatRow !== 'undefined' ) {
113
+ selector = '#'+ uploadFields[i].htmlID + '-' + repeatRow +'_dropzone';
114
+ uploadFields[i].fieldName = uploadFields[i].fieldName.replace('[0]', '['+ repeatRow +']');
115
+ delete uploadFields[i].mockFiles;
116
+ }
117
+
118
+ var field = jQuery(selector);
119
+ if ( field.length < 1 || field.hasClass('dz-clickable') ) {
120
+ return;
121
+ }
122
+
123
  var max = uploadFields[i].maxFiles;
124
  if ( typeof uploadFields[i].mockFiles !== 'undefined' ) {
125
  var uploadedCount = uploadFields[i].mockFiles.length;
135
  field.dropzone({
136
  url:frm_js.ajax_url,
137
  addRemoveLinks: true,
138
+ paramName: field.attr('id').replace('_dropzone', ''),
139
  maxFilesize: uploadFields[i].maxFilesize,
140
  maxFiles: max,
 
141
  uploadMultiple: uploadFields[i].uploadMultiple,
142
  dictCancelUpload: uploadFields[i].cancel,
143
  dictCancelUploadConfirmation: uploadFields[i].cancelConfirm,
177
  });
178
 
179
  this.on('complete', function( file ) {
180
+ if ( typeof file.mediaID !== 'undefined' ) {
181
+ if ( uploadFields[i].uploadMultiple ) {
182
+ jQuery(file.previewElement).append( getHiddenUploadHTML( uploadFields[i], file.mediaID ) );
183
+ }
184
+
185
+ // Add download link to the file
186
+ var fileName = file.previewElement.querySelectorAll('[data-dz-name]');
187
+ for ( var _i = 0, _len = fileName.length; _i < _len; _i++ ) {
188
+ var node = fileName[_i];
189
+ node.innerHTML = '<a href="'+ file.url +'">'+ file.name +'</a>';
190
+ }
191
  }
192
  });
193
 
214
  var mockFile = {
215
  name: uploadFields[i].mockFiles[f].name,
216
  size: uploadFields[i].mockFiles[f].size,
217
+ url:uploadFields[i].mockFiles[f].file_url,
218
  mediaID: uploadFields[i].mockFiles[f].id
219
  };
220
 
740
  * @param {boolean} logicFieldArgs.isRepeating
741
  * @param {string} logicFieldArgs.fieldId
742
  * @param {object} depFieldArgs
743
+ * @param {string} depFieldArgs.inEmbedForm
744
  * @param {string} depFieldArgs.inSection
745
  * @param {string} depFieldArgs.repeatRow
746
  * @returns {string}
750
 
751
  if ( logicFieldArgs.isRepeating ) {
752
  // If the trigger field is repeating, the child must be repeating as well
753
+ var sectionId = '';
754
+ if ( depFieldArgs.inEmbedForm !== "0" ) {
755
+ sectionId = depFieldArgs.inEmbedForm;
756
+ } else {
757
+ sectionId = depFieldArgs.inSection;
758
+ }
759
  var rowId = depFieldArgs.repeatRow;
760
  inputName = 'item_meta[' + sectionId + '][' + rowId + '][' + logicFieldArgs.fieldId + ']';
761
  } else {
1311
  setHiddenCheckboxDefaultValue( input.name, defaultValue );
1312
 
1313
  } else {
1314
+ if ( defaultValue.constructor === Object ) {
1315
+ var addressType = input.getAttribute('name').split('[').slice(-1)[0];
1316
+ if ( addressType !== null ) {
1317
+ addressType = addressType.replace(']', '');
1318
+ defaultValue = defaultValue[addressType];
1319
+ if ( typeof defaultValue == 'undefined' ) {
1320
+ defaultValue = '';
1321
+ }
1322
+ }
1323
  }
1324
 
1325
  input.value = defaultValue;
1644
  triggerChange(jQuery(childSelect), childFieldArgs.fieldKey);
1645
  }
1646
  } else {
1647
+ // Add Loading text
1648
+ childSelect.options.length = 1;
1649
+ childSelect.options[1]=new Option( frm_js.loading_text, '', false, false );
1650
+
1651
  // If all parents have values, check for updated options
1652
  jQuery.ajax({
1653
  type:'POST',
3500
  }
3501
  });
3502
 
3503
+ loadDropzones( repeatArgs.repeatRow );
3504
  loadStars();
3505
 
3506
  // trigger autocomplete
3883
  },
3884
 
3885
  submitForm: function(e){
3886
+ frmFrontForm.submitFormManual( e, this );
3887
+ },
3888
 
3889
+ submitFormManual: function(e, object){
3890
  var classList = object.classList;
3891
  if ( classList ) {
3892
  var isPro = classList.contains('frm_pro_form');
3905
  if ( Object.keys(errors).length === 0 ) {
3906
  jQuery(object).find('.frm_ajax_loading').addClass('frm_loading_now');
3907
  if ( classList.contains('frm_ajax_submit') ) {
3908
+ var hasFileFields = jQuery(object).find('input[type="file"]').length;
3909
+ if ( hasFileFields < 1 ) {
3910
+ action = jQuery(object).find('input[name="frm_action"]').val();
3911
+ frmFrontForm.checkFormErrors( object, action );
3912
+ } else {
3913
+ object.submit();
3914
+ }
3915
  } else {
3916
  object.submit();
3917
  }
js/formidable.min.js CHANGED
@@ -1,94 +1,95 @@
1
  function frmFrontFormJS(){function l(a){var b=jQuery(this),c=b.attr("type");"submit"!==c&&a.preventDefault();a=b.parents("form:first");var d=b="",e=this.name;if("frm_prev_page"===e||-1!==this.className.indexOf("frm_prev_page"))b=jQuery(a).find(".frm_next_page").attr("id").replace("frm_next_p_","");else if("frm_save_draft"===e||-1!==this.className.indexOf("frm_save_draft"))d=1;jQuery(".frm_next_page").val(b);jQuery(".frm_saving_draft").val(d);"submit"!==c&&a.trigger("submit")}function n(){jQuery(this).parent().children(".frm_toggle_container").slideToggle("fast");
2
- jQuery(this).toggleClass("active").children(".ui-icon-triangle-1-e, .ui-icon-triangle-1-s").toggleClass("ui-icon-triangle-1-s ui-icon-triangle-1-e")}function p(){for(var a=__frmUniqueTimes,b=0;b<a.length;b++)a[b].dateID==this.id&&frmFrontForm.removeUsedTimes(this,a[b].timeID)}function r(){if(-1===this.className.indexOf("frm_custom_date")&&"undefined"!==typeof __frmDatepicker){var a=__frmDatepicker,b=this.id,c=b.split("-");c.pop();c='input[id^="'+c.join("-")+'"]';jQuery.datepicker.setDefaults(jQuery.datepicker.regional[""]);
3
- for(var d=0,e=0;e<a.length;e++)if(a[e].triggerID=="#"+b||a[e].triggerID==c)d=e;""!==a[d].options.defaultDate&&(a[d].options.defaultDate=new Date(a[d].options.defaultDate));jQuery(this).datepicker(jQuery.extend(jQuery.datepicker.regional[a[d].locale],a[d].options))}}function x(a){var b=__frmDropzone,c=jQuery("#"+b[a].htmlID),d=b[a].maxFiles;if("undefined"!==typeof b[a].mockFiles){var e=b[a].mockFiles.length;0<d&&(d-=e)}var e=c.closest("form"),f=e.find('input[type="submit"], .frm_submit input[type="button"]'),
4
- h=e.find(".frm_ajax_loading");c.dropzone({url:frm_js.ajax_url,addRemoveLinks:!0,paramName:b[a].paramName,maxFilesize:b[a].maxFilesize,maxFiles:d,acceptedFiles:b[a].acceptedFiles,uploadMultiple:b[a].uploadMultiple,dictCancelUpload:b[a].cancel,dictCancelUploadConfirmation:b[a].cancelConfirm,dictRemoveFile:b[a].remove,dictMaxFilesExceeded:b[a].maxFilesExceeded,fallback:function(){jQuery(this.element).closest("form").removeClass("frm_ajax_submit")},init:function(){this.on("sending",function(c,d,e){e.append("action",
5
- "frm_submit_dropzone");e.append("field_id",b[a].fieldID);e.append("form_id",b[a].formID)});this.on("success",function(c,d){for(var e=jQuery.parseJSON(d),f=0;f<e.length;f++)!0!==b[a].uploadMultiple&&jQuery('input[name="'+b[a].fieldName+'"]').val(e[f])});this.on("successmultiple",function(c,d){for(var e=jQuery.parseJSON(d),f=0;f<c.length;f++)jQuery(c[f].previewElement).append(y(b[a],e[f]))});this.on("removedfile",function(c){!0!==b[a].uploadMultiple&&jQuery('input[name="'+b[a].fieldName+'"]').val("")});
6
- this.on("complete",function(c){b[a].uploadMultiple&&"undefined"!==typeof c.mediaID&&jQuery(c.previewElement).append(y(b[a],c.mediaID))});this.on("addedfile",function(){h.addClass("frm_loading_now");f.attr("disabled","disabled")});this.on("queuecomplete",function(){h.removeClass("frm_loading_now");f.removeAttr("disabled")});this.on("removedfile",function(c){"undefined"!==typeof c.mediaID&&(jQuery(c.previewElement).remove(),this.options.maxFiles=b[a].maxFiles-this.files.length)});if("undefined"!==typeof b[a].mockFiles)for(var c=
7
- 0;c<b[a].mockFiles.length;c++){var d={name:b[a].mockFiles[c].name,size:b[a].mockFiles[c].size,mediaID:b[a].mockFiles[c].id};this.emit("addedfile",d);this.emit("thumbnail",d,b[a].mockFiles[c].url);this.emit("complete",d);this.files.push(d)}}})}function y(a,b){return'<input name="'+a.fieldName+'[]" type="hidden" value="'+b+'" data-frmfile="'+a.fieldID+'" />'}function z(){var a=jQuery(this).data("frm-remove");Ma(jQuery(this).parent(".dz-preview"));a=jQuery('input[name="'+a+'"]');a.length&&a.val("")}
8
- function v(){var a=this.type,b=!1,c=!1;if("select-one"===a)c=!0,"frm_other_trigger"===this.options[this.selectedIndex].className&&(b=!0);else if("select-multiple"===a)for(var c=!0,d=this.options,b=!1,e=0;e<d.length;e++)if("frm_other_trigger"===d[e].className&&d[e].selected){b=!0;break}c?(a=jQuery(this).parent().children(".frm_other_input"),a.length&&(b?a[0].className=a[0].className.replace("frm_pos_none",""):(1>a[0].className.indexOf("frm_pos_none")&&(a[0].className+=" frm_pos_none"),a[0].value=""))):
9
- "radio"===a?jQuery(this).is(":checked")&&(jQuery(this).closest(".frm_radio").children(".frm_other_input").removeClass("frm_pos_none"),jQuery(this).closest(".frm_radio").siblings().children(".frm_other_input").addClass("frm_pos_none").val("")):"checkbox"===a&&(this.checked?jQuery(this).closest(".frm_checkbox").children(".frm_other_input").removeClass("frm_pos_none"):jQuery(this).closest(".frm_checkbox").children(".frm_other_input").addClass("frm_pos_none").val(""))}function A(a){var b=q(this,!1);if(b&&
10
- "undefined"!==typeof b&&(!a.frmTriggered||a.frmTriggered!=b)){da(b,jQuery(this));a="undefined"!==typeof a.originalEvent||-1<a.currentTarget.className.indexOf("frm_chzn")?"value changed":"other";ea(b,jQuery(this),a);L(b,jQuery(this));b=[];a=jQuery(this).closest(".frm_form_field");a.hasClass(".frm_required_field")&&!jQuery(this).hasClass(".frm_optional")&&(b=fa(this,b));if(1>b.length)if("email"==this.type)var c=jQuery(this).closest("form").find("input[type=email]"),b=ga(this,b,c);else"number"==this.type?
11
- b=ha(this,b):null!==this.pattern&&(b=ia(this,b));a.removeClass("frm_blank_field");a.find(".frm_error").remove();if(0<Object.keys(b).length)for(var d in b)M(a,d,b)}}function q(a,b){var c="",c=a instanceof jQuery?a.attr("name"):a.name;if(""===c)return c=a instanceof jQuery?a.data("name"):a.getAttribute("data-name"),""!==c&&c?c:0;c=c.replace("item_meta[","").replace("[]","").split("]");if(1>c.length)return 0;var c=c.filter(function(a){return""!==a}),d=c[0],e=!1;if(1===c.length||"[form"==c[1]||"[id"==
12
- c[1])return d;if(jQuery('input[name="item_meta['+d+'][form]"]').length){if(2===c.length&&"[0"==c[1])return 0;d=c[2].replace("[","");e=!0}"other"===d&&(d=e?c[3].replace("[",""):c[1].replace("[",""));!0===b&&(d=d===c[0]?d+"-"+c[1].replace("[",""):d+"-"+c[0]+"-"+c[1].replace("[",""));return d}function da(a,b){if(!("undefined"===typeof __FRMRULES||"undefined"===typeof __FRMRULES[a]||1>__FRMRULES[a].dependents.length||null===b||"undefined"===typeof b))for(var c=__FRMRULES[a],d=F(b[0].name),e=0,f=c.dependents.length;e<
13
- f;e++)G(c.dependents[e],d)}function G(a,b){var c=N(a);if(!(!1===c||1>c.conditions.length)){var d;d=[];if(c.isRepeating)if(""!==b.repeatingSection){var e="frm_field_"+c.fieldId+"-",e=e+(b.repeatingSection+"-"+b.repeatRow+"_container");d.push(e)}else if("0"!==c.inEmbedForm)d=O(c),d=["frm_field_"+c.fieldId+"-"+d+"-0_container"];else if(d=[],e=O(c),null!==document.getElementById("frm_field_"+e+"_container"))for(var e=document.querySelectorAll(".frm_field_"+c.fieldId+"_container"),f=0,h=e.length;f<h;f++)d.push(e[f].id);
14
- else if(d=[],e=O(c),e="frm_field_"+c.fieldId+"-"+e+"-",f=document.querySelectorAll('[id^="field_'+c.inSectionKey+'-rowid-"]'),1>f.length)d.push(e+"0_container");else for(var g=0,k=f.length;g<k;g++)h=f[g].id.split("-"),3==h.length&&d.push(e+h[2]+"_container");else d.push("frm_field_"+c.fieldId+"_container");e=d.length;for(f=0;f<e;f++)c.containerId=d[f],ja(c,d[f]),ka(c)}}function O(a){var b="";"0"!==a.inEmbedForm?b=a.inEmbedForm:"0"!==a.inSection&&(b=a.inSection);return b}function ja(a,b){if(a.isRepeating){var c=
15
- b.replace("_container","").split("-");a.repeatRow=c[2]}else a.repeatRow=""}function ka(a){for(var b=[],c=a.conditions.length,d=0;d<c;d++)b.push(Na(a.conditions[d],a));c=C="any"==a.anyAll?-1<b.indexOf(!0)?a.showHide:la(a.showHide):-1<b.indexOf(!1)?la(a.showHide):a.showHide;b=null!==document.getElementById(a.containerId);"show"==c?"data"==a.fieldType&&a.hasOwnProperty("dataLogic")?(a={fieldId:a.fieldId,fieldKey:a.fieldKey,formId:a.formId,containerId:a.containerId,repeatRow:a.repeatRow,dataLogic:{actualValue:a.dataLogic.actualValue,
16
- fieldId:a.dataLogic.fieldId},children:"",inputType:a.inputType},"data"==a.inputType?Oa(a,b):b&&Pa(a)):!1!==B(a.containerId,a.formId)&&(H(a.containerId,a.formId),b?(b=ma(a.containerId),na(b,"divider"==a.fieldType||"form"==a.fieldType,a.formId),jQuery("#"+a.containerId).show()):(b=oa(a),na(b,"divider"==a.fieldType||"form"==a.fieldType,a.formId))):P(a,b)}function N(a){return"undefined"===typeof __FRMRULES||"undefined"===typeof __FRMRULES[a]?!1:__FRMRULES[a]}function Na(a,b){var c=N(a.fieldId),d=pa(c,
17
- b);"data"==b.fieldType&&"data"==c.fieldType?(c=""===a.value?""===d||1==d.length&&""===d[0]?!1:!0:Q(a.operator,a.value,d),b.dataLogic=a,b.dataLogic.actualValue=d,d=c):d=Q(a.operator,a.value,d);return d}function pa(a,b){var c;if("radio"==a.inputType||"checkbox"==a.inputType)c=qa(a,b),c=document.querySelectorAll('input[name^="'+c+'"]'),c="checkbox"==a.inputType?R(c):ra(c);else if(c="",!0===a.isMultiSelect){c=qa(a,b);var d=document.querySelectorAll('[name^="'+c+'"]');c=1==d.length&&"hidden"!=d[0].type?
18
- jQuery('[name^="'+c+'"]').val():R(d)}else d="field_"+a.fieldKey,a.isRepeating&&(d+="-"+b.repeatRow),d=document.getElementById(d),null!==d&&(c=d.value);"undefined"===typeof c?c="":"string"===typeof c&&(c=c.trim());return c}function qa(a,b){return a.isRepeating?"item_meta["+b.inSection+"]["+b.repeatRow+"]["+a.fieldId+"]":"item_meta["+a.fieldId+"]"}function R(a){for(var b=[],c=0,d=a.length;c<d;c++)("hidden"==a[c].type||a[c].checked)&&b.push(a[c].value);0===b.length&&(b="");return b}function Q(a,b,c){b=
19
- Qa(b);c=Ra(b,c);return"string"===typeof b&&"-1"!=b.indexOf("&quot;")&&Q(a,b.replace("&quot;",'"'),c)?!0:{"==":function(a,b){return a==b},"!=":function(a,b){return a!=b},"<":function(a,b){return a>b},">":function(a,b){return a<b},LIKE:function(a,b){if(!b)return!1;b=I(b);a=I(a);return-1!=b.indexOf(a)},"not LIKE":function(a,b){if(!b)return!0;b=I(b);a=I(a);return-1==b.indexOf(a)}}[a](b,c)}function Qa(a){-1!==String(a).search(/^\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*$/)?a=parseFloat(a):"string"===typeof a&&
20
- (a=a.trim());return a}function Ra(a,b){"undefined"===typeof b&&(b="");jQuery.isArray(b)&&-1<jQuery.inArray(a,b)&&(b=a);"number"===typeof a&&"string"===typeof b&&(b=parseFloat(b));"string"===typeof b&&(b=b.trim());return b}function I(a){"string"===typeof a?a=a.toLowerCase():"number"===typeof a&&(a=a.toString());return a}function la(a){return"show"==a?"hide":"show"}function ma(a){return document.getElementById(a).querySelectorAll('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]')}
21
- function oa(a){if("divider"==a.fieldType){var b=[];"divider"==a.fieldType&&(b=document.querySelectorAll('[data-sectionid="'+a.fieldId+'"]'));a=b}else a="form"==a.fieldType?document.querySelectorAll('[id^="field_'+a.fieldKey+'-"]'):document.querySelectorAll('[name^="'+(a.isRepeating?"item_meta["+a.inSection+"]["+a.repeatRow+"]["+a.fieldId+"]":"item_meta["+a.fieldId+"]")+'"]');return a}function na(a,b,c){if(a.length)for(var d,e=["checkbox","radio"],f=0;f<a.length;f++)if(!(0<f&&"undefined"!==typeof d&&
22
- d.name==a[f].name&&-1<e.indexOf(d.type)||b&&S(a[f],c))){d=a[f];var h=jQuery(d),g=h.data("frmval");if("undefined"!==typeof g){if("checkbox"==d.type||"radio"==d.type)for(var k=document.getElementsByName(d.name),m=0,l=k.length;m<l;m++)if("hidden"==k[m].type)jQuery.isArray(g)&&null!==g[m]?k[m].value=g[m]:k[m].value=g;else{if(k[m].value==g||jQuery.isArray(g)&&-1<g.indexOf(k[m].value))if(k[m].checked=!0,"radio"==k[m].type)break}else if(-1<d.name.indexOf("[]"))if(k=document.getElementsByName(d.name),jQuery.isArray(g))for(m=
23
- 0,l=g.length;m<l;m++)m in k&&(k[m].value=g[m]);else null!==k[0]&&(k[0].value=g);else k=d.getAttribute("autocompletetype"),null!==k&&(k=k.replace("address-",""),g=g[k]),d.value=g;"SELECT"==d.tagName&&T(d);u(h)}d=a[f];h=q(d,!1);h=U(h);!1!==h&&"lookup"!=h.fieldType&&(h.parentVals=V(h),sa(h,d));d=a[f];if(h="undefined"!==typeof __FRMCALC){h=d.type;g=!1;if("text"==h||"hidden"==h||"number"==h)g=!0;h=g}if(h){h=__FRMCALC;g=d.name;k=d.id.replace("field_","");if(3<=g.split("][").length)for(g=k.split("-"),k=
24
- "",m=0;m<g.length-1;m++)k=""===k?g[m]:k+"-"+g[m];g=k;k=null;3<=d.name.split("][").length&&(k="hidden"!=d.type?jQuery(d).closest(".frm_form_field"):jQuery(d));d=k;void 0!==h.calc[g]&&W(h,g,[],d)}d=a[f]}}function S(a,b){var c=q(a,!0);return B("frm_field_"+c+"_container",b)}function P(a,b){if(!B(a.containerId,a.formId)){if(b){jQuery("#"+a.containerId).hide();var c=ma(a.containerId)}else c=oa(a);X(c);ta(a.containerId,a.formId)}}function X(a){if(!(1>a.length)){for(var b,c=!0,d=0,e=a.length;d<e;d++)0<d&&
25
- b.name!=a[d].name&&!0===c&&u(jQuery(b)),c=!0,"radio"==a[d].type||"checkbox"==a[d].type?a[d].checked=!1:"SELECT"==a[d].tagName?(0===a[d].selectedIndex?c=!1:a[d].selectedIndex=0,null!==document.getElementById(a[d].id+"_chosen")&&jQuery(a[d]).trigger("chosen:updated")):a[d].value="",b=a[d];!0===c&&u(jQuery(b))}}function B(a,b){var c=!1;-1<D(b).indexOf(a)&&(c=!0);return c}function ta(a,b){var c=D(b);if(!(-1<c.indexOf(a))){c.push(a);var c=JSON.stringify(c),d=document.getElementById("frm_hide_fields_"+
26
- b);null!==d&&(d.value=c)}}function D(a){var b=[];a=document.getElementById("frm_hide_fields_"+a);return null===a?b:b=(b=a.value)?JSON.parse(b):[]}function H(a,b){var c=D(b),d=c.indexOf(a);-1<d&&(c.splice(d,1),c=JSON.stringify(c),document.getElementById("frm_hide_fields_"+b).value=c)}function ea(a,b,c){if(!("undefined"===typeof __FRMLOOKUP||"undefined"===typeof __FRMLOOKUP[a]||1>__FRMLOOKUP[a].dependents.length||null===b||"undefined"===typeof b)){a=__FRMLOOKUP[a];b=F(b[0].name);for(var d=0,e=a.dependents.length;d<
27
- e;d++)Y(a.dependents[d],b,c)}}function Y(a,b,c){a=U(a);if(!(!1===a||1>a.parents.length))if("lookup"==a.fieldType){b=[];a.isRepeating?b=document.querySelectorAll(".frm_field_"+a.fieldId+"_container"):(c=document.getElementById("frm_field_"+a.fieldId+"_container"),null!==c&&b.push(c));c=0;for(var d=b.length;c<d;c++){ja(a,b[c].id);var e=a,f=b[c];e.parentVals=V(e);if("select"==e.inputType)Sa(e,f);else if("radio"==e.inputType||"checkbox"==e.inputType)if(!1===e.parentVals){var h=f.getElementsByTagName("input");
28
- ua(e,f);X(h)}else Ta(e,f)}}else if("value changed"===c)for(c="field_"+a.fieldKey,c=a.isRepeating?""!==b.repeatingSection?'[id="'+c+"-"+b.repeatRow+'"]':'[id^="'+c+'-"]':'[id="'+c+'"]',b=document.querySelectorAll(c),c=0,d=b.length;c<d;c++)e=a,f=F(b[c].name),e.repeatRow=""!==f.repeatRow?f.repeatRow:"",e=a,f=b[c],e.parentVals=V(e),sa(e,f)}function U(a){return"undefined"===typeof __FRMLOOKUP||"undefined"===typeof __FRMLOOKUP[a]?!1:__FRMLOOKUP[a]}function V(a){for(var b=[],c=a.parents,d,e=0,f=c.length;e<
29
- f;e++){d=U(c[e]);d=pa(d,a);if(""===d||!1===d){b=!1;break}b[e]=d}return b}function ra(a){for(var b=!1,c=a.length,d=0;d<c;d++)if("hidden"==a[d].type||a[d].checked){b=a[d].value;break}return b}function Sa(a,b){var c=b.getElementsByTagName("SELECT")[0];if(null!==c){var d=c.value;!1===a.parentVals?(c.options.length=1,""!==d&&(c.value="",T(c),u(jQuery(c),a.fieldKey))):jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_replace_lookup_field_options",parent_fields:a.parents,parent_vals:a.parentVals,
30
- field_id:a.fieldId,nonce:frm_js.nonce},success:function(b){var d=a.fieldKey,h=c.value;b=JSON.parse(b);for(var g=c.options.length;0<g;g--)c.remove(g);for(var k=b.length,g=0;g<k;g++)c.options[g+1]=new Option(b[g],b[g],!1,!1);c.value=h;""===c.value&&(b=c.getAttribute("data-frmval"),null!==b&&(c.value=b));T(c);c.value!=h&&u(jQuery(c),d)}})}}function T(a){-1<a.className.indexOf("frm_chzn")&&jQuery().chosen&&jQuery(a).trigger("chosen:updated")}function Ta(a,b){var c=b.getElementsByClassName("frm_opt_container")[0],
31
- d=c.getElementsByTagName("input");Ua(b,c);var e="",e="radio"==a.inputType?ra(d):R(d);jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_replace_cb_radio_lookup_options",parent_fields:a.parents,parent_vals:a.parentVals,field_id:a.fieldId,row_index:a.repeatRow,current_value:e,nonce:frm_js.nonce},success:function(e){c.innerHTML=e;e=b.getElementsByClassName("frm-loading-img")[0];null!==e&&void 0!==e&&e.parentNode.removeChild(e);c.style.display="block";1==d.length&&""===d[0].value?ua(a,b):
32
- !1!==B(b.id,a.formId)&&(e=N(a.fieldId),!1===e||1>e.conditions.length?(H(b.id,a.formId),jQuery("#"+b.id).show()):(e.containerId=b.id,e.repeatRow=a.repeatRow,ka(e)));u(jQuery(d[0]),a.fieldKey)}})}function ua(a,b){B(b.id,a.formId)||(jQuery("#"+b.id).hide(),ta(b.id,a.formId))}function sa(a,b){if(!S(b,a.formId))if(!1===a.parentVals){var c=b.getAttribute("data-frmval");null===c&&(c="");va(a,b,c)}else jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_get_lookup_text_value",parent_fields:a.parents,
33
- parent_vals:a.parentVals,field_id:a.fieldId,nonce:frm_js.nonce},success:function(c){b.value!=c&&va(a.fieldKey,b,c)}})}function va(a,b,c){b.value=c;u(jQuery(b),a)}function Oa(a,b){if(b){var c=jQuery("#"+a.containerId);wa(c)}jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_fields_ajax_get_data",entry_id:a.dataLogic.actualValue,current_field:a.fieldId,hide_id:a.containerId,nonce:frm_js.nonce},success:function(d){if(b){var e=c.find(".frm_opt_container");e.html(d);var f=e.children("input"),
34
- h=f.val();xa(e);""===d||""===h?P(a,!0):ya(a,c,f)}else e="field_"+a.fieldKey,""!==a.repeatRow&&(e+="-"+a.repeatRow),e=document.getElementById(e),e.value=d,B(a.containerId,a.formId)&&H(a.containerId,a.formId),u(jQuery(e))}})}function Pa(a,b){var c=jQuery("#"+a.containerId),d=c.find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]'),e=Va(d),d=d.data("frmval");wa(c);jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_fields_ajax_data_options",trigger_field_id:a.dataLogic.fieldId,
35
- entry_id:a.dataLogic.actualValue,field_id:a.fieldId,default_value:d,container_id:a.containerId,prev_val:e,nonce:frm_js.nonce},success:function(b){var d=c.find(".frm_opt_container");d.html(b);var e=d.find("select, input, textarea");xa(d);""===b||1==e.length&&"hidden"==e.attr("type")?P(a,!0):ya(a,c,e)}})}function wa(a){var b=a.html();-1<b.indexOf("frm-loading-img")||(a.html(b+'<span class="frm-loading-img"></span>'),a.find(".frm_opt_container").hide())}function Ua(a,b){if(!(-1<a.innerHTML.indexOf("frm-loading-img"))){b.style.display=
36
- "none";var c=document.createElement("span");c.setAttribute("class","frm-loading-img");a.insertBefore(c,b.nextSibling)}}function xa(a){a.next(".frm-loading-img").remove();a.show()}function Va(a){var b=[],c="";a.each(function(){c=this.value;"radio"===this.type||"checkbox"===this.type?!0===this.checked&&b.push(c):""!==c&&b.push(c)});0===b.length&&(b="");return b}function ya(a,b,c){B(a.containerId,a.formId)&&(H(a.containerId,a.formId),b.show());c.hasClass("frm_chzn")&&Z();u(c)}function L(a,b){if("undefined"!==
37
- typeof __FRMCALC){var c=__FRMCALC,d=c.fields[a];if("undefined"!==typeof d)for(var d=d.total,e=[],f=0,h=d.length;f<h;f++){var g;g=c.calc[d[f]];var k=b.attr("name"),m=!1,l=g.field_id,n=D(g.form_id);1>n.length||("0"===g.inSection&&"0"===g.inEmbedForm?m=J(l,n):(k=F(k),J(l,n)?m=!0:za(l,k,n)?m=!0:"0"!==g.inSection&&"0"!==g.inEmbedForm?m=za(g.inSection,k,n):"0"!==g.inSection?m=J(g.inSection,n):"0"!==g.inEmbedForm&&(m=J(g.inEmbedForm,n))));g=m;!1===g&&W(c,d[f],e,b)}}}function J(a,b){return-1<b.indexOf("frm_field_"+
38
- a+"_container")}function za(a,b,c){var d=!1;b.repeatingSection&&(a="frm_field_"+a+"-"+b.repeatingSection,a+="-"+b.repeatRow+"_container",d=-1<c.indexOf(a));return d}function W(a,b,c,d){var e=a.calc[b],f=e.calc,h=jQuery(document.getElementById("field_"+b)),g={triggerField:d,inSection:!1,thisFieldCall:'input[id^="field_'+b+'-"]'};1>h.length&&"undefined"!==typeof d&&(g.inSection=!0,g.thisFieldId=Wa(a.fieldsWithCalc,b),h=Aa(g));if(!(1>h.length)){f=Xa(e,f,a,c,g);if("text"!=e.calc_type){a=e.calc_dec;f.indexOf(").toFixed(")&&
39
- (c=f.split(").toFixed("),Ba(c[1])&&(a=c[1],f=f.replace(").toFixed("+a,"")));f=parseFloat(eval(f));if("undefined"===typeof f||isNaN(f))f=0;Ba(a)&&(f=f.toFixed(a))}h.val()!=f&&(h.val(f),u(h,b))}}function Xa(a,b,c,d,e){for(var f=0,h=a.fields.length;f<h;f++){var g={triggerField:e.triggerField,thisFieldId:a.fields[f],inSection:e.inSection,valKey:e.inSection+""+a.fields[f],thisField:c.fields[a.fields[f]],thisFieldCall:"input"+c.fieldKeys[a.fields[f]]},k=c;"checkbox"==g.thisField.type||"select"==g.thisField.type?
40
- g.thisFieldCall=g.thisFieldCall+":checked,select"+k.fieldKeys[g.thisFieldId]+" option:selected,"+g.thisFieldCall+"[type=hidden]":"radio"==g.thisField.type||"scale"==g.thisField.type?g.thisFieldCall=g.thisFieldCall+":checked,"+g.thisFieldCall+"[type=hidden]":"textarea"==g.thisField.type&&(g.thisFieldCall=g.thisFieldCall+",textarea"+k.fieldKeys[g.thisFieldId]);if("text"==a.calc_type)g.valKey="text"+g.valKey,d=Ya(g,d),"undefined"===typeof d[g.valKey]&&(d[g.valKey]="");else{g.valKey="num"+g.valKey;d=
41
- Za(g,c,d);if("undefined"===typeof d[g.valKey]||isNaN(d[g.valKey]))d[g.valKey]=0;"date"==g.thisField.type&&0===d[g.valKey]&&(b="")}k="["+g.thisFieldId+"]";k=k.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1");b=b.replace(new RegExp(k,"g"),d[g.valKey])}return b}function Za(a,b,c){if("undefined"!==typeof c[a.valKey]&&0!==c[a.valKey])return c;c[a.valKey]=0;var d=Ca(a);if(!1===d)return c;d.each(function(){var d=Da(a.thisField,this);if("date"==a.thisField.type){var f;f=b.date;var h=0;if(d)if("undefined"===
42
- typeof jQuery.datepicker){h="-";-1<f.indexOf("/")&&(h="/");f=f.split(h);var d=d.split(h),g,k;g=h=k="";for(var m=0;m<f.length;m++)if("y"==f[m])g=((new Date).getFullYear()+15).toString().substr(2,2),g=d[m]>g?"19"+d[m]:"20"+d[m];else if("yy"==f[m])g=d[m];else if("m"==f[m]||"mm"==f[m])h=d[m],2>h.length&&(h="0"+h);else if("d"==f[m]||"dd"==f[m])k=d[m],2>k.length&&(k="0"+k);h=Date.parse(g+"-"+h+"-"+k)}else h=jQuery.datepicker.parseDate(f,d);f=h;null!==f&&(c[a.valKey]=Math.ceil(f/864E5))}else{f=d;""!==f&&
43
- 0!==f&&(f=f.trim(),f=parseFloat(f.replace(/,/g,"").match(/-?[\d\.]+$/)));if("undefined"===typeof f||isNaN(f)||""===f)f=0;c[a.valKey]+=f}});return c}function Ya(a,b){if("undefined"!==typeof b[a.valKey]&&""!==b[a.valKey])return b;b[a.valKey]="";var c=Ca(a);if(!1===c)return b;c.each(function(){var c=Da(a.thisField,this),c=c.trim();b[a.valKey]+=c});return b}function Ca(a){var b;if(!1===a.inSection)b=jQuery(a.thisFieldCall);else if(b=Aa(a),null===b||"undefined"===typeof b)b=jQuery(a.thisFieldCall);if(null===
44
- b||"undefined"===typeof b||1>b.length)b=!1;return b}function Aa(a){if("undefined"===typeof a.triggerField)return null;var b=a.triggerField.closest(".frm_repeat_sec, .frm_repeat_inline, .frm_repeat_grid");return b.length?(a=a.thisFieldCall.replace("[id=","[id^="),b.find(a)):null}function Da(a,b){var c;c=!1;if("hidden"==b.type)""!==aa(b)&&(c=!0);else if("select"==a.type){var d=b.className;d&&-1<d.indexOf("frm_other_trigger")&&(c=!0)}else("checkbox"==a.type||"radio"==a.type)&&-1<b.id.indexOf("-other_")&&
45
- 0>b.id.indexOf("-otext")&&(c=!0);c?(c=0,"select"==a.type?"hidden"==b.type?(d=!1,2<b.name.split("[").length&&(d=!0),d||(c=aa(b))):c=jQuery(b).closest(".frm_other_container").find(".frm_other_input").val():"checkbox"!=a.type&&"radio"!=a.type||"hidden"==b.type||(c=aa(b))):c="checkbox"!==b.type&&"radio"!==b.type||!b.checked?jQuery(b).val():b.value;"undefined"===typeof c&&(c="");return c}function aa(a){var b="";a=document.getElementById(a.id+"-otext");null!==a&&""!==a.value&&(b=a.value);return b}function Ea(a){var b=
46
- !1;a=jQuery(a).find(".frm_saving_draft");a.length&&(b=a.val());return b}function Fa(a){var b=!1,c=jQuery(a).find(".frm_next_page");if(c.length&&c.val()){var d=jQuery(a).find('input[name="form_id"]').val();a=jQuery(a).find('input[name="frm_page_order_'+d+'"]');a=a.length?a.val():0;if(!a||c.val()<a)b=!0}return b}function fa(a,b){var c=a.getAttribute("data-frmfile");if("hidden"==a.type&&null===c)return b;var d="",e="";if("checkbox"==a.type||"radio"==a.type)c=jQuery('input[name="'+a.name+'"]').closest(".frm_required_field").find("input:checked"),
47
- jQuery(c).each(function(){d=this.value});else if("file"==a.type||c)"undefined"===typeof c&&(c=q(a,!0),c=c.replace("file","")),"undefined"===typeof b[c]&&(d=$a(c)),e=c;else{e=a.className;if(-1!==e.indexOf("frm_pos_none"))return b;d=jQuery(a).val();if("string"!==typeof d)for(var c=d,d="",f=0;f<c.length;f++)""!==c[f]&&(d=c[f]);e=-1===e.indexOf("frm_other_input")?q(a,!0):q(a,!1)}""===d&&(""===e&&(e=q(a,!0)),e in b||(b[e]=E(a,"data-reqmsg")));return b}function $a(a){var b="";jQuery('input[name="file'+
48
- a+'"], input[name="file'+a+'[]"], input[name^="item_meta['+a+']"]').each(function(){""===b&&(b=this.value)});return b}function ga(a,b,c){var d=a.value,e=q(a,!0);if(e in b)return b;var f=0===e.indexOf("conf_");if(""!==d||f){var h=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i,g=E(a,"data-invmsg");""!==d&&!1===h.test(d)?(b[e]=g,f&&(b[e.replace("conf_","")]="")):f&&(a=a.name.replace("conf_",""),
49
- c.filter('[name="'+a+'"]').val()!==d&&(b[e]="",b[e.replace("conf_","")]=""))}return b}function ha(a,b){var c=a.value;""!==c&&!1!==isNaN(c/1)&&(c=q(a,!0),c in b||(b[c]=E(a,"data-invmsg")));return b}function ia(a,b){var c=a.value,d=E(a,"pattern");if(""!==d&&""!==c){var e=q(a,!0);e in b||(d=new RegExp("^"+d+"$","i"),!1===d.test(c)&&(b[e]=E(a,"data-invmsg")))}return b}function E(a,b){var c=a.getAttribute(b);null===c&&(c="");return c}function ab(a,b){jQuery(a).find('input[type="submit"], input[type="button"]').attr("disabled",
50
- "disabled");"undefined"==typeof b&&jQuery(a).find('input[name="frm_action"]').val();jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:jQuery(a).serialize()+"&action=frm_entries_"+b+"&nonce="+frm_js.nonce,success:function(b){var d={content:"",errors:{},pass:!1};null===b&&(b=d);b=b.replace(/^\s+|\s+$/g,"");b=0===b.indexOf("{")?jQuery.parseJSON(b):d;if("undefined"!=typeof b.redirect)window.location=b.redirect;else if(""!==b.content){jQuery(a).find(".frm_ajax_loading").removeClass("frm_loading_now");
51
- var e=jQuery(a).find('input[name="form_id"]').val();jQuery(a).closest("#frm_form_"+e+"_container").replaceWith(b.content);frmFrontForm.scrollMsg(e);"function"==typeof frmThemeOverride_frmAfterSubmit&&(e=jQuery('input[name="frm_page_order_'+e+'"]').val(),d=jQuery(b.content).find('input[name="form_id"]').val(),frmThemeOverride_frmAfterSubmit(d,e,b.content,a));e=jQuery(a).find('input[name="id"]');e.length&&jQuery(document.getElementById("frm_edit_"+e.val())).find("a").addClass("frm_ajax_edited").click();
52
- jQuery(b.content).find(".frm_message").length&&ba("pageLoad");ca()}else if(Object.keys(b.errors).length){jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");jQuery(a).find(".frm_ajax_loading").removeClass("frm_loading_now");d=!0;Ga();var f=!1,h;for(e in b.errors)if(h=jQuery(a).find("#frm_field_"+e+"_container"),h.length){if(!h.is(":visible")){var g=h.closest(".frm_toggle_container");g.length&&(g=g.prev(),g.hasClass("frm_trigger")||(g=g.prev(".frm_trigger")),g.click())}h.is(":visible")&&
53
- (M(h,e,b.errors),d=!1,h=jQuery(a).find("#frm_field_"+e+"_container .frm-g-recaptcha, #frm_field_"+e+"_container .g-recaptcha"),h.length&&(f=!0,h=h.data("rid"),jQuery().grecaptcha&&(h?grecaptcha.reset(h):grecaptcha.reset())))}Ha(a);!0!==f&&Ia(a,!1);d?a.submit():jQuery(a).prepend(b.error_message)}else bb(a),Ia(a,!0),a.submit()},error:function(){jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");a.submit()}})}function M(a,b,c){a.length&&a.is(":visible")&&(a.addClass("frm_blank_field"),
54
- "function"==typeof frmThemeOverride_frmPlaceError?frmThemeOverride_frmPlaceError(b,c):a.append('<div class="frm_error">'+c[b]+"</div>"))}function Ga(){jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");jQuery(".frm_error_style").remove()}function Ha(a){var b=jQuery(a).find(".frm_blank_field:first");b.length&&frmFrontForm.scrollMsg(b,a,!0)}function bb(a){var b=document.getElementById("frm_loading");null!==b&&(a=jQuery(a).find("input[type=file]").val(),
55
- "undefined"!=typeof a&&""!==a&&setTimeout(function(){jQuery(b).fadeIn("slow")},2E3))}function Ia(a,b){var c=jQuery(a).find(".frm-g-recaptcha, .g-recaptcha");c.length&&(!b||1>jQuery(a).find(".frm_next_page").length||1>jQuery(a).find(".frm_next_page").val())&&c.closest(".frm_form_field").replaceWith('<input type="hidden" name="recaptcha_checked" value="'+frm_js.nonce+'">')}function cb(){Ja(jQuery(this),"clear")}function db(){Ja(jQuery(this),"replace")}function Ja(a,b){var c=a.data("frmval").replace(/(\n|\r\n)/g,
56
- "\r");if(""===c||"undefined"==typeof c)return!1;var d=a.val().replace(/(\n|\r\n)/g,"\r");"replace"==b?""===d&&a.addClass("frm_default").val(c):d==c&&a.removeClass("frm_default").val("")}function eb(){var a=jQuery(this),b=a.data("eid"),c=a.data("fid");a.append('<span class="spinner" style="display:inline"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_send_email",entry_id:b,form_id:c,nonce:frm_js.nonce},success:function(b){a.replaceWith(b)}});return!1}function fb(a,
57
- b){google.load("visualization","1.0",{packages:[b],callback:function(){if("table"==b){var c=new google.visualization.DataTable,d=!1;-1!==jQuery.inArray("id",a.options.fields)&&(d=!0,c.addColumn("number",frm_js.id));for(var e=a.fields.length,f,h=0,g=e;h<g;h++){var k=a.fields[h];f=Ka(k);c.addColumn(f,k.name)}h=!1;a.options.edit_link&&(h=!0,c.addColumn("string",a.options.edit_link));g=!1;a.options.delete_link&&(g=!0,c.addColumn("string",a.options.delete_link));if(null!==a.entries){var m=a.entries.length;
58
- c.addRows(m);for(var l=0,n=0;n<m;n++){var k=0,p=a.entries[n];d&&(c.setCell(l,k,p.id),k++);for(var q=0,r=e;q<r;q++){var t=a.fields[q];f=Ka(t);t=p.metas[t.id];"number"!=f||null!==t&&""!==t?"boolean"==f&&(t=null===t||"false"==t||!1===t?!1:!0):t=0;c.setCell(l,k,t);k++}h&&("undefined"!==typeof p.editLink?c.setCell(l,k,'<a href="'+p.editLink+'">'+a.options.edit_link+"</a>"):c.setCell(l,k,""),k++);g&&("undefined"!==typeof p.deleteLink?c.setCell(l,k,'<a href="'+p.deleteLink+'" class="frm_delete_link" data-frmconfirm="'+
59
- a.options.confirm+'">'+a.options.delete_link+"</a>"):c.setCell(l,k,""));l++}}else for(c.addRows(1),h=k=0,g=e;h<g;h++)0<k?c.setCell(0,k,""):c.setCell(0,k,a.options.no_entries),k++;(new google.visualization.Table(document.getElementById("frm_google_table_"+a.options.form_id))).draw(c,a.graphOpts)}else gb(a)}})}function Ka(a){var b="string";if("number"==a.type)b="number";else if("checkbox"==a.type||"select"==a.type){var c=a.options.length;"select"==a.type&&""===a.options[0]&&(c="post_status"==a.field_options.post_field?
60
- 3:c-1);1==c&&(b="boolean")}return b}function gb(a){var b=new google.visualization.DataTable,c=!1,d=!1,e=a.rows.length;if(0<e)if("table"==a.type){c=!0;b.addRows(a.rows[e-1][0]+1);for(var f=0;f<e;f++)b.setCell(a.rows[f])}else if("undefined"!=typeof a.rows[0].tooltip)for(var d=c=!0,h=0;h<e;h++){f=a.rows[h].tooltip;delete a.rows[h].tooltip;var g=Object.keys(a.rows[h]).map(function(b){return a.rows[h][b]});a.rows[h]=g;a.rows[h].push(f)}e=a.cols.length;if(c){if(0<e)for(c=0;c<e;c++)f=a.cols[c],b.addColumn(f.type,
61
- f.name);d&&(b.addColumn({type:"string",role:"tooltip"}),b.addRows(a.rows))}else{b=[[]];for(d=0;d<e;d++)b[0].push(a.cols[d].name);b=b.concat(a.rows);b=google.visualization.arrayToDataTable(b)}d=a.type.charAt(0).toUpperCase()+a.type.slice(1)+"Chart";(new google.visualization[d](document.getElementById("chart_"+a.graph_id))).draw(b,a.options)}function hb(){var a="frm_section_"+jQuery(this).data("parent")+"-"+jQuery(this).data("key"),b=jQuery(document.getElementById(a)),c=b.find("input, select, textarea");
62
- b.fadeOut("slow",function(){b.remove();c.each(function(){if("file"!=this.type){var a=q(this,!1);L(a,jQuery(this))}});"function"==typeof frmThemeOverride_frmRemoveRow&&frmThemeOverride_frmRemoveRow(a,b)});return!1}function ib(){if(!0===K)return!1;K=!0;var a=jQuery(this).data("parent"),b=0;if(0<jQuery(".frm_repeat_"+a).length)var c=jQuery(".frm_repeat_"+a+":last").attr("id").replace("frm_section_"+a+"-",""),b=-1<c.indexOf("i")?1:1+parseInt(c);jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"json",
63
- data:{action:"frm_add_form_row",field_id:a,i:b,nonce:frm_js.nonce},success:function(c){var e=c.html,f=jQuery(e).hide().fadeIn("slow");jQuery(".frm_repeat_"+a+":last").after(f);var h=["other"],g,k,m={repeatingSection:a.toString(),repeatRow:b.toString()};jQuery(e).find("input, select, textarea").each(function(){if("file"!=this.type){if(""===this.name)return!0;g=this.name.replace("item_meta[","").split("]")[2].replace("[","");-1==jQuery.inArray(g,h)&&!1!==this.id&&""!==this.id&&(k=jQuery("#"+this.id),
64
- h.push(g),G(g,m),Y(g,m,"value changed"),da(g,k),ea(g,k,"value changed"),L(g,k))}});La();Z();"function"==typeof frmThemeOverride_frmAddRow&&frmThemeOverride_frmAddRow(a,c);K=!1},error:function(){K=!1}});return!1}function jb(){var a=jQuery(this),b=a.data("entryid"),c=a.data("prefix"),d=a.data("pageid"),e=a.data("formid"),f=a.data("cancel"),h=a.data("fields"),g=a.data("excludefields"),k=jQuery(document.getElementById(c+b)),m=k.html();k.html('<span class="frm-loading-img" id="'+c+b+'"></span><div class="frm_orig_content" style="display:none">'+
65
- m+"</div>");jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"html",data:{action:"frm_entries_edit_entry_ajax",post_id:d,entry_id:b,id:e,nonce:frm_js.nonce,fields:h,exclude_fields:g},success:function(b){k.children(".frm-loading-img").replaceWith(b);a.removeClass("frm_inplace_edit").addClass("frm_cancel_edit");a.html(f);ba("editInPlace");ca()}});return!1}function kb(){var a=jQuery(this),b=a.data("entryid"),c=a.data("prefix"),d=a.data("edit");a.hasClass("frm_ajax_edited")||(b=jQuery(document.getElementById(c+
66
- b)),b.children(".frm_forms").replaceWith(""),b.children(".frm_orig_content").fadeIn("slow").removeClass("frm_orig_content"));a.removeClass("frm_cancel_edit").addClass("frm_inplace_edit");a.html(d);return!1}function lb(){var a=jQuery(this),b=a.data("deleteconfirm");if(confirm(b)){var c=a.data("entryid"),d=a.data("prefix");a.replaceWith('<span class="frm-loading-img" id="frm_delete_'+c+'"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_destroy",entry:c,nonce:frm_js.nonce},
67
- success:function(a){"success"==a.replace(/^\s+|\s+$/g,"")?(jQuery(document.getElementById(d+c)).fadeOut("slow"),jQuery(document.getElementById("frm_delete_"+c)).fadeOut("slow")):jQuery(document.getElementById("frm_delete_"+c)).replaceWith(a)}})}return!1}function ca(){"undefined"!==typeof __frmHideFields&&frmFrontForm.hidePreviouslyHiddenFields();jQuery(document).on("focusin",".frm_date",r);if("undefined"!==typeof __frmUniqueTimes)for(var a=__frmUniqueTimes,b=0;b<a.length;b++)jQuery(document.getElementById(a[b].dateID)).change(p);
68
- if("undefined"!==typeof __frmMasks)for(a=__frmMasks,b=0;b<a.length;b++)jQuery(a[b].trigger).attr("data-frmmask",a[b].mask);La();Z();"undefined"!==typeof __frmDepDynamicFields&&frmFrontForm.checkDependentDynamicFields(__frmDepDynamicFields);"undefined"!==typeof __frmDepLookupFields&&frmFrontForm.checkDependentLookupFields(__frmDepLookupFields);if("undefined"!==typeof __FRMCALC){(a=__FRMCALC.triggers)&&jQuery(a.join()).trigger({type:"change",selfTriggered:!0});var a=__FRMCALC.calc,b=[],c;for(c in a)if(1>
69
- a[c].fields.length){var d=document.getElementById("field_"+c);null===d||S(d,a[c].form_id)||W(__FRMCALC,c,b)}}if("undefined"!==typeof __frmDropzone)for(c=__frmDropzone,a=0;a<c.length;a++)x(a)}function Z(){if(jQuery().chosen){var a={allow_single_deselect:!0};"undefined"!==typeof __frmChosen&&(a="{"+__frmChosen+"}");jQuery(".frm_chzn").chosen(a)}}function La(){if(jQuery().rating){var a=jQuery(".star");a.length&&a.rating()}}function ba(a){"undefined"!==typeof __frmHideOrShowFields&&frmFrontForm.hideOrShowFields(__frmHideOrShowFields,
70
- a)}function u(a,b){"undefined"===typeof b&&(b="dependent");1<a.length&&(a=a.eq(0));a.trigger({type:"change",selfTriggered:!0,frmTriggered:b})}function F(a){var b={repeatingSection:"",repeatRow:""};"undefined"!==typeof a&&3<=a.split("][").length&&(a=a.split("]["),b.repeatingSection=a[0].replace("item_meta[",""),b.repeatRow=a[1]);return b}function Ma(a){a.fadeOut("slow",function(){a.remove()})}function mb(){var a=jQuery(this).data("frmconfirm");return confirm(a)}function nb(){var a=jQuery(this).data("frmtoggle");
71
- jQuery(a).is(":visible")?jQuery(a).slideUp("fast"):jQuery(a).slideDown("fast");return!1}function Wa(a,b){for(var c in a)if(a.hasOwnProperty(c)&&a[c]===b)return c;return null}function Ba(a){return!jQuery.isArray(a)&&0<=a-parseFloat(a)+1}function ob(){Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c=this.length>>>0,d=Number(b)||0,d=0>d?Math.ceil(d):Math.floor(d);for(0>d&&(d+=c);d<c;d++)if(d in this&&this[d]===a)return d;return-1})}function pb(){"function"!==typeof String.prototype.trim&&
72
- (String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")})}function qb(){Array.prototype.filter||(Array.prototype.filter=function(a,b){if(void 0===this||null===this)throw new TypeError;var c=Object(this),d=c.length>>>0;if("function"!==typeof a)throw new TypeError;for(var e=[],f=0;f<d;f++)if(f in c){var h=c[f];a.call(b,h,f,c)&&e.push(h)}return e})}function rb(){Object.keys||(Object.keys=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push(c);return b})}var K=!1,C="",w=[];return{init:function(){jQuery(document).off("submit.formidable",
73
- ".frm-show-form");jQuery(document).on("submit.formidable",".frm-show-form",frmFrontForm.submitForm);jQuery(document).on("click",".frm_trigger",n);var a=jQuery(".frm_blank_field");a.length&&a.closest(".frm_toggle_container").prev(".frm_trigger").click();jQuery.isFunction(jQuery.fn.placeholder)?jQuery(".frm-show-form input, .frm-show-form textarea").placeholder():jQuery(".frm-show-form input[onblur], .frm-show-form textarea[onblur]").each(function(){""===jQuery(this).val()&&jQuery(this).blur()});jQuery(document).on("focus",
74
- ".frm_toggle_default",cb);jQuery(document).on("blur",".frm_toggle_default",db);jQuery(".frm_toggle_default").blur();jQuery(document.getElementById("frm_resend_email")).click(eb);jQuery(document).on("click",".frm_remove_link",z);jQuery(document).on("focusin","input[data-frmmask]",function(){jQuery(this).mask(jQuery(this).data("frmmask").toString())});jQuery(document).on("change",'.frm-show-form input[name^="item_meta"], .frm-show-form select[name^="item_meta"], .frm-show-form textarea[name^="item_meta"]',
75
- A);jQuery(document).on("click",'.frm-show-form input[type="submit"], .frm-show-form input[name="frm_prev_page"], .frm-show-form .frm_save_draft',l);jQuery(document).on("change",'.frm_other_container input[type="checkbox"], .frm_other_container input[type="radio"], .frm_other_container select',v);jQuery(document).on("click",".frm_remove_form_row",hb);jQuery(document).on("click",".frm_add_form_row",ib);jQuery(document).on("click","a[data-frmconfirm]",mb);jQuery("a[data-frmtoggle]").click(nb);jQuery(".frm_edit_link_container").on("click",
76
- "a.frm_inplace_edit",jb);jQuery(".frm_edit_link_container").on("click","a.frm_cancel_edit",kb);jQuery(document).on("click",".frm_ajax_delete",lb);jQuery(".frm_month_heading, .frm_year_heading").click(function(){var a=jQuery(this).children(".ui-icon-triangle-1-e, .ui-icon-triangle-1-s");a.hasClass("ui-icon-triangle-1-e")?(a.addClass("ui-icon-triangle-1-s").removeClass("ui-icon-triangle-1-e"),jQuery(this).next(".frm_toggle_container").fadeIn("slow")):(a.addClass("ui-icon-triangle-1-e").removeClass("ui-icon-triangle-1-s"),
77
- jQuery(this).next(".frm_toggle_container").hide())});ba("pageLoad");ca();ob();pb();qb();rb()},submitForm:function(a){var b=this.classList;b&&!b.contains("frm_pro_form")||jQuery("body").hasClass("wp-admin")||(a.preventDefault(),a=frmFrontForm.validateFormSubmit(this),0===Object.keys(a).length&&(jQuery(this).find(".frm_ajax_loading").addClass("frm_loading_now"),b.contains("frm_ajax_submit")?(C=jQuery(this).find('input[name="frm_action"]').val(),frmFrontForm.checkFormErrors(this,C)):this.submit()))},
78
- validateFormSubmit:function(a){"undefined"!=typeof tinyMCE&&jQuery(this).find(".wp-editor-wrap").length&&tinyMCE.triggerSave();w=[];var b=jQuery(a).hasClass("frm_js_validate");b&&(Ea(a)||Fa(a))&&(b=!1);b&&(frmFrontForm.getAjaxFormErrors(a),Object.keys(w).length&&frmFrontForm.addAjaxFormErrors(a));return w},getAjaxFormErrors:function(a){var b=[],c=jQuery(a).find(".frm_required_field:visible input, .frm_required_field:visible select, .frm_required_field:visible textarea").filter(":not(.frm_optional)");
79
- if(c.length)for(var d=0,e=c.length;d<e;d++)b=fa(c[d],b);c=jQuery(a).find("input[type=email]").filter(":visible");d=jQuery(a).find("input,select,textarea");if(d.length)for(var e=0,f=d.length;e<f;e++){var h=d[e];""!==h.value&&"hidden"!=h.type&&("number"==h.type?b=ha(h,b):"email"==h.type?b=ga(h,b,c):null!==h.pattern&&(b=ia(h,b)))}c=jQuery(a).find(".frm-g-recaptcha");c.length&&(d=c.data("rid"),0===grecaptcha.getResponse(d).length&&(c=c.closest(".frm_form_field").attr("id").replace("frm_field_","").replace("_container",
80
- ""),b[c]=""));w=b;if("function"==typeof frmThemeOverride_jsErrors&&(C=jQuery(a).find('input[name="frm_action"]').val(),a=frmThemeOverride_jsErrors(C,a),Object.keys(a).length))for(var g in a)w[g]=a[g];return w},addAjaxFormErrors:function(a){Ga();for(var b in w){var c=jQuery(a).find("#frm_field_"+b+"_container");c.length?M(c,b,w):delete w[b]}Ha(a)},checkFormErrors:function(a,b){ab(a,b)},scrollToID:function(a){a=jQuery(document.getElementById(a));frmFrontForm.scrollMsg(a,!1)},scrollMsg:function(a,b,
81
- c){if(a=("undefined"==typeof b?jQuery(document.getElementById("frm_form_"+a+"_container")):"string"==typeof a?jQuery(b).find("#frm_field_"+a+"_container"):a).offset().top){a-=frm_js.offset;b=jQuery("html").css("margin-top");var d=jQuery("body").css("margin-top");if(b||d)a=a-parseInt(b)-parseInt(d);if(a&&window.innerHeight&&(b=document.documentElement.scrollTop||document.body.scrollTop,a>b+window.innerHeight||a<b))return"undefined"===typeof c?jQuery(window).scrollTop(a):jQuery("html,body").animate({scrollTop:a},
82
- 500),!1}},savingDraft:function(a){return Ea(a)},goingToPreviousPage:function(a){return Fa(a)},hideOrShowFields:function(a,b){if("pageLoad"===b){var c=document.querySelectorAll('[id^="frm_hide_fields_"]');X(c)}for(var c={repeatingSection:"",repeatRow:""},d=0,e=a.length;d<e;d++)G(a[d],c)},hidePreviouslyHiddenFields:function(){var a;a=[];for(var b=document.querySelectorAll('*[id^="frm_hide_fields_"]'),c=b.length,d,e=0;e<c;e++)d=b[e].id.replace("frm_hide_fields_",""),a=a.concat(D(d));b=0;for(c=a.length;b<
83
- c;b++)d=document.getElementById(a[b]),null!==d&&(d.style.display="none")},checkDependentDynamicFields:function(a){for(var b={repeatingSection:"",repeatRow:""},c=0,d=a.length;c<d;c++)G(a[c],b)},checkDependentLookupFields:function(a){for(var b,c={repeatingSection:"",repeatRow:""},d=0,e=a.length;d<e;d++)b=a[d],Y(b,c,"value changed")},loadGoogle:function(){if("undefined"!==typeof google&&google&&google.load)for(var a=__FRMTABLES,b=Object.keys(a),c=0;c<b.length;c++)for(var d=a[b[c]],e=b[c],f=0;f<d.length;f++)fb(d[f],
84
- e);else setTimeout(frmFrontForm.loadGoogle,30)},removeUsedTimes:function(a,b){var c=jQuery(a).parents("form:first").find('input[name="id"]');jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"json",data:{action:"frm_fields_ajax_time_options",time_field:b,date_field:a.id,entry_id:c?c.val():"",date:jQuery(a).val(),nonce:frm_js.nonce},success:function(a){var c=jQuery(document.getElementById(b));c.find("option").removeAttr("disabled");if(a&&""!==a)for(var f in a)c.find('option[value="'+f+'"]').attr("disabled",
85
- "disabled")}})},escapeHtml:function(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},invisible:function(a){jQuery(a).css("visibility","hidden")},visible:function(a){jQuery(a).css("visibility","visible")}}}var frmFrontForm=frmFrontFormJS();jQuery(document).ready(function(l){frmFrontForm.init()});
86
- function frmRecaptcha(){for(var l=jQuery(".frm-g-recaptcha"),n=0,p=l.length;n<p;n++){var r=grecaptcha.render(l[n].id,{sitekey:l[n].getAttribute("data-sitekey"),size:l[n].getAttribute("data-size"),theme:l[n].getAttribute("data-theme")});l[n].setAttribute("data-rid",r)}}
87
- function frmUpdateField(l,n,p,r,x){jQuery(document.getElementById("frm_update_field_"+l+"_"+n)).html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_update_field_ajax",entry_id:l,field_id:n,value:p,nonce:frm_js.nonce},success:function(){""===r.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById("frm_update_field_"+l+"_"+n+"_"+x)).fadeOut("slow"):jQuery(document.getElementById("frm_update_field_"+l+"_"+n+"_"+x)).replaceWith(r)}})}
88
- function frmEditEntry(l,n,p,r,x,y){console.warn("DEPRECATED: function frmEditEntry in v2.0.13 use frmFrontForm.editEntry");var z=jQuery(document.getElementById("frm_edit_"+l)),v=z.html(),A=jQuery(document.getElementById(n+l)),q=A.html();A.html('<span class="frm-loading-img" id="'+n+l+'"></span><div class="frm_orig_content" style="display:none">'+q+"</div>");jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"html",data:{action:"frm_entries_edit_entry_ajax",post_id:p,entry_id:l,id:r,nonce:frm_js.nonce},
89
- success:function(q){A.children(".frm-loading-img").replaceWith(q);z.replaceWith('<span id="frm_edit_'+l+'"><a onclick="frmCancelEdit('+l+",'"+n+"','"+frmFrontForm.escapeHtml(v)+"',"+p+","+r+",'"+y+'\')" class="'+y+'">'+x+"</a></span>")}})}
90
- function frmCancelEdit(l,n,p,r,x,y){console.warn("DEPRECATED: function frmCancelEdit in v2.0.13 use frmFrontForm.cancelEdit");var z=jQuery(document.getElementById("frm_edit_"+l)),v=z.find("a"),A=v.html();v.hasClass("frm_ajax_edited")||(v=jQuery(document.getElementById(n+l)),v.children(".frm_forms").replaceWith(""),v.children(".frm_orig_content").fadeIn("slow").removeClass("frm_orig_content"));z.replaceWith('<a id="frm_edit_'+l+'" class="frm_edit_link '+y+'" href="javascript:frmEditEntry('+l+",'"+
91
- n+"',"+r+","+x+",'"+frmFrontForm.escapeHtml(A)+"','"+y+"')\">"+p+"</a>")}
 
92
  function frmDeleteEntry(l,n){console.warn("DEPRECATED: function frmDeleteEntry in v2.0.13 use frmFrontForm.deleteEntry");jQuery(document.getElementById("frm_delete_"+l)).replaceWith('<span class="frm-loading-img" id="frm_delete_'+l+'"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_destroy",entry:l,nonce:frm_js.nonce},success:function(p){"success"==p.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById(n+l)).fadeOut("slow"):jQuery(document.getElementById("frm_delete_"+
93
- l)).replaceWith(p)}})}function frmOnSubmit(l){console.warn("DEPRECATED: function frmOnSubmit in v2.0 use frmFrontForm.submitForm");frmFrontForm.submitForm(l,this)}
94
  function frm_resend_email(l,n){console.warn("DEPRECATED: function frm_resend_email in v2.0");$link=jQuery(document.getElementById("frm_resend_email"));$link.append('<span class="spinner" style="display:inline"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_send_email",entry_id:l,form_id:n,nonce:frm_js.nonce},success:function(l){$link.replaceWith(l)}})};
1
  function frmFrontFormJS(){function l(a){var b=jQuery(this),c=b.attr("type");"submit"!==c&&a.preventDefault();a=b.parents("form:first");var d=b="",e=this.name;if("frm_prev_page"===e||-1!==this.className.indexOf("frm_prev_page"))b=jQuery(a).find(".frm_next_page").attr("id").replace("frm_next_p_","");else if("frm_save_draft"===e||-1!==this.className.indexOf("frm_save_draft"))d=1;jQuery(".frm_next_page").val(b);jQuery(".frm_saving_draft").val(d);"submit"!==c&&a.trigger("submit")}function n(){jQuery(this).parent().children(".frm_toggle_container").slideToggle("fast");
2
+ jQuery(this).toggleClass("active").children(".ui-icon-triangle-1-e, .ui-icon-triangle-1-s").toggleClass("ui-icon-triangle-1-s ui-icon-triangle-1-e")}function p(){for(var a=__frmUniqueTimes,b=0;b<a.length;b++)a[b].dateID==this.id&&frmFrontForm.removeUsedTimes(this,a[b].timeID)}function r(){if(-1===this.className.indexOf("frm_custom_date")&&"undefined"!==typeof __frmDatepicker){var a=__frmDatepicker,b=this.id,c=b.split("-");c.pop();c='input[id^="'+c.join("-")+'"]';jQuery.datepicker.setDefaults(jQuery.datepicker.regional[""]);
3
+ for(var d=0,e=0;e<a.length;e++)if(a[e].triggerID=="#"+b||a[e].triggerID==c)d=e;""!==a[d].options.defaultDate&&(a[d].options.defaultDate=new Date(a[d].options.defaultDate));jQuery(this).datepicker(jQuery.extend(jQuery.datepicker.regional[a[d].locale],a[d].options))}}function v(a){if("undefined"!==typeof __frmDropzone)for(var b=__frmDropzone,c=0;c<b.length;c++)z(c,a)}function z(a,b){var c=__frmDropzone,d='[id ^="'+c[a].htmlID+'"][id $="_dropzone"]';"undefined"!==typeof b&&(d="#"+c[a].htmlID+"-"+b+"_dropzone",
4
+ c[a].fieldName=c[a].fieldName.replace("[0]","["+b+"]"),delete c[a].mockFiles);d=jQuery(d);if(!(1>d.length||d.hasClass("dz-clickable"))){var e=c[a].maxFiles;if("undefined"!==typeof c[a].mockFiles){var f=c[a].mockFiles.length;0<e&&(e-=f)}var f=d.closest("form"),h=f.find('input[type="submit"], .frm_submit input[type="button"]'),g=f.find(".frm_ajax_loading");d.dropzone({url:frm_js.ajax_url,addRemoveLinks:!0,paramName:d.attr("id").replace("_dropzone",""),maxFilesize:c[a].maxFilesize,maxFiles:e,uploadMultiple:c[a].uploadMultiple,
5
+ dictCancelUpload:c[a].cancel,dictCancelUploadConfirmation:c[a].cancelConfirm,dictRemoveFile:c[a].remove,dictMaxFilesExceeded:c[a].maxFilesExceeded,fallback:function(){jQuery(this.element).closest("form").removeClass("frm_ajax_submit")},init:function(){this.on("sending",function(b,d,e){e.append("action","frm_submit_dropzone");e.append("field_id",c[a].fieldID);e.append("form_id",c[a].formID)});this.on("success",function(b,d){for(var e=jQuery.parseJSON(d),f=0;f<e.length;f++)!0!==c[a].uploadMultiple&&
6
+ jQuery('input[name="'+c[a].fieldName+'"]').val(e[f])});this.on("successmultiple",function(b,d){for(var e=jQuery.parseJSON(d),f=0;f<b.length;f++)jQuery(b[f].previewElement).append(y(c[a],e[f]))});this.on("removedfile",function(b){!0!==c[a].uploadMultiple&&jQuery('input[name="'+c[a].fieldName+'"]').val("")});this.on("complete",function(b){if("undefined"!==typeof b.mediaID){c[a].uploadMultiple&&jQuery(b.previewElement).append(y(c[a],b.mediaID));for(var d=b.previewElement.querySelectorAll("[data-dz-name]"),
7
+ e=0,f=d.length;e<f;e++)d[e].innerHTML='<a href="'+b.url+'">'+b.name+"</a>"}});this.on("addedfile",function(){g.addClass("frm_loading_now");h.attr("disabled","disabled")});this.on("queuecomplete",function(){g.removeClass("frm_loading_now");h.removeAttr("disabled")});this.on("removedfile",function(b){"undefined"!==typeof b.mediaID&&(jQuery(b.previewElement).remove(),this.options.maxFiles=c[a].maxFiles-this.files.length)});if("undefined"!==typeof c[a].mockFiles)for(var b=0;b<c[a].mockFiles.length;b++){var d=
8
+ {name:c[a].mockFiles[b].name,size:c[a].mockFiles[b].size,url:c[a].mockFiles[b].file_url,mediaID:c[a].mockFiles[b].id};this.emit("addedfile",d);this.emit("thumbnail",d,c[a].mockFiles[b].url);this.emit("complete",d);this.files.push(d)}}})}}function y(a,b){return'<input name="'+a.fieldName+'[]" type="hidden" value="'+b+'" data-frmfile="'+a.fieldID+'" />'}function w(){var a=jQuery(this).data("frm-remove");Na(jQuery(this).parent(".dz-preview"));a=jQuery('input[name="'+a+'"]');a.length&&a.val("")}function A(){var a=
9
+ this.type,b=!1,c=!1;if("select-one"===a)c=!0,"frm_other_trigger"===this.options[this.selectedIndex].className&&(b=!0);else if("select-multiple"===a)for(var c=!0,d=this.options,b=!1,e=0;e<d.length;e++)if("frm_other_trigger"===d[e].className&&d[e].selected){b=!0;break}c?(a=jQuery(this).parent().children(".frm_other_input"),a.length&&(b?a[0].className=a[0].className.replace("frm_pos_none",""):(1>a[0].className.indexOf("frm_pos_none")&&(a[0].className+=" frm_pos_none"),a[0].value=""))):"radio"===a?jQuery(this).is(":checked")&&
10
+ (jQuery(this).closest(".frm_radio").children(".frm_other_input").removeClass("frm_pos_none"),jQuery(this).closest(".frm_radio").siblings().children(".frm_other_input").addClass("frm_pos_none").val("")):"checkbox"===a&&(this.checked?jQuery(this).closest(".frm_checkbox").children(".frm_other_input").removeClass("frm_pos_none"):jQuery(this).closest(".frm_checkbox").children(".frm_other_input").addClass("frm_pos_none").val(""))}function L(a){var b=q(this,!1);if(b&&"undefined"!==typeof b&&(!a.frmTriggered||
11
+ a.frmTriggered!=b)){ea(b,jQuery(this));a="undefined"!==typeof a.originalEvent||-1<a.currentTarget.className.indexOf("frm_chzn")?"value changed":"other";fa(b,jQuery(this),a);M(b,jQuery(this));b=[];a=jQuery(this).closest(".frm_form_field");a.hasClass(".frm_required_field")&&!jQuery(this).hasClass(".frm_optional")&&(b=ga(this,b));if(1>b.length)if("email"==this.type)var c=jQuery(this).closest("form").find("input[type=email]"),b=ha(this,b,c);else"number"==this.type?b=ia(this,b):null!==this.pattern&&(b=
12
+ ja(this,b));a.removeClass("frm_blank_field");a.find(".frm_error").remove();if(0<Object.keys(b).length)for(var d in b)N(a,d,b)}}function q(a,b){var c="",c=a instanceof jQuery?a.attr("name"):a.name;if(""===c)return c=a instanceof jQuery?a.data("name"):a.getAttribute("data-name"),""!==c&&c?c:0;c=c.replace("item_meta[","").replace("[]","").split("]");if(1>c.length)return 0;var c=c.filter(function(a){return""!==a}),d=c[0],e=!1;if(1===c.length||"[form"==c[1]||"[id"==c[1])return d;if(jQuery('input[name="item_meta['+
13
+ d+'][form]"]').length){if(2===c.length&&"[0"==c[1])return 0;d=c[2].replace("[","");e=!0}"other"===d&&(d=e?c[3].replace("[",""):c[1].replace("[",""));!0===b&&(d=d===c[0]?d+"-"+c[1].replace("[",""):d+"-"+c[0]+"-"+c[1].replace("[",""));return d}function ea(a,b){if(!("undefined"===typeof __FRMRULES||"undefined"===typeof __FRMRULES[a]||1>__FRMRULES[a].dependents.length||null===b||"undefined"===typeof b))for(var c=__FRMRULES[a],d=F(b[0].name),e=0,f=c.dependents.length;e<f;e++)G(c.dependents[e],d)}function G(a,
14
+ b){var c=O(a);if(!(!1===c||1>c.conditions.length)){var d;d=[];if(c.isRepeating)if(""!==b.repeatingSection){var e="frm_field_"+c.fieldId+"-",e=e+(b.repeatingSection+"-"+b.repeatRow+"_container");d.push(e)}else if("0"!==c.inEmbedForm)d=P(c),d=["frm_field_"+c.fieldId+"-"+d+"-0_container"];else if(d=[],e=P(c),null!==document.getElementById("frm_field_"+e+"_container"))for(var e=document.querySelectorAll(".frm_field_"+c.fieldId+"_container"),f=0,h=e.length;f<h;f++)d.push(e[f].id);else if(d=[],e=P(c),e=
15
+ "frm_field_"+c.fieldId+"-"+e+"-",f=document.querySelectorAll('[id^="field_'+c.inSectionKey+'-rowid-"]'),1>f.length)d.push(e+"0_container");else for(var g=0,k=f.length;g<k;g++)h=f[g].id.split("-"),3==h.length&&d.push(e+h[2]+"_container");else d.push("frm_field_"+c.fieldId+"_container");e=d.length;for(f=0;f<e;f++)c.containerId=d[f],ka(c,d[f]),la(c)}}function P(a){var b="";"0"!==a.inEmbedForm?b=a.inEmbedForm:"0"!==a.inSection&&(b=a.inSection);return b}function ka(a,b){if(a.isRepeating){var c=b.replace("_container",
16
+ "").split("-");a.repeatRow=c[2]}else a.repeatRow=""}function la(a){for(var b=[],c=a.conditions.length,d=0;d<c;d++)b.push(Oa(a.conditions[d],a));c=C="any"==a.anyAll?-1<b.indexOf(!0)?a.showHide:ma(a.showHide):-1<b.indexOf(!1)?ma(a.showHide):a.showHide;b=null!==document.getElementById(a.containerId);"show"==c?"data"==a.fieldType&&a.hasOwnProperty("dataLogic")?(a={fieldId:a.fieldId,fieldKey:a.fieldKey,formId:a.formId,containerId:a.containerId,repeatRow:a.repeatRow,dataLogic:{actualValue:a.dataLogic.actualValue,
17
+ fieldId:a.dataLogic.fieldId},children:"",inputType:a.inputType},"data"==a.inputType?Pa(a,b):b&&Qa(a)):!1!==B(a.containerId,a.formId)&&(H(a.containerId,a.formId),b?(b=na(a.containerId),oa(b,"divider"==a.fieldType||"form"==a.fieldType,a.formId),jQuery("#"+a.containerId).show()):(b=pa(a),oa(b,"divider"==a.fieldType||"form"==a.fieldType,a.formId))):Q(a,b)}function O(a){return"undefined"===typeof __FRMRULES||"undefined"===typeof __FRMRULES[a]?!1:__FRMRULES[a]}function Oa(a,b){var c=O(a.fieldId),d=qa(c,
18
+ b);"data"==b.fieldType&&"data"==c.fieldType?(c=""===a.value?""===d||1==d.length&&""===d[0]?!1:!0:R(a.operator,a.value,d),b.dataLogic=a,b.dataLogic.actualValue=d,d=c):d=R(a.operator,a.value,d);return d}function qa(a,b){var c;if("radio"==a.inputType||"checkbox"==a.inputType)c=ra(a,b),c=document.querySelectorAll('input[name^="'+c+'"]'),c="checkbox"==a.inputType?S(c):sa(c);else if(c="",!0===a.isMultiSelect){c=ra(a,b);var d=document.querySelectorAll('[name^="'+c+'"]');c=1==d.length&&"hidden"!=d[0].type?
19
+ jQuery('[name^="'+c+'"]').val():S(d)}else d="field_"+a.fieldKey,a.isRepeating&&(d+="-"+b.repeatRow),d=document.getElementById(d),null!==d&&(c=d.value);"undefined"===typeof c?c="":"string"===typeof c&&(c=c.trim());return c}function ra(a,b){return a.isRepeating?"item_meta["+("0"!==b.inEmbedForm?b.inEmbedForm:b.inSection)+"]["+b.repeatRow+"]["+a.fieldId+"]":"item_meta["+a.fieldId+"]"}function S(a){for(var b=[],c=0,d=a.length;c<d;c++)("hidden"==a[c].type||a[c].checked)&&b.push(a[c].value);0===b.length&&
20
+ (b="");return b}function R(a,b,c){b=Ra(b);c=Sa(b,c);return"string"===typeof b&&"-1"!=b.indexOf("&quot;")&&R(a,b.replace("&quot;",'"'),c)?!0:{"==":function(a,b){return a==b},"!=":function(a,b){return a!=b},"<":function(a,b){return a>b},">":function(a,b){return a<b},LIKE:function(a,b){if(!b)return!1;b=I(b);a=I(a);return-1!=b.indexOf(a)},"not LIKE":function(a,b){if(!b)return!0;b=I(b);a=I(a);return-1==b.indexOf(a)}}[a](b,c)}function Ra(a){-1!==String(a).search(/^\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*$/)?
21
+ a=parseFloat(a):"string"===typeof a&&(a=a.trim());return a}function Sa(a,b){"undefined"===typeof b&&(b="");jQuery.isArray(b)&&-1<jQuery.inArray(a,b)&&(b=a);"number"===typeof a&&"string"===typeof b&&(b=parseFloat(b));"string"===typeof b&&(b=b.trim());return b}function I(a){"string"===typeof a?a=a.toLowerCase():"number"===typeof a&&(a=a.toString());return a}function ma(a){return"show"==a?"hide":"show"}function na(a){return document.getElementById(a).querySelectorAll('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]')}
22
+ function pa(a){if("divider"==a.fieldType){var b=[];"divider"==a.fieldType&&(b=document.querySelectorAll('[data-sectionid="'+a.fieldId+'"]'));a=b}else a="form"==a.fieldType?document.querySelectorAll('[id^="field_'+a.fieldKey+'-"]'):document.querySelectorAll('[name^="'+(a.isRepeating?"item_meta["+a.inSection+"]["+a.repeatRow+"]["+a.fieldId+"]":"item_meta["+a.fieldId+"]")+'"]');return a}function oa(a,b,c){if(a.length)for(var d,e=["checkbox","radio"],f=0;f<a.length;f++)if(!(0<f&&"undefined"!==typeof d&&
23
+ d.name==a[f].name&&-1<e.indexOf(d.type)||b&&T(a[f],c))){d=a[f];var h=jQuery(d),g=h.data("frmval");if("undefined"!==typeof g){if("checkbox"==d.type||"radio"==d.type)for(var k=document.getElementsByName(d.name),m=0,l=k.length;m<l;m++)if("hidden"==k[m].type)jQuery.isArray(g)&&null!==g[m]?k[m].value=g[m]:k[m].value=g;else{if(k[m].value==g||jQuery.isArray(g)&&-1<g.indexOf(k[m].value))if(k[m].checked=!0,"radio"==k[m].type)break}else if(-1<d.name.indexOf("[]"))if(k=document.getElementsByName(d.name),jQuery.isArray(g))for(m=
24
+ 0,l=g.length;m<l;m++)m in k&&(k[m].value=g[m]);else null!==k[0]&&(k[0].value=g);else g.constructor===Object&&(k=d.getAttribute("name").split("[").slice(-1)[0],null!==k&&(k=k.replace("]",""),g=g[k],"undefined"==typeof g&&(g=""))),d.value=g;"SELECT"==d.tagName&&U(d);u(h)}d=a[f];h=q(d,!1);h=V(h);!1!==h&&"lookup"!=h.fieldType&&(h.parentVals=W(h),ta(h,d));d=a[f];if(h="undefined"!==typeof __FRMCALC){h=d.type;g=!1;if("text"==h||"hidden"==h||"number"==h)g=!0;h=g}if(h){h=__FRMCALC;g=d.name;k=d.id.replace("field_",
25
+ "");if(3<=g.split("][").length)for(g=k.split("-"),k="",m=0;m<g.length-1;m++)k=""===k?g[m]:k+"-"+g[m];g=k;k=null;3<=d.name.split("][").length&&(k="hidden"!=d.type?jQuery(d).closest(".frm_form_field"):jQuery(d));d=k;void 0!==h.calc[g]&&X(h,g,[],d)}d=a[f]}}function T(a,b){var c=q(a,!0);return B("frm_field_"+c+"_container",b)}function Q(a,b){if(!B(a.containerId,a.formId)){if(b){jQuery("#"+a.containerId).hide();var c=na(a.containerId)}else c=pa(a);Y(c);ua(a.containerId,a.formId)}}function Y(a){if(!(1>
26
+ a.length)){for(var b,c=!0,d=0,e=a.length;d<e;d++)0<d&&b.name!=a[d].name&&!0===c&&u(jQuery(b)),c=!0,"radio"==a[d].type||"checkbox"==a[d].type?a[d].checked=!1:"SELECT"==a[d].tagName?(0===a[d].selectedIndex?c=!1:a[d].selectedIndex=0,null!==document.getElementById(a[d].id+"_chosen")&&jQuery(a[d]).trigger("chosen:updated")):a[d].value="",b=a[d];!0===c&&u(jQuery(b))}}function B(a,b){var c=!1;-1<D(b).indexOf(a)&&(c=!0);return c}function ua(a,b){var c=D(b);if(!(-1<c.indexOf(a))){c.push(a);var c=JSON.stringify(c),
27
+ d=document.getElementById("frm_hide_fields_"+b);null!==d&&(d.value=c)}}function D(a){var b=[];a=document.getElementById("frm_hide_fields_"+a);return null===a?b:b=(b=a.value)?JSON.parse(b):[]}function H(a,b){var c=D(b),d=c.indexOf(a);-1<d&&(c.splice(d,1),c=JSON.stringify(c),document.getElementById("frm_hide_fields_"+b).value=c)}function fa(a,b,c){if(!("undefined"===typeof __FRMLOOKUP||"undefined"===typeof __FRMLOOKUP[a]||1>__FRMLOOKUP[a].dependents.length||null===b||"undefined"===typeof b)){a=__FRMLOOKUP[a];
28
+ b=F(b[0].name);for(var d=0,e=a.dependents.length;d<e;d++)Z(a.dependents[d],b,c)}}function Z(a,b,c){a=V(a);if(!(!1===a||1>a.parents.length))if("lookup"==a.fieldType){b=[];a.isRepeating?b=document.querySelectorAll(".frm_field_"+a.fieldId+"_container"):(c=document.getElementById("frm_field_"+a.fieldId+"_container"),null!==c&&b.push(c));c=0;for(var d=b.length;c<d;c++){ka(a,b[c].id);var e=a,f=b[c];e.parentVals=W(e);if("select"==e.inputType)Ta(e,f);else if("radio"==e.inputType||"checkbox"==e.inputType)if(!1===
29
+ e.parentVals){var h=f.getElementsByTagName("input");va(e,f);Y(h)}else Ua(e,f)}}else if("value changed"===c)for(c="field_"+a.fieldKey,c=a.isRepeating?""!==b.repeatingSection?'[id="'+c+"-"+b.repeatRow+'"]':'[id^="'+c+'-"]':'[id="'+c+'"]',b=document.querySelectorAll(c),c=0,d=b.length;c<d;c++)e=a,f=F(b[c].name),e.repeatRow=""!==f.repeatRow?f.repeatRow:"",e=a,f=b[c],e.parentVals=W(e),ta(e,f)}function V(a){return"undefined"===typeof __FRMLOOKUP||"undefined"===typeof __FRMLOOKUP[a]?!1:__FRMLOOKUP[a]}function W(a){for(var b=
30
+ [],c=a.parents,d,e=0,f=c.length;e<f;e++){d=V(c[e]);d=qa(d,a);if(""===d||!1===d){b=!1;break}b[e]=d}return b}function sa(a){for(var b=!1,c=a.length,d=0;d<c;d++)if("hidden"==a[d].type||a[d].checked){b=a[d].value;break}return b}function Ta(a,b){var c=b.getElementsByTagName("SELECT")[0];if(null!==c){var d=c.value;!1===a.parentVals?(c.options.length=1,""!==d&&(c.value="",U(c),u(jQuery(c),a.fieldKey))):(c.options.length=1,c.options[1]=new Option(frm_js.loading_text,"",!1,!1),jQuery.ajax({type:"POST",url:frm_js.ajax_url,
31
+ data:{action:"frm_replace_lookup_field_options",parent_fields:a.parents,parent_vals:a.parentVals,field_id:a.fieldId,nonce:frm_js.nonce},success:function(b){var d=a.fieldKey,h=c.value;b=JSON.parse(b);for(var g=c.options.length;0<g;g--)c.remove(g);for(var k=b.length,g=0;g<k;g++)c.options[g+1]=new Option(b[g],b[g],!1,!1);c.value=h;""===c.value&&(b=c.getAttribute("data-frmval"),null!==b&&(c.value=b));U(c);c.value!=h&&u(jQuery(c),d)}}))}}function U(a){-1<a.className.indexOf("frm_chzn")&&jQuery().chosen&&
32
+ jQuery(a).trigger("chosen:updated")}function Ua(a,b){var c=b.getElementsByClassName("frm_opt_container")[0],d=c.getElementsByTagName("input");Va(b,c);var e="",e="radio"==a.inputType?sa(d):S(d);jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_replace_cb_radio_lookup_options",parent_fields:a.parents,parent_vals:a.parentVals,field_id:a.fieldId,row_index:a.repeatRow,current_value:e,nonce:frm_js.nonce},success:function(e){c.innerHTML=e;e=b.getElementsByClassName("frm-loading-img")[0];null!==
33
+ e&&void 0!==e&&e.parentNode.removeChild(e);c.style.display="block";1==d.length&&""===d[0].value?va(a,b):!1!==B(b.id,a.formId)&&(e=O(a.fieldId),!1===e||1>e.conditions.length?(H(b.id,a.formId),jQuery("#"+b.id).show()):(e.containerId=b.id,e.repeatRow=a.repeatRow,la(e)));u(jQuery(d[0]),a.fieldKey)}})}function va(a,b){B(b.id,a.formId)||(jQuery("#"+b.id).hide(),ua(b.id,a.formId))}function ta(a,b){if(!T(b,a.formId))if(!1===a.parentVals){var c=b.getAttribute("data-frmval");null===c&&(c="");wa(a,b,c)}else jQuery.ajax({type:"POST",
34
+ url:frm_js.ajax_url,data:{action:"frm_get_lookup_text_value",parent_fields:a.parents,parent_vals:a.parentVals,field_id:a.fieldId,nonce:frm_js.nonce},success:function(c){b.value!=c&&wa(a.fieldKey,b,c)}})}function wa(a,b,c){b.value=c;u(jQuery(b),a)}function Pa(a,b){if(b){var c=jQuery("#"+a.containerId);xa(c)}jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_fields_ajax_get_data",entry_id:a.dataLogic.actualValue,current_field:a.fieldId,hide_id:a.containerId,nonce:frm_js.nonce},success:function(d){if(b){var e=
35
+ c.find(".frm_opt_container");e.html(d);var f=e.children("input"),h=f.val();ya(e);""===d||""===h?Q(a,!0):za(a,c,f)}else e="field_"+a.fieldKey,""!==a.repeatRow&&(e+="-"+a.repeatRow),e=document.getElementById(e),e.value=d,B(a.containerId,a.formId)&&H(a.containerId,a.formId),u(jQuery(e))}})}function Qa(a,b){var c=jQuery("#"+a.containerId),d=c.find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]'),e=Wa(d),d=d.data("frmval");xa(c);jQuery.ajax({type:"POST",url:frm_js.ajax_url,
36
+ data:{action:"frm_fields_ajax_data_options",trigger_field_id:a.dataLogic.fieldId,entry_id:a.dataLogic.actualValue,field_id:a.fieldId,default_value:d,container_id:a.containerId,prev_val:e,nonce:frm_js.nonce},success:function(b){var d=c.find(".frm_opt_container");d.html(b);var e=d.find("select, input, textarea");ya(d);""===b||1==e.length&&"hidden"==e.attr("type")?Q(a,!0):za(a,c,e)}})}function xa(a){var b=a.html();-1<b.indexOf("frm-loading-img")||(a.html(b+'<span class="frm-loading-img"></span>'),a.find(".frm_opt_container").hide())}
37
+ function Va(a,b){if(!(-1<a.innerHTML.indexOf("frm-loading-img"))){b.style.display="none";var c=document.createElement("span");c.setAttribute("class","frm-loading-img");a.insertBefore(c,b.nextSibling)}}function ya(a){a.next(".frm-loading-img").remove();a.show()}function Wa(a){var b=[],c="";a.each(function(){c=this.value;"radio"===this.type||"checkbox"===this.type?!0===this.checked&&b.push(c):""!==c&&b.push(c)});0===b.length&&(b="");return b}function za(a,b,c){B(a.containerId,a.formId)&&(H(a.containerId,
38
+ a.formId),b.show());c.hasClass("frm_chzn")&&aa();u(c)}function M(a,b){if("undefined"!==typeof __FRMCALC){var c=__FRMCALC,d=c.fields[a];if("undefined"!==typeof d)for(var d=d.total,e=[],f=0,h=d.length;f<h;f++){var g;g=c.calc[d[f]];var k=b.attr("name"),m=!1,l=g.field_id,n=D(g.form_id);1>n.length||("0"===g.inSection&&"0"===g.inEmbedForm?m=J(l,n):(k=F(k),J(l,n)?m=!0:Aa(l,k,n)?m=!0:"0"!==g.inSection&&"0"!==g.inEmbedForm?m=Aa(g.inSection,k,n):"0"!==g.inSection?m=J(g.inSection,n):"0"!==g.inEmbedForm&&(m=
39
+ J(g.inEmbedForm,n))));g=m;!1===g&&X(c,d[f],e,b)}}}function J(a,b){return-1<b.indexOf("frm_field_"+a+"_container")}function Aa(a,b,c){var d=!1;b.repeatingSection&&(a="frm_field_"+a+"-"+b.repeatingSection,a+="-"+b.repeatRow+"_container",d=-1<c.indexOf(a));return d}function X(a,b,c,d){var e=a.calc[b],f=e.calc,h=jQuery(document.getElementById("field_"+b)),g={triggerField:d,inSection:!1,thisFieldCall:'input[id^="field_'+b+'-"]'};1>h.length&&"undefined"!==typeof d&&(g.inSection=!0,g.thisFieldId=Xa(a.fieldsWithCalc,
40
+ b),h=Ba(g));if(!(1>h.length)){f=Ya(e,f,a,c,g);if("text"!=e.calc_type){a=e.calc_dec;f.indexOf(").toFixed(")&&(c=f.split(").toFixed("),Ca(c[1])&&(a=c[1],f=f.replace(").toFixed("+a,"")));f=parseFloat(eval(f));if("undefined"===typeof f||isNaN(f))f=0;Ca(a)&&(f=f.toFixed(a))}h.val()!=f&&(h.val(f),u(h,b))}}function Ya(a,b,c,d,e){for(var f=0,h=a.fields.length;f<h;f++){var g={triggerField:e.triggerField,thisFieldId:a.fields[f],inSection:e.inSection,valKey:e.inSection+""+a.fields[f],thisField:c.fields[a.fields[f]],
41
+ thisFieldCall:"input"+c.fieldKeys[a.fields[f]]},k=c;"checkbox"==g.thisField.type||"select"==g.thisField.type?g.thisFieldCall=g.thisFieldCall+":checked,select"+k.fieldKeys[g.thisFieldId]+" option:selected,"+g.thisFieldCall+"[type=hidden]":"radio"==g.thisField.type||"scale"==g.thisField.type?g.thisFieldCall=g.thisFieldCall+":checked,"+g.thisFieldCall+"[type=hidden]":"textarea"==g.thisField.type&&(g.thisFieldCall=g.thisFieldCall+",textarea"+k.fieldKeys[g.thisFieldId]);if("text"==a.calc_type)g.valKey=
42
+ "text"+g.valKey,d=Za(g,d),"undefined"===typeof d[g.valKey]&&(d[g.valKey]="");else{g.valKey="num"+g.valKey;d=$a(g,c,d);if("undefined"===typeof d[g.valKey]||isNaN(d[g.valKey]))d[g.valKey]=0;"date"==g.thisField.type&&0===d[g.valKey]&&(b="")}k="["+g.thisFieldId+"]";k=k.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1");b=b.replace(new RegExp(k,"g"),d[g.valKey])}return b}function $a(a,b,c){if("undefined"!==typeof c[a.valKey]&&0!==c[a.valKey])return c;c[a.valKey]=0;var d=Da(a);if(!1===d)return c;d.each(function(){var d=
43
+ Ea(a.thisField,this);if("date"==a.thisField.type){var f;f=b.date;var h=0;if(d)if("undefined"===typeof jQuery.datepicker){h="-";-1<f.indexOf("/")&&(h="/");f=f.split(h);var d=d.split(h),g,k;g=h=k="";for(var m=0;m<f.length;m++)if("y"==f[m])g=((new Date).getFullYear()+15).toString().substr(2,2),g=d[m]>g?"19"+d[m]:"20"+d[m];else if("yy"==f[m])g=d[m];else if("m"==f[m]||"mm"==f[m])h=d[m],2>h.length&&(h="0"+h);else if("d"==f[m]||"dd"==f[m])k=d[m],2>k.length&&(k="0"+k);h=Date.parse(g+"-"+h+"-"+k)}else h=jQuery.datepicker.parseDate(f,
44
+ d);f=h;null!==f&&(c[a.valKey]=Math.ceil(f/864E5))}else{f=d;""!==f&&0!==f&&(f=f.trim(),f=parseFloat(f.replace(/,/g,"").match(/-?[\d\.]+$/)));if("undefined"===typeof f||isNaN(f)||""===f)f=0;c[a.valKey]+=f}});return c}function Za(a,b){if("undefined"!==typeof b[a.valKey]&&""!==b[a.valKey])return b;b[a.valKey]="";var c=Da(a);if(!1===c)return b;c.each(function(){var c=Ea(a.thisField,this),c=c.trim();b[a.valKey]+=c});return b}function Da(a){var b;if(!1===a.inSection)b=jQuery(a.thisFieldCall);else if(b=Ba(a),
45
+ null===b||"undefined"===typeof b)b=jQuery(a.thisFieldCall);if(null===b||"undefined"===typeof b||1>b.length)b=!1;return b}function Ba(a){if("undefined"===typeof a.triggerField)return null;var b=a.triggerField.closest(".frm_repeat_sec, .frm_repeat_inline, .frm_repeat_grid");return b.length?(a=a.thisFieldCall.replace("[id=","[id^="),b.find(a)):null}function Ea(a,b){var c;c=!1;if("hidden"==b.type)""!==ba(b)&&(c=!0);else if("select"==a.type){var d=b.className;d&&-1<d.indexOf("frm_other_trigger")&&(c=!0)}else("checkbox"==
46
+ a.type||"radio"==a.type)&&-1<b.id.indexOf("-other_")&&0>b.id.indexOf("-otext")&&(c=!0);c?(c=0,"select"==a.type?"hidden"==b.type?(d=!1,2<b.name.split("[").length&&(d=!0),d||(c=ba(b))):c=jQuery(b).closest(".frm_other_container").find(".frm_other_input").val():"checkbox"!=a.type&&"radio"!=a.type||"hidden"==b.type||(c=ba(b))):c="checkbox"!==b.type&&"radio"!==b.type||!b.checked?jQuery(b).val():b.value;"undefined"===typeof c&&(c="");return c}function ba(a){var b="";a=document.getElementById(a.id+"-otext");
47
+ null!==a&&""!==a.value&&(b=a.value);return b}function Fa(a){var b=!1;a=jQuery(a).find(".frm_saving_draft");a.length&&(b=a.val());return b}function Ga(a){var b=!1,c=jQuery(a).find(".frm_next_page");if(c.length&&c.val()){var d=jQuery(a).find('input[name="form_id"]').val();a=jQuery(a).find('input[name="frm_page_order_'+d+'"]');a=a.length?a.val():0;if(!a||c.val()<a)b=!0}return b}function ga(a,b){var c=a.getAttribute("data-frmfile");if("hidden"==a.type&&null===c)return b;var d="",e="";if("checkbox"==a.type||
48
+ "radio"==a.type)c=jQuery('input[name="'+a.name+'"]').closest(".frm_required_field").find("input:checked"),jQuery(c).each(function(){d=this.value});else if("file"==a.type||c)"undefined"===typeof c&&(c=q(a,!0),c=c.replace("file","")),"undefined"===typeof b[c]&&(d=ab(c)),e=c;else{e=a.className;if(-1!==e.indexOf("frm_pos_none"))return b;d=jQuery(a).val();if("string"!==typeof d)for(var c=d,d="",f=0;f<c.length;f++)""!==c[f]&&(d=c[f]);e=-1===e.indexOf("frm_other_input")?q(a,!0):q(a,!1)}""===d&&(""===e&&
49
+ (e=q(a,!0)),e in b||(b[e]=E(a,"data-reqmsg")));return b}function ab(a){var b="";jQuery('input[name="file'+a+'"], input[name="file'+a+'[]"], input[name^="item_meta['+a+']"]').each(function(){""===b&&(b=this.value)});return b}function ha(a,b,c){var d=a.value,e=q(a,!0);if(e in b)return b;var f=0===e.indexOf("conf_");if(""!==d||f){var h=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i,g=E(a,"data-invmsg");
50
+ ""!==d&&!1===h.test(d)?(b[e]=g,f&&(b[e.replace("conf_","")]="")):f&&(a=a.name.replace("conf_",""),c.filter('[name="'+a+'"]').val()!==d&&(b[e]="",b[e.replace("conf_","")]=""))}return b}function ia(a,b){var c=a.value;""!==c&&!1!==isNaN(c/1)&&(c=q(a,!0),c in b||(b[c]=E(a,"data-invmsg")));return b}function ja(a,b){var c=a.value,d=E(a,"pattern");if(""!==d&&""!==c){var e=q(a,!0);e in b||(d=new RegExp("^"+d+"$","i"),!1===d.test(c)&&(b[e]=E(a,"data-invmsg")))}return b}function E(a,b){var c=a.getAttribute(b);
51
+ null===c&&(c="");return c}function bb(a,b){jQuery(a).find('input[type="submit"], input[type="button"]').attr("disabled","disabled");"undefined"==typeof b&&jQuery(a).find('input[name="frm_action"]').val();jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:jQuery(a).serialize()+"&action=frm_entries_"+b+"&nonce="+frm_js.nonce,success:function(b){var d={content:"",errors:{},pass:!1};null===b&&(b=d);b=b.replace(/^\s+|\s+$/g,"");b=0===b.indexOf("{")?jQuery.parseJSON(b):d;if("undefined"!=typeof b.redirect)window.location=
52
+ b.redirect;else if(""!==b.content){jQuery(a).find(".frm_ajax_loading").removeClass("frm_loading_now");var e=jQuery(a).find('input[name="form_id"]').val();jQuery(a).closest("#frm_form_"+e+"_container").replaceWith(b.content);frmFrontForm.scrollMsg(e);"function"==typeof frmThemeOverride_frmAfterSubmit&&(e=jQuery('input[name="frm_page_order_'+e+'"]').val(),d=jQuery(b.content).find('input[name="form_id"]').val(),frmThemeOverride_frmAfterSubmit(d,e,b.content,a));e=jQuery(a).find('input[name="id"]');e.length&&
53
+ jQuery(document.getElementById("frm_edit_"+e.val())).find("a").addClass("frm_ajax_edited").click();jQuery(b.content).find(".frm_message").length&&ca("pageLoad");da()}else if(Object.keys(b.errors).length){jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");jQuery(a).find(".frm_ajax_loading").removeClass("frm_loading_now");d=!0;Ha();var f=!1,h;for(e in b.errors)if(h=jQuery(a).find("#frm_field_"+e+"_container"),h.length){if(!h.is(":visible")){var g=h.closest(".frm_toggle_container");
54
+ g.length&&(g=g.prev(),g.hasClass("frm_trigger")||(g=g.prev(".frm_trigger")),g.click())}h.is(":visible")&&(N(h,e,b.errors),d=!1,h=jQuery(a).find("#frm_field_"+e+"_container .frm-g-recaptcha, #frm_field_"+e+"_container .g-recaptcha"),h.length&&(f=!0,h=h.data("rid"),jQuery().grecaptcha&&(h?grecaptcha.reset(h):grecaptcha.reset())))}Ia(a);!0!==f&&Ja(a,!1);d?a.submit():jQuery(a).prepend(b.error_message)}else cb(a),Ja(a,!0),a.submit()},error:function(){jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");
55
+ a.submit()}})}function N(a,b,c){a.length&&a.is(":visible")&&(a.addClass("frm_blank_field"),"function"==typeof frmThemeOverride_frmPlaceError?frmThemeOverride_frmPlaceError(b,c):a.append('<div class="frm_error">'+c[b]+"</div>"))}function Ha(){jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");jQuery(".frm_error_style").remove()}function Ia(a){var b=jQuery(a).find(".frm_blank_field:first");b.length&&frmFrontForm.scrollMsg(b,a,!0)}function cb(a){var b=
56
+ document.getElementById("frm_loading");null!==b&&(a=jQuery(a).find("input[type=file]").val(),"undefined"!=typeof a&&""!==a&&setTimeout(function(){jQuery(b).fadeIn("slow")},2E3))}function Ja(a,b){var c=jQuery(a).find(".frm-g-recaptcha, .g-recaptcha");c.length&&(!b||1>jQuery(a).find(".frm_next_page").length||1>jQuery(a).find(".frm_next_page").val())&&c.closest(".frm_form_field").replaceWith('<input type="hidden" name="recaptcha_checked" value="'+frm_js.nonce+'">')}function db(){Ka(jQuery(this),"clear")}
57
+ function eb(){Ka(jQuery(this),"replace")}function Ka(a,b){var c=a.data("frmval").replace(/(\n|\r\n)/g,"\r");if(""===c||"undefined"==typeof c)return!1;var d=a.val().replace(/(\n|\r\n)/g,"\r");"replace"==b?""===d&&a.addClass("frm_default").val(c):d==c&&a.removeClass("frm_default").val("")}function fb(){var a=jQuery(this),b=a.data("eid"),c=a.data("fid");a.append('<span class="spinner" style="display:inline"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_send_email",
58
+ entry_id:b,form_id:c,nonce:frm_js.nonce},success:function(b){a.replaceWith(b)}});return!1}function gb(a,b){google.load("visualization","1.0",{packages:[b],callback:function(){if("table"==b){var c=new google.visualization.DataTable,d=!1;-1!==jQuery.inArray("id",a.options.fields)&&(d=!0,c.addColumn("number",frm_js.id));for(var e=a.fields.length,f,h=0,g=e;h<g;h++){var k=a.fields[h];f=La(k);c.addColumn(f,k.name)}h=!1;a.options.edit_link&&(h=!0,c.addColumn("string",a.options.edit_link));g=!1;a.options.delete_link&&
59
+ (g=!0,c.addColumn("string",a.options.delete_link));if(null!==a.entries){var m=a.entries.length;c.addRows(m);for(var l=0,n=0;n<m;n++){var k=0,p=a.entries[n];d&&(c.setCell(l,k,p.id),k++);for(var q=0,r=e;q<r;q++){var t=a.fields[q];f=La(t);t=p.metas[t.id];"number"!=f||null!==t&&""!==t?"boolean"==f&&(t=null===t||"false"==t||!1===t?!1:!0):t=0;c.setCell(l,k,t);k++}h&&("undefined"!==typeof p.editLink?c.setCell(l,k,'<a href="'+p.editLink+'">'+a.options.edit_link+"</a>"):c.setCell(l,k,""),k++);g&&("undefined"!==
60
+ typeof p.deleteLink?c.setCell(l,k,'<a href="'+p.deleteLink+'" class="frm_delete_link" data-frmconfirm="'+a.options.confirm+'">'+a.options.delete_link+"</a>"):c.setCell(l,k,""));l++}}else for(c.addRows(1),h=k=0,g=e;h<g;h++)0<k?c.setCell(0,k,""):c.setCell(0,k,a.options.no_entries),k++;(new google.visualization.Table(document.getElementById("frm_google_table_"+a.options.form_id))).draw(c,a.graphOpts)}else hb(a)}})}function La(a){var b="string";if("number"==a.type)b="number";else if("checkbox"==a.type||
61
+ "select"==a.type){var c=a.options.length;"select"==a.type&&""===a.options[0]&&(c="post_status"==a.field_options.post_field?3:c-1);1==c&&(b="boolean")}return b}function hb(a){var b=new google.visualization.DataTable,c=!1,d=!1,e=a.rows.length;if(0<e)if("table"==a.type){c=!0;b.addRows(a.rows[e-1][0]+1);for(var f=0;f<e;f++)b.setCell(a.rows[f])}else if("undefined"!=typeof a.rows[0].tooltip)for(var d=c=!0,h=0;h<e;h++){f=a.rows[h].tooltip;delete a.rows[h].tooltip;var g=Object.keys(a.rows[h]).map(function(b){return a.rows[h][b]});
62
+ a.rows[h]=g;a.rows[h].push(f)}e=a.cols.length;if(c){if(0<e)for(c=0;c<e;c++)f=a.cols[c],b.addColumn(f.type,f.name);d&&(b.addColumn({type:"string",role:"tooltip"}),b.addRows(a.rows))}else{b=[[]];for(d=0;d<e;d++)b[0].push(a.cols[d].name);b=b.concat(a.rows);b=google.visualization.arrayToDataTable(b)}d=a.type.charAt(0).toUpperCase()+a.type.slice(1)+"Chart";(new google.visualization[d](document.getElementById("chart_"+a.graph_id))).draw(b,a.options)}function ib(){var a="frm_section_"+jQuery(this).data("parent")+
63
+ "-"+jQuery(this).data("key"),b=jQuery(document.getElementById(a)),c=b.find("input, select, textarea");b.fadeOut("slow",function(){b.remove();c.each(function(){if("file"!=this.type){var a=q(this,!1);M(a,jQuery(this))}});"function"==typeof frmThemeOverride_frmRemoveRow&&frmThemeOverride_frmRemoveRow(a,b)});return!1}function jb(){if(!0===K)return!1;K=!0;var a=jQuery(this).data("parent"),b=0;if(0<jQuery(".frm_repeat_"+a).length)var c=jQuery(".frm_repeat_"+a+":last").attr("id").replace("frm_section_"+
64
+ a+"-",""),b=-1<c.indexOf("i")?1:1+parseInt(c);jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"json",data:{action:"frm_add_form_row",field_id:a,i:b,nonce:frm_js.nonce},success:function(c){var e=c.html,f=jQuery(e).hide().fadeIn("slow");jQuery(".frm_repeat_"+a+":last").after(f);var h=["other"],g,k,m={repeatingSection:a.toString(),repeatRow:b.toString()};jQuery(e).find("input, select, textarea").each(function(){if("file"!=this.type){if(""===this.name)return!0;g=this.name.replace("item_meta[","").split("]")[2].replace("[",
65
+ "");-1==jQuery.inArray(g,h)&&!1!==this.id&&""!==this.id&&(k=jQuery("#"+this.id),h.push(g),G(g,m),Z(g,m,"value changed"),ea(g,k),fa(g,k,"value changed"),M(g,k))}});v(m.repeatRow);Ma();aa();"function"==typeof frmThemeOverride_frmAddRow&&frmThemeOverride_frmAddRow(a,c);K=!1},error:function(){K=!1}});return!1}function kb(){var a=jQuery(this),b=a.data("entryid"),c=a.data("prefix"),d=a.data("pageid"),e=a.data("formid"),f=a.data("cancel"),h=a.data("fields"),g=a.data("excludefields"),k=jQuery(document.getElementById(c+
66
+ b)),m=k.html();k.html('<span class="frm-loading-img" id="'+c+b+'"></span><div class="frm_orig_content" style="display:none">'+m+"</div>");jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"html",data:{action:"frm_entries_edit_entry_ajax",post_id:d,entry_id:b,id:e,nonce:frm_js.nonce,fields:h,exclude_fields:g},success:function(b){k.children(".frm-loading-img").replaceWith(b);a.removeClass("frm_inplace_edit").addClass("frm_cancel_edit");a.html(f);ca("editInPlace");da()}});return!1}function lb(){var a=
67
+ jQuery(this),b=a.data("entryid"),c=a.data("prefix"),d=a.data("edit");a.hasClass("frm_ajax_edited")||(b=jQuery(document.getElementById(c+b)),b.children(".frm_forms").replaceWith(""),b.children(".frm_orig_content").fadeIn("slow").removeClass("frm_orig_content"));a.removeClass("frm_cancel_edit").addClass("frm_inplace_edit");a.html(d);return!1}function mb(){var a=jQuery(this),b=a.data("deleteconfirm");if(confirm(b)){var c=a.data("entryid"),d=a.data("prefix");a.replaceWith('<span class="frm-loading-img" id="frm_delete_'+
68
+ c+'"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_destroy",entry:c,nonce:frm_js.nonce},success:function(a){"success"==a.replace(/^\s+|\s+$/g,"")?(jQuery(document.getElementById(d+c)).fadeOut("slow"),jQuery(document.getElementById("frm_delete_"+c)).fadeOut("slow")):jQuery(document.getElementById("frm_delete_"+c)).replaceWith(a)}})}return!1}function da(){"undefined"!==typeof __frmHideFields&&frmFrontForm.hidePreviouslyHiddenFields();jQuery(document).on("focusin",
69
+ ".frm_date",r);if("undefined"!==typeof __frmUniqueTimes)for(var a=__frmUniqueTimes,b=0;b<a.length;b++)jQuery(document.getElementById(a[b].dateID)).change(p);if("undefined"!==typeof __frmMasks)for(a=__frmMasks,b=0;b<a.length;b++)jQuery(a[b].trigger).attr("data-frmmask",a[b].mask);Ma();aa();"undefined"!==typeof __frmDepDynamicFields&&frmFrontForm.checkDependentDynamicFields(__frmDepDynamicFields);"undefined"!==typeof __frmDepLookupFields&&frmFrontForm.checkDependentLookupFields(__frmDepLookupFields);
70
+ if("undefined"!==typeof __FRMCALC){(a=__FRMCALC.triggers)&&jQuery(a.join()).trigger({type:"change",selfTriggered:!0});var a=__FRMCALC.calc,b=[],c;for(c in a)if(1>a[c].fields.length){var d=document.getElementById("field_"+c);null===d||T(d,a[c].form_id)||X(__FRMCALC,c,b)}}v()}function aa(){if(jQuery().chosen){var a={allow_single_deselect:!0};"undefined"!==typeof __frmChosen&&(a="{"+__frmChosen+"}");jQuery(".frm_chzn").chosen(a)}}function Ma(){if(jQuery().rating){var a=jQuery(".star");a.length&&a.rating()}}
71
+ function ca(a){"undefined"!==typeof __frmHideOrShowFields&&frmFrontForm.hideOrShowFields(__frmHideOrShowFields,a)}function u(a,b){"undefined"===typeof b&&(b="dependent");1<a.length&&(a=a.eq(0));a.trigger({type:"change",selfTriggered:!0,frmTriggered:b})}function F(a){var b={repeatingSection:"",repeatRow:""};"undefined"!==typeof a&&3<=a.split("][").length&&(a=a.split("]["),b.repeatingSection=a[0].replace("item_meta[",""),b.repeatRow=a[1]);return b}function Na(a){a.fadeOut("slow",function(){a.remove()})}
72
+ function nb(){var a=jQuery(this).data("frmconfirm");return confirm(a)}function ob(){var a=jQuery(this).data("frmtoggle");jQuery(a).is(":visible")?jQuery(a).slideUp("fast"):jQuery(a).slideDown("fast");return!1}function Xa(a,b){for(var c in a)if(a.hasOwnProperty(c)&&a[c]===b)return c;return null}function Ca(a){return!jQuery.isArray(a)&&0<=a-parseFloat(a)+1}function pb(){Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c=this.length>>>0,d=Number(b)||0,d=0>d?Math.ceil(d):Math.floor(d);
73
+ for(0>d&&(d+=c);d<c;d++)if(d in this&&this[d]===a)return d;return-1})}function qb(){"function"!==typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")})}function rb(){Array.prototype.filter||(Array.prototype.filter=function(a,b){if(void 0===this||null===this)throw new TypeError;var c=Object(this),d=c.length>>>0;if("function"!==typeof a)throw new TypeError;for(var e=[],f=0;f<d;f++)if(f in c){var h=c[f];a.call(b,h,f,c)&&e.push(h)}return e})}function sb(){Object.keys||
74
+ (Object.keys=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push(c);return b})}var K=!1,C="",x=[];return{init:function(){jQuery(document).off("submit.formidable",".frm-show-form");jQuery(document).on("submit.formidable",".frm-show-form",frmFrontForm.submitForm);jQuery(document).on("click",".frm_trigger",n);var a=jQuery(".frm_blank_field");a.length&&a.closest(".frm_toggle_container").prev(".frm_trigger").click();jQuery.isFunction(jQuery.fn.placeholder)?jQuery(".frm-show-form input, .frm-show-form textarea").placeholder():
75
+ jQuery(".frm-show-form input[onblur], .frm-show-form textarea[onblur]").each(function(){""===jQuery(this).val()&&jQuery(this).blur()});jQuery(document).on("focus",".frm_toggle_default",db);jQuery(document).on("blur",".frm_toggle_default",eb);jQuery(".frm_toggle_default").blur();jQuery(document.getElementById("frm_resend_email")).click(fb);jQuery(document).on("click",".frm_remove_link",w);jQuery(document).on("focusin","input[data-frmmask]",function(){jQuery(this).mask(jQuery(this).data("frmmask").toString())});
76
+ jQuery(document).on("change",'.frm-show-form input[name^="item_meta"], .frm-show-form select[name^="item_meta"], .frm-show-form textarea[name^="item_meta"]',L);jQuery(document).on("click",'.frm-show-form input[type="submit"], .frm-show-form input[name="frm_prev_page"], .frm-show-form .frm_save_draft',l);jQuery(document).on("change",'.frm_other_container input[type="checkbox"], .frm_other_container input[type="radio"], .frm_other_container select',A);jQuery(document).on("click",".frm_remove_form_row",
77
+ ib);jQuery(document).on("click",".frm_add_form_row",jb);jQuery(document).on("click","a[data-frmconfirm]",nb);jQuery("a[data-frmtoggle]").click(ob);jQuery(".frm_edit_link_container").on("click","a.frm_inplace_edit",kb);jQuery(".frm_edit_link_container").on("click","a.frm_cancel_edit",lb);jQuery(document).on("click",".frm_ajax_delete",mb);jQuery(".frm_month_heading, .frm_year_heading").click(function(){var a=jQuery(this).children(".ui-icon-triangle-1-e, .ui-icon-triangle-1-s");a.hasClass("ui-icon-triangle-1-e")?
78
+ (a.addClass("ui-icon-triangle-1-s").removeClass("ui-icon-triangle-1-e"),jQuery(this).next(".frm_toggle_container").fadeIn("slow")):(a.addClass("ui-icon-triangle-1-e").removeClass("ui-icon-triangle-1-s"),jQuery(this).next(".frm_toggle_container").hide())});ca("pageLoad");da();pb();qb();rb();sb()},submitForm:function(a){frmFrontForm.submitFormManual(a,this)},submitFormManual:function(a,b){var c=b.classList;if((!c||c.contains("frm_pro_form"))&&!jQuery("body").hasClass("wp-admin")){a.preventDefault();
79
+ var d=frmFrontForm.validateFormSubmit(b);0===Object.keys(d).length&&(jQuery(b).find(".frm_ajax_loading").addClass("frm_loading_now"),c.contains("frm_ajax_submit")?1>jQuery(b).find('input[type="file"]').length?(C=jQuery(b).find('input[name="frm_action"]').val(),frmFrontForm.checkFormErrors(b,C)):b.submit():b.submit())}},validateFormSubmit:function(a){"undefined"!=typeof tinyMCE&&jQuery(this).find(".wp-editor-wrap").length&&tinyMCE.triggerSave();x=[];var b=jQuery(a).hasClass("frm_js_validate");b&&(Fa(a)||
80
+ Ga(a))&&(b=!1);b&&(frmFrontForm.getAjaxFormErrors(a),Object.keys(x).length&&frmFrontForm.addAjaxFormErrors(a));return x},getAjaxFormErrors:function(a){var b=[],c=jQuery(a).find(".frm_required_field:visible input, .frm_required_field:visible select, .frm_required_field:visible textarea").filter(":not(.frm_optional)");if(c.length)for(var d=0,e=c.length;d<e;d++)b=ga(c[d],b);c=jQuery(a).find("input[type=email]").filter(":visible");d=jQuery(a).find("input,select,textarea");if(d.length)for(var e=0,f=d.length;e<
81
+ f;e++){var h=d[e];""!==h.value&&"hidden"!=h.type&&("number"==h.type?b=ia(h,b):"email"==h.type?b=ha(h,b,c):null!==h.pattern&&(b=ja(h,b)))}c=jQuery(a).find(".frm-g-recaptcha");c.length&&(d=c.data("rid"),0===grecaptcha.getResponse(d).length&&(c=c.closest(".frm_form_field").attr("id").replace("frm_field_","").replace("_container",""),b[c]=""));x=b;if("function"==typeof frmThemeOverride_jsErrors&&(C=jQuery(a).find('input[name="frm_action"]').val(),a=frmThemeOverride_jsErrors(C,a),Object.keys(a).length))for(var g in a)x[g]=
82
+ a[g];return x},addAjaxFormErrors:function(a){Ha();for(var b in x){var c=jQuery(a).find("#frm_field_"+b+"_container");c.length?N(c,b,x):delete x[b]}Ia(a)},checkFormErrors:function(a,b){bb(a,b)},scrollToID:function(a){a=jQuery(document.getElementById(a));frmFrontForm.scrollMsg(a,!1)},scrollMsg:function(a,b,c){if(a=("undefined"==typeof b?jQuery(document.getElementById("frm_form_"+a+"_container")):"string"==typeof a?jQuery(b).find("#frm_field_"+a+"_container"):a).offset().top){a-=frm_js.offset;b=jQuery("html").css("margin-top");
83
+ var d=jQuery("body").css("margin-top");if(b||d)a=a-parseInt(b)-parseInt(d);if(a&&window.innerHeight&&(b=document.documentElement.scrollTop||document.body.scrollTop,a>b+window.innerHeight||a<b))return"undefined"===typeof c?jQuery(window).scrollTop(a):jQuery("html,body").animate({scrollTop:a},500),!1}},savingDraft:function(a){return Fa(a)},goingToPreviousPage:function(a){return Ga(a)},hideOrShowFields:function(a,b){if("pageLoad"===b){var c=document.querySelectorAll('[id^="frm_hide_fields_"]');Y(c)}for(var c=
84
+ {repeatingSection:"",repeatRow:""},d=0,e=a.length;d<e;d++)G(a[d],c)},hidePreviouslyHiddenFields:function(){var a;a=[];for(var b=document.querySelectorAll('*[id^="frm_hide_fields_"]'),c=b.length,d,e=0;e<c;e++)d=b[e].id.replace("frm_hide_fields_",""),a=a.concat(D(d));b=0;for(c=a.length;b<c;b++)d=document.getElementById(a[b]),null!==d&&(d.style.display="none")},checkDependentDynamicFields:function(a){for(var b={repeatingSection:"",repeatRow:""},c=0,d=a.length;c<d;c++)G(a[c],b)},checkDependentLookupFields:function(a){for(var b,
85
+ c={repeatingSection:"",repeatRow:""},d=0,e=a.length;d<e;d++)b=a[d],Z(b,c,"value changed")},loadGoogle:function(){if("undefined"!==typeof google&&google&&google.load)for(var a=__FRMTABLES,b=Object.keys(a),c=0;c<b.length;c++)for(var d=a[b[c]],e=b[c],f=0;f<d.length;f++)gb(d[f],e);else setTimeout(frmFrontForm.loadGoogle,30)},removeUsedTimes:function(a,b){var c=jQuery(a).parents("form:first").find('input[name="id"]');jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"json",data:{action:"frm_fields_ajax_time_options",
86
+ time_field:b,date_field:a.id,entry_id:c?c.val():"",date:jQuery(a).val(),nonce:frm_js.nonce},success:function(a){var c=jQuery(document.getElementById(b));c.find("option").removeAttr("disabled");if(a&&""!==a)for(var f in a)c.find('option[value="'+f+'"]').attr("disabled","disabled")}})},escapeHtml:function(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},invisible:function(a){jQuery(a).css("visibility","hidden")},visible:function(a){jQuery(a).css("visibility",
87
+ "visible")}}}var frmFrontForm=frmFrontFormJS();jQuery(document).ready(function(l){frmFrontForm.init()});function frmRecaptcha(){for(var l=jQuery(".frm-g-recaptcha"),n=0,p=l.length;n<p;n++){var r=grecaptcha.render(l[n].id,{sitekey:l[n].getAttribute("data-sitekey"),size:l[n].getAttribute("data-size"),theme:l[n].getAttribute("data-theme")});l[n].setAttribute("data-rid",r)}}
88
+ function frmUpdateField(l,n,p,r,v){jQuery(document.getElementById("frm_update_field_"+l+"_"+n)).html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_update_field_ajax",entry_id:l,field_id:n,value:p,nonce:frm_js.nonce},success:function(){""===r.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById("frm_update_field_"+l+"_"+n+"_"+v)).fadeOut("slow"):jQuery(document.getElementById("frm_update_field_"+l+"_"+n+"_"+v)).replaceWith(r)}})}
89
+ function frmEditEntry(l,n,p,r,v,z){console.warn("DEPRECATED: function frmEditEntry in v2.0.13 use frmFrontForm.editEntry");var y=jQuery(document.getElementById("frm_edit_"+l)),w=y.html(),A=jQuery(document.getElementById(n+l)),L=A.html();A.html('<span class="frm-loading-img" id="'+n+l+'"></span><div class="frm_orig_content" style="display:none">'+L+"</div>");jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"html",data:{action:"frm_entries_edit_entry_ajax",post_id:p,entry_id:l,id:r,nonce:frm_js.nonce},
90
+ success:function(q){A.children(".frm-loading-img").replaceWith(q);y.replaceWith('<span id="frm_edit_'+l+'"><a onclick="frmCancelEdit('+l+",'"+n+"','"+frmFrontForm.escapeHtml(w)+"',"+p+","+r+",'"+z+'\')" class="'+z+'">'+v+"</a></span>")}})}
91
+ function frmCancelEdit(l,n,p,r,v,z){console.warn("DEPRECATED: function frmCancelEdit in v2.0.13 use frmFrontForm.cancelEdit");var y=jQuery(document.getElementById("frm_edit_"+l)),w=y.find("a"),A=w.html();w.hasClass("frm_ajax_edited")||(w=jQuery(document.getElementById(n+l)),w.children(".frm_forms").replaceWith(""),w.children(".frm_orig_content").fadeIn("slow").removeClass("frm_orig_content"));y.replaceWith('<a id="frm_edit_'+l+'" class="frm_edit_link '+z+'" href="javascript:frmEditEntry('+l+",'"+
92
+ n+"',"+r+","+v+",'"+frmFrontForm.escapeHtml(A)+"','"+z+"')\">"+p+"</a>")}
93
  function frmDeleteEntry(l,n){console.warn("DEPRECATED: function frmDeleteEntry in v2.0.13 use frmFrontForm.deleteEntry");jQuery(document.getElementById("frm_delete_"+l)).replaceWith('<span class="frm-loading-img" id="frm_delete_'+l+'"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_destroy",entry:l,nonce:frm_js.nonce},success:function(p){"success"==p.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById(n+l)).fadeOut("slow"):jQuery(document.getElementById("frm_delete_"+
94
+ l)).replaceWith(p)}})}function frmOnSubmit(l){console.warn("DEPRECATED: function frmOnSubmit in v2.0 use frmFrontForm.submitForm");frmFrontForm.submitForm(l,this)}
95
  function frm_resend_email(l,n){console.warn("DEPRECATED: function frm_resend_email in v2.0");$link=jQuery(document.getElementById("frm_resend_email"));$link.append('<span class="spinner" style="display:inline"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_send_email",entry_id:l,form_id:n,nonce:frm_js.nonce},success:function(l){$link.replaceWith(l)}})};
languages/formidable-da_DK.po CHANGED
@@ -9012,7 +9012,7 @@ msgstr ""
9012
  #: pro/classes/views/frmpro-fields/front-end/file.php:68
9013
  #@ formidable
9014
  msgid "Choose File"
9015
- msgstr ""
9016
 
9017
  #: pro/classes/views/frmpro-form-actions/post_options.php:137
9018
  #@ formidable
9012
  #: pro/classes/views/frmpro-fields/front-end/file.php:68
9013
  #@ formidable
9014
  msgid "Choose File"
9015
+ msgstr "Vælg fil"
9016
 
9017
  #: pro/classes/views/frmpro-form-actions/post_options.php:137
9018
  #@ formidable
languages/formidable-de_DE.po CHANGED
@@ -3,48 +3,46 @@ msgstr ""
3
  "Project-Id-Version: Formidable v2.02\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2010-12-20\n"
6
- "PO-Revision-Date: 2016-06-02 17:09:33+0000\n"
7
  "Last-Translator: Peter Schönmann\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Generator: Poedit 1.6.7\n"
14
- "X-Poedit-Language: \n"
15
- "X-Poedit-Country: \n"
16
  "X-Poedit-SourceCharset: utf-8\n"
17
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
- "X-Poedit-Basepath: \n"
19
- "X-Poedit-Bookmarks: \n"
20
  "X-Poedit-SearchPath-0: .\n"
21
- "X-Textdomain-Support: yes"
22
 
 
23
  #: classes/controllers/FrmFormsController.php:6
24
  #: classes/controllers/FrmFormsController.php:544
25
  #: classes/controllers/FrmXMLController.php:59
26
  #: classes/models/FrmPointers.php:245
27
  #: classes/models/FrmSettings.php:79
28
  #: classes/views/frm-forms/list.php:4
29
- #@ formidable
30
  msgid "Forms"
31
  msgstr "Formulare"
32
 
 
33
  #: classes/helpers/FrmFormsListHelper.php:165
34
  #: classes/views/frm-forms/edit.php:2
35
  #: classes/views/frm-forms/list.php:4
36
- #@ formidable
37
  msgid "Templates"
38
  msgstr "Vorlagen"
39
 
 
40
  #: classes/controllers/FrmAppController.php:67
41
  #: classes/controllers/FrmAppController.php:87
42
  #: classes/helpers/FrmFormsListHelper.php:312
43
  #: classes/views/frm-forms/settings.php:2
44
- #@ formidable
45
  msgid "Settings"
46
  msgstr "Einstellungen"
47
 
 
48
  #: classes/controllers/FrmAppController.php:74
49
  #: classes/controllers/FrmEntriesController.php:8
50
  #: classes/controllers/FrmEntriesController.php:120
@@ -54,202 +52,202 @@ msgstr "Einstellungen"
54
  #: classes/views/frm-entries/list.php:2
55
  #: pro/classes/views/frmpro-fields/back-end/dynamic-field.php:14
56
  #: pro/classes/views/frmpro-statistics/show.php:66
57
- #@ formidable
58
  msgid "Entries"
59
  msgstr "Einträge"
60
 
 
61
  #: classes/controllers/FrmFormsController.php:1050
62
  #: classes/controllers/FrmFormsController.php:1055
63
  #: classes/controllers/FrmFormsController.php:1067
64
- #@ formidable
65
  msgid "Please select a valid form"
66
  msgstr "Bitte ein gültiges Formular wählen"
67
 
 
68
  #: classes/helpers/FrmFieldsHelper.php:1348
69
- #@ formidable
70
  msgid "Countries"
71
  msgstr "L&auml;nder"
72
 
 
73
  #: classes/helpers/FrmFieldsHelper.php:1357
74
- #@ formidable
75
  msgid "U.S. States"
76
  msgstr "U.S.-Bundesstaaten"
77
 
 
78
  #: classes/helpers/FrmFieldsHelper.php:1353
79
- #@ formidable
80
  msgid "U.S. State Abbreviations"
81
  msgstr "U.S. Staatenkürzel"
82
 
 
83
  #: classes/helpers/FrmFieldsHelper.php:1360
84
- #@ formidable
85
  msgid "Age"
86
  msgstr "Alter"
87
 
 
88
  #: classes/helpers/FrmFieldsHelper.php:1361
89
- #@ formidable
90
  msgid "Under 18"
91
  msgstr "Unter 18"
92
 
 
93
  #: classes/helpers/FrmFieldsHelper.php:1361
94
- #@ formidable
95
  msgid "18-24"
96
  msgstr "18-24"
97
 
 
98
  #: classes/helpers/FrmFieldsHelper.php:1361
99
- #@ formidable
100
  msgid "25-34"
101
  msgstr "25-34"
102
 
 
103
  #: classes/helpers/FrmFieldsHelper.php:1362
104
- #@ formidable
105
  msgid "35-44"
106
  msgstr "35-44"
107
 
 
108
  #: classes/helpers/FrmFieldsHelper.php:1362
109
- #@ formidable
110
  msgid "45-54"
111
  msgstr "45-54"
112
 
 
113
  #: classes/helpers/FrmFieldsHelper.php:1362
114
- #@ formidable
115
  msgid "55-64"
116
  msgstr "55-64"
117
 
 
118
  #: classes/helpers/FrmFieldsHelper.php:1363
119
- #@ formidable
120
  msgid "65 or Above"
121
  msgstr "65 oder &Auml;lter"
122
 
 
123
  #: classes/helpers/FrmFieldsHelper.php:1363
124
- #@ formidable
125
  msgid "Prefer Not to Answer"
126
  msgstr "Bevorzuge keine Antwort abzugeben"
127
 
 
128
  #: classes/helpers/FrmFieldsHelper.php:1366
129
- #@ formidable
130
  msgid "Satisfaction"
131
  msgstr "Zufriedenheit"
132
 
 
133
  #: classes/helpers/FrmFieldsHelper.php:1367
134
- #@ formidable
135
  msgid "Very Satisfied"
136
  msgstr "Sehr zufrieden"
137
 
 
138
  #: classes/helpers/FrmFieldsHelper.php:1367
139
- #@ formidable
140
  msgid "Satisfied"
141
  msgstr "Zufrieden"
142
 
 
143
  #: classes/helpers/FrmFieldsHelper.php:1367
144
  #: classes/helpers/FrmFieldsHelper.php:1372
145
  #: classes/helpers/FrmFieldsHelper.php:1377
146
- #@ formidable
147
  msgid "Neutral"
148
  msgstr "Neutral"
149
 
 
150
  #: classes/helpers/FrmFieldsHelper.php:1368
151
- #@ formidable
152
  msgid "Unsatisfied"
153
  msgstr "Unzufrieden"
154
 
 
155
  #: classes/helpers/FrmFieldsHelper.php:1368
156
- #@ formidable
157
  msgid "Very Unsatisfied"
158
  msgstr "Sehr unzufrieden"
159
 
 
160
  #: classes/helpers/FrmFieldsHelper.php:1368
161
  #: classes/helpers/FrmFieldsHelper.php:1373
162
  #: classes/helpers/FrmFieldsHelper.php:1378
163
  #: pro/classes/controllers/FrmProDisplaysController.php:190
164
- #@ formidable
165
  msgid "N/A"
166
  msgstr "Nicht verfügbar"
167
 
 
168
  #: classes/helpers/FrmFieldsHelper.php:1371
169
- #@ formidable
170
  msgid "Importance"
171
  msgstr "Bedeutung"
172
 
 
173
  #: classes/helpers/FrmFieldsHelper.php:1372
174
- #@ formidable
175
  msgid "Very Important"
176
  msgstr "Sehr wichtig"
177
 
 
178
  #: classes/helpers/FrmFieldsHelper.php:1372
179
- #@ formidable
180
  msgid "Important"
181
  msgstr "Wichtig"
182
 
 
183
  #: classes/helpers/FrmFieldsHelper.php:1373
184
- #@ formidable
185
  msgid "Somewhat Important"
186
  msgstr "Irgendwie wichtig"
187
 
 
188
  #: classes/helpers/FrmFieldsHelper.php:1373
189
- #@ formidable
190
  msgid "Not at all Important"
191
  msgstr "Überhaupt nicht wichtig"
192
 
 
193
  #: classes/helpers/FrmFieldsHelper.php:1376
194
- #@ formidable
195
  msgid "Agreement"
196
  msgstr "Zustimmung"
197
 
 
198
  #: classes/helpers/FrmFieldsHelper.php:1377
199
- #@ formidable
200
  msgid "Strongly Agree"
201
  msgstr "Stimme komplett zu"
202
 
 
203
  #: classes/helpers/FrmFieldsHelper.php:1377
204
- #@ formidable
205
  msgid "Agree"
206
  msgstr "Stimme zu"
207
 
 
208
  #: classes/helpers/FrmFieldsHelper.php:1378
209
- #@ formidable
210
  msgid "Disagree"
211
  msgstr "Stimme nicht zu"
212
 
 
213
  #: classes/helpers/FrmFieldsHelper.php:1378
214
- #@ formidable
215
  msgid "Strongly Disagree"
216
  msgstr "Stimme überhaupt nicht zu"
217
 
 
218
  #: classes/controllers/FrmFormsController.php:146
219
- #@ formidable
220
  msgid "Settings Successfully Updated"
221
  msgstr "Einstellungen wurden erfolgreich aktualisiert"
222
 
 
223
  #: classes/controllers/FrmFormsController.php:198
224
  #: classes/controllers/FrmFormsController.php:617
225
- #@ formidable
226
  msgid "Form was Successfully Updated"
227
  msgstr "Das Formular wurde erfolgreich upgedatet."
228
 
 
229
  #: classes/controllers/FrmFormsController.php:213
230
  #: classes/controllers/FrmFormsController.php:241
231
- #@ formidable
232
  msgid "Form template was Successfully Created"
233
  msgstr "Eine Formular Vorlage wurde erfolgreich erstellt."
234
 
 
235
  #: classes/controllers/FrmFormsController.php:241
236
- #@ formidable
237
  msgid "Form was Successfully Copied"
238
  msgstr "Das Formular wurde erfolgreich kopiert."
239
 
 
 
240
  #: pro/classes/views/frmpro-form-actions/_custom_field_row.php:4
241
  #: pro/classes/views/frmpro-form-actions/post_options.php:188
242
- #@ default
243
- #@ formidable
244
  msgid "Name"
245
  msgstr "Name"
246
 
 
247
  #: pro/classes/controllers/FrmProDisplaysController.php:136
248
  #: pro/classes/controllers/FrmProDisplaysController.php:286
249
- #@ default
250
  msgid "Description"
251
  msgstr "Beschreibung"
252
 
 
253
  #: classes/controllers/FrmFormsController.php:534
254
  #: classes/controllers/FrmFormsController.php:538
255
  #: classes/helpers/FrmCSVExportHelper.php:117
@@ -257,1320 +255,1317 @@ msgstr "Beschreibung"
257
  #: pro/classes/helpers/FrmProFieldsHelper.php:2961
258
  #: pro/classes/helpers/FrmProFieldsHelper.php:2977
259
  #: pro/classes/views/displays/mb_advanced.php:98
260
- #@ formidable
261
  msgid "Key"
262
  msgstr "Schlüssel"
263
 
 
264
  #: classes/controllers/FrmFormsController.php:539
265
  #: classes/views/frm-forms/_publish_box.php:47
266
  #: pro/classes/views/displays/submitbox_actions.php:2
267
- #@ formidable
268
  msgid "Shortcodes"
269
  msgstr "Shortcodes"
270
 
 
271
  #: classes/controllers/FrmFormsController.php:542
272
  #: classes/models/FrmField.php:37
273
  #: pro/classes/controllers/FrmProDisplaysController.php:141
274
- #@ formidable
275
  msgid "Date"
276
  msgstr "Datum"
277
 
 
278
  #: classes/controllers/FrmFormsController.php:619
279
- #@ formidable
280
  msgid "Template was Successfully Updated"
281
  msgstr "Vorlage wurde Erfolgreich Aktualisiert"
282
 
 
283
  #: classes/controllers/FrmFormsController.php:625
284
  #: classes/controllers/FrmFormsController.php:646
285
- #@ formidable
286
  msgid "That template cannot be edited"
287
  msgstr "Diese Vorlage ist nicht editierbar"
288
 
 
289
  #: classes/controllers/FrmSettingsController.php:59
290
  #: classes/controllers/FrmSettingsController.php:62
291
- #@ formidable
292
  msgid "Settings Saved"
293
  msgstr "Einstellungen gespeichert"
294
 
 
295
  #: pro/classes/controllers/FrmProAppController.php:30
296
  #: pro/classes/views/frmpro-statistics/select.php:2
297
  #: pro/classes/views/frmpro-statistics/show.php:2
298
- #@ formidable
299
  msgid "Reports"
300
  msgstr "Berichte"
301
 
 
302
  #: classes/helpers/FrmAppHelper.php:594
303
- #@ formidable
304
  msgid "View Forms and Templates"
305
  msgstr "Formulare und Vorlagen ansehen"
306
 
 
307
  #: classes/helpers/FrmAppHelper.php:595
308
- #@ formidable
309
  msgid "Add/Edit Forms and Templates"
310
  msgstr "Hinzufügen/Editieren von Formularen und Vorlagen"
311
 
 
312
  #: classes/helpers/FrmAppHelper.php:596
313
- #@ formidable
314
  msgid "Delete Forms and Templates"
315
  msgstr "Formulare und Vorlagen löschen"
316
 
 
317
  #: classes/helpers/FrmAppHelper.php:597
318
- #@ formidable
319
  msgid "Access this Settings Page"
320
  msgstr "Einstellungen öffnen"
321
 
 
322
  #: classes/helpers/FrmAppHelper.php:598
323
- #@ formidable
324
  msgid "View Entries from Admin Area"
325
  msgstr "Einträge vom Adminbereich aus einsehen"
326
 
 
327
  #: classes/helpers/FrmAppHelper.php:606
328
- #@ formidable
329
  msgid "Add Entries from Admin Area"
330
  msgstr "Hinzufügen von Einträgen aus dem Adminbereich"
331
 
 
332
  #: classes/helpers/FrmAppHelper.php:607
333
- #@ formidable
334
  msgid "Edit Entries from Admin Area"
335
  msgstr "Einträge vom Adminbereich aus editieren"
336
 
 
337
  #: classes/helpers/FrmAppHelper.php:599
338
- #@ formidable
339
  msgid "Delete Entries from Admin Area"
340
  msgstr "Einträge vom Adminbereich aus löschen"
341
 
 
342
  #: classes/helpers/FrmAppHelper.php:608
343
- #@ formidable
344
  msgid "View Reports"
345
  msgstr "Berichte einsehen"
346
 
 
347
  #: pro/classes/models/FrmProFileField.php:269
348
- #@ formidable
349
  msgid "is invalid"
350
  msgstr "ist ungültig"
351
 
 
352
  #: classes/helpers/FrmFieldsHelper.php:1271
353
- #@ formidable
354
  msgid "Afghanistan"
355
  msgstr "Afghanistan"
356
 
 
357
  #: classes/helpers/FrmFieldsHelper.php:1271
358
- #@ formidable
359
  msgid "Albania"
360
  msgstr "Albanien"
361
 
 
362
  #: classes/helpers/FrmFieldsHelper.php:1271
363
- #@ formidable
364
  msgid "Algeria"
365
  msgstr "Algerien"
366
 
 
367
  #: classes/helpers/FrmFieldsHelper.php:1272
368
- #@ formidable
369
  msgid "American Samoa"
370
  msgstr "Amerikanisch-Samoa"
371
 
 
372
  #: classes/helpers/FrmFieldsHelper.php:1272
373
- #@ formidable
374
  msgid "Andorra"
375
  msgstr "Andorra"
376
 
 
377
  #: classes/helpers/FrmFieldsHelper.php:1272
378
- #@ formidable
379
  msgid "Angola"
380
  msgstr "Angola"
381
 
 
382
  #: classes/helpers/FrmFieldsHelper.php:1273
383
- #@ formidable
384
  msgid "Anguilla"
385
  msgstr "Anguilla"
386
 
 
387
  #: classes/helpers/FrmFieldsHelper.php:1273
388
- #@ formidable
389
  msgid "Antarctica"
390
  msgstr "Antarktis"
391
 
 
392
  #: classes/helpers/FrmFieldsHelper.php:1273
393
- #@ formidable
394
  msgid "Antigua and Barbuda"
395
  msgstr "Antigua und Barbuda"
396
 
 
397
  #: classes/helpers/FrmFieldsHelper.php:1274
398
- #@ formidable
399
  msgid "Argentina"
400
  msgstr "Argentinien"
401
 
 
402
  #: classes/helpers/FrmFieldsHelper.php:1274
403
- #@ formidable
404
  msgid "Armenia"
405
  msgstr "Armenien"
406
 
 
407
  #: classes/helpers/FrmFieldsHelper.php:1274
408
- #@ formidable
409
  msgid "Aruba"
410
  msgstr "Aruba"
411
 
 
412
  #: classes/helpers/FrmFieldsHelper.php:1275
413
- #@ formidable
414
  msgid "Australia"
415
  msgstr "Australien"
416
 
 
417
  #: classes/helpers/FrmFieldsHelper.php:1275
418
- #@ formidable
419
  msgid "Austria"
420
  msgstr "&Ouml;sterreich"
421
 
 
422
  #: classes/helpers/FrmFieldsHelper.php:1275
423
- #@ formidable
424
  msgid "Azerbaijan"
425
  msgstr "Aserbaidschan"
426
 
 
427
  #: classes/helpers/FrmFieldsHelper.php:1276
428
- #@ formidable
429
  msgid "Bahamas"
430
  msgstr "Bahamas"
431
 
 
432
  #: classes/helpers/FrmFieldsHelper.php:1276
433
- #@ formidable
434
  msgid "Bahrain"
435
  msgstr "Bahrain"
436
 
 
437
  #: classes/helpers/FrmFieldsHelper.php:1276
438
- #@ formidable
439
  msgid "Bangladesh"
440
  msgstr "Bangladesh"
441
 
 
442
  #: classes/helpers/FrmFieldsHelper.php:1277
443
- #@ formidable
444
  msgid "Barbados"
445
  msgstr "Barbados"
446
 
 
447
  #: classes/helpers/FrmFieldsHelper.php:1277
448
- #@ formidable
449
  msgid "Belarus"
450
  msgstr "Wei&szlig;russland"
451
 
 
452
  #: classes/helpers/FrmFieldsHelper.php:1277
453
- #@ formidable
454
  msgid "Belgium"
455
  msgstr "Belgien"
456
 
 
457
  #: classes/helpers/FrmFieldsHelper.php:1278
458
- #@ formidable
459
  msgid "Belize"
460
  msgstr "Belize"
461
 
 
462
  #: classes/helpers/FrmFieldsHelper.php:1278
463
- #@ formidable
464
  msgid "Benin"
465
  msgstr "Benin"
466
 
 
467
  #: classes/helpers/FrmFieldsHelper.php:1278
468
- #@ formidable
469
  msgid "Bermuda"
470
  msgstr "Bermuda"
471
 
 
472
  #: classes/helpers/FrmFieldsHelper.php:1279
473
- #@ formidable
474
  msgid "Bhutan"
475
  msgstr "Bhutan"
476
 
 
477
  #: classes/helpers/FrmFieldsHelper.php:1279
478
- #@ formidable
479
  msgid "Bolivia"
480
  msgstr "Bolivien"
481
 
 
482
  #: classes/helpers/FrmFieldsHelper.php:1279
483
- #@ formidable
484
  msgid "Bosnia and Herzegovina"
485
  msgstr "Bosnien und Herzegowina"
486
 
 
487
  #: classes/helpers/FrmFieldsHelper.php:1280
488
- #@ formidable
489
  msgid "Botswana"
490
  msgstr "Botswana"
491
 
 
492
  #: classes/helpers/FrmFieldsHelper.php:1280
493
- #@ formidable
494
  msgid "Brazil"
495
  msgstr "Brasilien"
496
 
 
497
  #: classes/helpers/FrmFieldsHelper.php:1280
498
- #@ formidable
499
  msgid "Brunei"
500
  msgstr "Brunei"
501
 
 
502
  #: classes/helpers/FrmFieldsHelper.php:1281
503
- #@ formidable
504
  msgid "Bulgaria"
505
  msgstr "Bulgarien"
506
 
 
507
  #: classes/helpers/FrmFieldsHelper.php:1281
508
- #@ formidable
509
  msgid "Burkina Faso"
510
  msgstr "Burkina Faso"
511
 
 
512
  #: classes/helpers/FrmFieldsHelper.php:1281
513
- #@ formidable
514
  msgid "Burundi"
515
  msgstr "Burundi"
516
 
 
517
  #: classes/helpers/FrmFieldsHelper.php:1282
518
- #@ formidable
519
  msgid "Cambodia"
520
  msgstr "Kambodscha"
521
 
 
522
  #: classes/helpers/FrmFieldsHelper.php:1282
523
- #@ formidable
524
  msgid "Cameroon"
525
  msgstr "Kamerun"
526
 
 
527
  #: classes/helpers/FrmFieldsHelper.php:1282
528
- #@ formidable
529
  msgid "Canada"
530
  msgstr "Kanada"
531
 
 
532
  #: classes/helpers/FrmFieldsHelper.php:1283
533
- #@ formidable
534
  msgid "Cape Verde"
535
  msgstr "Kapverdische Inseln"
536
 
 
537
  #: classes/helpers/FrmFieldsHelper.php:1283
538
- #@ formidable
539
  msgid "Cayman Islands"
540
  msgstr "Cayman Inseln"
541
 
 
542
  #: classes/helpers/FrmFieldsHelper.php:1283
543
- #@ formidable
544
  msgid "Central African Republic"
545
  msgstr "Zentralafrikanische Republik"
546
 
 
547
  #: classes/helpers/FrmFieldsHelper.php:1284
548
- #@ formidable
549
  msgid "Chad"
550
  msgstr "Tschad"
551
 
 
552
  #: classes/helpers/FrmFieldsHelper.php:1284
553
- #@ formidable
554
  msgid "Chile"
555
  msgstr "Chile"
556
 
 
557
  #: classes/helpers/FrmFieldsHelper.php:1284
558
- #@ formidable
559
  msgid "China"
560
  msgstr "China"
561
 
 
562
  #: classes/helpers/FrmFieldsHelper.php:1285
563
- #@ formidable
564
  msgid "Colombia"
565
  msgstr "Kolumbien"
566
 
 
567
  #: classes/helpers/FrmFieldsHelper.php:1285
568
- #@ formidable
569
  msgid "Comoros"
570
  msgstr "Komoren"
571
 
 
572
  #: classes/helpers/FrmFieldsHelper.php:1285
573
- #@ formidable
574
  msgid "Congo"
575
  msgstr "Kongo"
576
 
 
577
  #: classes/helpers/FrmFieldsHelper.php:1286
578
- #@ formidable
579
  msgid "Costa Rica"
580
  msgstr "Costa Rica"
581
 
 
582
  #: classes/helpers/FrmFieldsHelper.php:1286
583
- #@ formidable
584
  msgid "C&ocirc;te d'Ivoire"
585
  msgstr "C&ocirc;te d'Ivoire"
586
 
 
587
  #: classes/helpers/FrmFieldsHelper.php:1286
588
- #@ formidable
589
  msgid "Croatia"
590
  msgstr "Kroatien"
591
 
 
592
  #: classes/helpers/FrmFieldsHelper.php:1287
593
- #@ formidable
594
  msgid "Cuba"
595
  msgstr "Kuba"
596
 
 
597
  #: classes/helpers/FrmFieldsHelper.php:1287
598
- #@ formidable
599
  msgid "Cyprus"
600
  msgstr "Zypern"
601
 
 
602
  #: classes/helpers/FrmFieldsHelper.php:1287
603
- #@ formidable
604
  msgid "Czech Republic"
605
  msgstr "Tschechische Republik"
606
 
 
607
  #: classes/helpers/FrmFieldsHelper.php:1288
608
- #@ formidable
609
  msgid "Denmark"
610
  msgstr "D&auml;nemark"
611
 
 
612
  #: classes/helpers/FrmFieldsHelper.php:1288
613
- #@ formidable
614
  msgid "Djibouti"
615
  msgstr "Djibouti"
616
 
 
617
  #: classes/helpers/FrmFieldsHelper.php:1288
618
- #@ formidable
619
  msgid "Dominica"
620
  msgstr "Dominica"
621
 
 
622
  #: classes/helpers/FrmFieldsHelper.php:1289
623
- #@ formidable
624
  msgid "Dominican Republic"
625
  msgstr "Dominikanische Republik"
626
 
 
627
  #: classes/helpers/FrmFieldsHelper.php:1289
628
- #@ formidable
629
  msgid "East Timor"
630
  msgstr "Osttimor"
631
 
 
632
  #: classes/helpers/FrmFieldsHelper.php:1289
633
- #@ formidable
634
  msgid "Ecuador"
635
  msgstr "Ecuador"
636
 
 
637
  #: classes/helpers/FrmFieldsHelper.php:1290
638
- #@ formidable
639
  msgid "Egypt"
640
  msgstr "&Auml;gypten"
641
 
 
642
  #: classes/helpers/FrmFieldsHelper.php:1290
643
- #@ formidable
644
  msgid "El Salvador"
645
  msgstr "El Salvador"
646
 
 
647
  #: classes/helpers/FrmFieldsHelper.php:1290
648
- #@ formidable
649
  msgid "Equatorial Guinea"
650
  msgstr "Äquatorialguinea"
651
 
 
652
  #: classes/helpers/FrmFieldsHelper.php:1291
653
- #@ formidable
654
  msgid "Eritrea"
655
  msgstr "Eritrea"
656
 
 
657
  #: classes/helpers/FrmFieldsHelper.php:1291
658
- #@ formidable
659
  msgid "Estonia"
660
  msgstr "Estland"
661
 
 
662
  #: classes/helpers/FrmFieldsHelper.php:1291
663
- #@ formidable
664
  msgid "Ethiopia"
665
  msgstr "Äthiopien"
666
 
 
667
  #: classes/helpers/FrmFieldsHelper.php:1292
668
- #@ formidable
669
  msgid "Fiji"
670
  msgstr "Fiji"
671
 
 
672
  #: classes/helpers/FrmFieldsHelper.php:1292
673
- #@ formidable
674
  msgid "Finland"
675
  msgstr "Finnland"
676
 
 
677
  #: classes/helpers/FrmFieldsHelper.php:1292
678
- #@ formidable
679
  msgid "France"
680
  msgstr "Frankreich"
681
 
 
682
  #: classes/helpers/FrmFieldsHelper.php:1293
683
- #@ formidable
684
  msgid "French Guiana"
685
  msgstr "Französisch-Guayana"
686
 
 
687
  #: classes/helpers/FrmFieldsHelper.php:1293
688
- #@ formidable
689
  msgid "French Polynesia"
690
  msgstr "Französisch-Polynesien"
691
 
 
692
  #: classes/helpers/FrmFieldsHelper.php:1293
693
- #@ formidable
694
  msgid "Gabon"
695
  msgstr "Gabun"
696
 
 
697
  #: classes/helpers/FrmFieldsHelper.php:1294
698
- #@ formidable
699
  msgid "Gambia"
700
  msgstr "Gambia"
701
 
 
702
  #: classes/helpers/FrmFieldsHelper.php:1294
703
- #@ formidable
704
  msgid "Georgia"
705
  msgstr "Georgien"
706
 
 
707
  #: classes/helpers/FrmFieldsHelper.php:1294
708
- #@ formidable
709
  msgid "Germany"
710
  msgstr "Deutschland"
711
 
 
712
  #: classes/helpers/FrmFieldsHelper.php:1295
713
- #@ formidable
714
  msgid "Ghana"
715
  msgstr "Ghana"
716
 
 
717
  #: classes/helpers/FrmFieldsHelper.php:1295
718
- #@ formidable
719
  msgid "Gibraltar"
720
  msgstr "Gibraltar"
721
 
 
722
  #: classes/helpers/FrmFieldsHelper.php:1295
723
- #@ formidable
724
  msgid "Greece"
725
  msgstr "Griechenland"
726
 
 
727
  #: classes/helpers/FrmFieldsHelper.php:1296
728
- #@ formidable
729
  msgid "Greenland"
730
  msgstr "Grünland"
731
 
 
732
  #: classes/helpers/FrmFieldsHelper.php:1296
733
- #@ formidable
734
  msgid "Grenada"
735
  msgstr "Grenada"
736
 
 
737
  #: classes/helpers/FrmFieldsHelper.php:1296
738
- #@ formidable
739
  msgid "Guam"
740
  msgstr "Guam"
741
 
 
742
  #: classes/helpers/FrmFieldsHelper.php:1297
743
- #@ formidable
744
  msgid "Guatemala"
745
  msgstr "Guatemala"
746
 
 
747
  #: classes/helpers/FrmFieldsHelper.php:1297
748
- #@ formidable
749
  msgid "Guinea"
750
  msgstr "Guinea"
751
 
 
752
  #: classes/helpers/FrmFieldsHelper.php:1297
753
- #@ formidable
754
  msgid "Guinea-Bissau"
755
  msgstr "Guinea-Bissau"
756
 
 
757
  #: classes/helpers/FrmFieldsHelper.php:1298
758
- #@ formidable
759
  msgid "Guyana"
760
  msgstr "Guyana"
761
 
 
762
  #: classes/helpers/FrmFieldsHelper.php:1298
763
- #@ formidable
764
  msgid "Haiti"
765
  msgstr "Haiti"
766
 
 
767
  #: classes/helpers/FrmFieldsHelper.php:1298
768
- #@ formidable
769
  msgid "Honduras"
770
  msgstr "Honduras"
771
 
 
772
  #: classes/helpers/FrmFieldsHelper.php:1299
773
- #@ formidable
774
  msgid "Hong Kong"
775
  msgstr "Hong Kong"
776
 
 
777
  #: classes/helpers/FrmFieldsHelper.php:1299
778
- #@ formidable
779
  msgid "Hungary"
780
  msgstr "Ungarn"
781
 
 
782
  #: classes/helpers/FrmFieldsHelper.php:1299
783
- #@ formidable
784
  msgid "Iceland"
785
  msgstr "Island"
786
 
 
787
  #: classes/helpers/FrmFieldsHelper.php:1300
788
- #@ formidable
789
  msgid "India"
790
  msgstr "Indien"
791
 
 
792
  #: classes/helpers/FrmFieldsHelper.php:1300
793
- #@ formidable
794
  msgid "Indonesia"
795
  msgstr "Indonesien"
796
 
 
797
  #: classes/helpers/FrmFieldsHelper.php:1300
798
- #@ formidable
799
  msgid "Iran"
800
  msgstr "Iran"
801
 
 
802
  #: classes/helpers/FrmFieldsHelper.php:1301
803
- #@ formidable
804
  msgid "Iraq"
805
  msgstr "Irak"
806
 
 
807
  #: classes/helpers/FrmFieldsHelper.php:1301
808
- #@ formidable
809
  msgid "Ireland"
810
  msgstr "Irland"
811
 
 
812
  #: classes/helpers/FrmFieldsHelper.php:1301
813
- #@ formidable
814
  msgid "Israel"
815
  msgstr "Israel"
816
 
 
817
  #: classes/helpers/FrmFieldsHelper.php:1302
818
- #@ formidable
819
  msgid "Italy"
820
  msgstr "Italien"
821
 
 
822
  #: classes/helpers/FrmFieldsHelper.php:1302
823
- #@ formidable
824
  msgid "Jamaica"
825
  msgstr "Jamaika"
826
 
 
827
  #: classes/helpers/FrmFieldsHelper.php:1302
828
- #@ formidable
829
  msgid "Japan"
830
  msgstr "Japan"
831
 
 
832
  #: classes/helpers/FrmFieldsHelper.php:1303
833
- #@ formidable
834
  msgid "Jordan"
835
  msgstr "Jordanien"
836
 
 
837
  #: classes/helpers/FrmFieldsHelper.php:1303
838
- #@ formidable
839
  msgid "Kazakhstan"
840
  msgstr "Kasachstan"
841
 
 
842
  #: classes/helpers/FrmFieldsHelper.php:1303
843
- #@ formidable
844
  msgid "Kenya"
845
  msgstr "Kenia"
846
 
 
847
  #: classes/helpers/FrmFieldsHelper.php:1304
848
- #@ formidable
849
  msgid "Kiribati"
850
  msgstr "Kiribati"
851
 
 
852
  #: classes/helpers/FrmFieldsHelper.php:1304
853
- #@ formidable
854
  msgid "North Korea"
855
  msgstr "Nordkorea"
856
 
 
857
  #: classes/helpers/FrmFieldsHelper.php:1304
858
- #@ formidable
859
  msgid "South Korea"
860
  msgstr "Südkorea"
861
 
 
862
  #: classes/helpers/FrmFieldsHelper.php:1305
863
- #@ formidable
864
  msgid "Kuwait"
865
  msgstr "Kuwait"
866
 
 
867
  #: classes/helpers/FrmFieldsHelper.php:1305
868
- #@ formidable
869
  msgid "Kyrgyzstan"
870
  msgstr "Kirgistan"
871
 
 
872
  #: classes/helpers/FrmFieldsHelper.php:1305
873
- #@ formidable
874
  msgid "Laos"
875
  msgstr "Laos"
876
 
 
877
  #: classes/helpers/FrmFieldsHelper.php:1306
878
- #@ formidable
879
  msgid "Latvia"
880
  msgstr "Lettland"
881
 
 
882
  #: classes/helpers/FrmFieldsHelper.php:1306
883
- #@ formidable
884
  msgid "Lebanon"
885
  msgstr "Libanon"
886
 
 
887
  #: classes/helpers/FrmFieldsHelper.php:1306
888
- #@ formidable
889
  msgid "Lesotho"
890
  msgstr "Lesotho"
891
 
 
892
  #: classes/helpers/FrmFieldsHelper.php:1307
893
- #@ formidable
894
  msgid "Liberia"
895
  msgstr "Liberia"
896
 
 
897
  #: classes/helpers/FrmFieldsHelper.php:1307
898
- #@ formidable
899
  msgid "Libya"
900
  msgstr "Libyen"
901
 
 
902
  #: classes/helpers/FrmFieldsHelper.php:1307
903
- #@ formidable
904
  msgid "Liechtenstein"
905
  msgstr "Liechtenstein"
906
 
 
907
  #: classes/helpers/FrmFieldsHelper.php:1308
908
- #@ formidable
909
  msgid "Lithuania"
910
  msgstr "Litauen"
911
 
 
912
  #: classes/helpers/FrmFieldsHelper.php:1308
913
- #@ formidable
914
  msgid "Luxembourg"
915
  msgstr "Luxemburg"
916
 
 
917
  #: classes/helpers/FrmFieldsHelper.php:1308
918
- #@ formidable
919
  msgid "Macedonia"
920
  msgstr "Mazedonien"
921
 
 
922
  #: classes/helpers/FrmFieldsHelper.php:1309
923
- #@ formidable
924
  msgid "Madagascar"
925
  msgstr "Madagascar"
926
 
 
927
  #: classes/helpers/FrmFieldsHelper.php:1309
928
- #@ formidable
929
  msgid "Malawi"
930
  msgstr "Malawi"
931
 
 
932
  #: classes/helpers/FrmFieldsHelper.php:1309
933
- #@ formidable
934
  msgid "Malaysia"
935
  msgstr "Malaysia"
936
 
 
937
  #: classes/helpers/FrmFieldsHelper.php:1310
938
- #@ formidable
939
  msgid "Maldives"
940
  msgstr "Malediven"
941
 
 
942
  #: classes/helpers/FrmFieldsHelper.php:1310
943
- #@ formidable
944
  msgid "Mali"
945
  msgstr "Mali"
946
 
 
947
  #: classes/helpers/FrmFieldsHelper.php:1310
948
- #@ formidable
949
  msgid "Malta"
950
  msgstr "Malta"
951
 
 
952
  #: classes/helpers/FrmFieldsHelper.php:1311
953
- #@ formidable
954
  msgid "Marshall Islands"
955
  msgstr "Marshall Inseln"
956
 
 
957
  #: classes/helpers/FrmFieldsHelper.php:1311
958
- #@ formidable
959
  msgid "Mauritania"
960
  msgstr "Mauretanien"
961
 
 
962
  #: classes/helpers/FrmFieldsHelper.php:1311
963
- #@ formidable
964
  msgid "Mauritius"
965
  msgstr "Mauritius"
966
 
 
967
  #: classes/helpers/FrmFieldsHelper.php:1312
968
- #@ formidable
969
  msgid "Mexico"
970
  msgstr "Mexiko"
971
 
 
972
  #: classes/helpers/FrmFieldsHelper.php:1312
973
- #@ formidable
974
  msgid "Micronesia"
975
  msgstr "Mikronesien"
976
 
 
977
  #: classes/helpers/FrmFieldsHelper.php:1312
978
- #@ formidable
979
  msgid "Moldova"
980
  msgstr "Moldawien"
981
 
 
982
  #: classes/helpers/FrmFieldsHelper.php:1313
983
- #@ formidable
984
  msgid "Monaco"
985
  msgstr "Monaco"
986
 
 
987
  #: classes/helpers/FrmFieldsHelper.php:1313
988
- #@ formidable
989
  msgid "Mongolia"
990
  msgstr "Mongolei"
991
 
 
992
  #: classes/helpers/FrmFieldsHelper.php:1313
993
- #@ formidable
994
  msgid "Montenegro"
995
  msgstr "Montenegro"
996
 
 
997
  #: classes/helpers/FrmFieldsHelper.php:1314
998
- #@ formidable
999
  msgid "Montserrat"
1000
  msgstr "Montserrat"
1001
 
 
1002
  #: classes/helpers/FrmFieldsHelper.php:1314
1003
- #@ formidable
1004
  msgid "Morocco"
1005
  msgstr "Marokko"
1006
 
 
1007
  #: classes/helpers/FrmFieldsHelper.php:1314
1008
- #@ formidable
1009
  msgid "Mozambique"
1010
  msgstr "Mosambik "
1011
 
 
1012
  #: classes/helpers/FrmFieldsHelper.php:1315
1013
- #@ formidable
1014
  msgid "Myanmar"
1015
  msgstr "Myanmar"
1016
 
 
1017
  #: classes/helpers/FrmFieldsHelper.php:1315
1018
- #@ formidable
1019
  msgid "Namibia"
1020
  msgstr "Namibia"
1021
 
 
1022
  #: classes/helpers/FrmFieldsHelper.php:1315
1023
- #@ formidable
1024
  msgid "Nauru"
1025
  msgstr "Nauru"
1026
 
 
1027
  #: classes/helpers/FrmFieldsHelper.php:1316
1028
- #@ formidable
1029
  msgid "Nepal"
1030
  msgstr "Nepal"
1031
 
 
1032
  #: classes/helpers/FrmFieldsHelper.php:1316
1033
- #@ formidable
1034
  msgid "Netherlands"
1035
  msgstr "Niederlande"
1036
 
 
1037
  #: classes/helpers/FrmFieldsHelper.php:1316
1038
- #@ formidable
1039
  msgid "New Zealand"
1040
  msgstr "Neuseeland"
1041
 
 
1042
  #: classes/helpers/FrmFieldsHelper.php:1317
1043
- #@ formidable
1044
  msgid "Nicaragua"
1045
  msgstr "Nikaragua"
1046
 
 
1047
  #: classes/helpers/FrmFieldsHelper.php:1317
1048
- #@ formidable
1049
  msgid "Niger"
1050
  msgstr "Niger"
1051
 
 
1052
  #: classes/helpers/FrmFieldsHelper.php:1317
1053
- #@ formidable
1054
  msgid "Nigeria"
1055
  msgstr "Nigeria"
1056
 
 
1057
  #: classes/helpers/FrmFieldsHelper.php:1318
1058
- #@ formidable
1059
  msgid "Norway"
1060
  msgstr "Norwegen"
1061
 
 
1062
  #: classes/helpers/FrmFieldsHelper.php:1318
1063
- #@ formidable
1064
  msgid "Northern Mariana Islands"
1065
  msgstr "Nördliche Marianen Inseln"
1066
 
 
1067
  #: classes/helpers/FrmFieldsHelper.php:1318
1068
- #@ formidable
1069
  msgid "Oman"
1070
  msgstr "Oman"
1071
 
 
1072
  #: classes/helpers/FrmFieldsHelper.php:1319
1073
- #@ formidable
1074
  msgid "Pakistan"
1075
  msgstr "Pakistan"
1076
 
 
1077
  #: classes/helpers/FrmFieldsHelper.php:1319
1078
- #@ formidable
1079
  msgid "Palau"
1080
  msgstr "Palau"
1081
 
 
1082
  #: classes/helpers/FrmFieldsHelper.php:1319
1083
- #@ formidable
1084
  msgid "Palestine"
1085
  msgstr "Palästina"
1086
 
 
1087
  #: classes/helpers/FrmFieldsHelper.php:1320
1088
- #@ formidable
1089
  msgid "Panama"
1090
  msgstr "Panama"
1091
 
 
1092
  #: classes/helpers/FrmFieldsHelper.php:1320
1093
- #@ formidable
1094
  msgid "Papua New Guinea"
1095
  msgstr "Papua-Neuguinea"
1096
 
 
1097
  #: classes/helpers/FrmFieldsHelper.php:1320
1098
- #@ formidable
1099
  msgid "Paraguay"
1100
  msgstr "Paraguay"
1101
 
 
1102
  #: classes/helpers/FrmFieldsHelper.php:1321
1103
- #@ formidable
1104
  msgid "Peru"
1105
  msgstr "Peru"
1106
 
 
1107
  #: classes/helpers/FrmFieldsHelper.php:1321
1108
- #@ formidable
1109
  msgid "Philippines"
1110
  msgstr "Philippinen"
1111
 
 
1112
  #: classes/helpers/FrmFieldsHelper.php:1321
1113
- #@ formidable
1114
  msgid "Poland"
1115
  msgstr "Polen"
1116
 
 
1117
  #: classes/helpers/FrmFieldsHelper.php:1322
1118
- #@ formidable
1119
  msgid "Portugal"
1120
  msgstr "Portugal"
1121
 
 
1122
  #: classes/helpers/FrmFieldsHelper.php:1322
1123
- #@ formidable
1124
  msgid "Puerto Rico"
1125
  msgstr "Puerto Rico"
1126
 
 
1127
  #: classes/helpers/FrmFieldsHelper.php:1322
1128
- #@ formidable
1129
  msgid "Qatar"
1130
  msgstr "Katar"
1131
 
 
1132
  #: classes/helpers/FrmFieldsHelper.php:1323
1133
- #@ formidable
1134
  msgid "Romania"
1135
  msgstr "Romänien"
1136
 
 
1137
  #: classes/helpers/FrmFieldsHelper.php:1323
1138
- #@ formidable
1139
  msgid "Russia"
1140
  msgstr "Russland"
1141
 
 
1142
  #: classes/helpers/FrmFieldsHelper.php:1323
1143
- #@ formidable
1144
  msgid "Rwanda"
1145
  msgstr "Ruanda"
1146
 
 
1147
  #: classes/helpers/FrmFieldsHelper.php:1324
1148
- #@ formidable
1149
  msgid "Saint Kitts and Nevis"
1150
  msgstr "St. Kitts und Nevis"
1151
 
 
1152
  #: classes/helpers/FrmFieldsHelper.php:1324
1153
- #@ formidable
1154
  msgid "Saint Lucia"
1155
  msgstr "St. Lucia"
1156
 
 
1157
  #: classes/helpers/FrmFieldsHelper.php:1325
1158
- #@ formidable
1159
  msgid "Saint Vincent and the Grenadines"
1160
  msgstr "St. Vincent und die Grenadinen"
1161
 
 
1162
  #: classes/helpers/FrmFieldsHelper.php:1325
1163
- #@ formidable
1164
  msgid "Samoa"
1165
  msgstr "Samoa"
1166
 
 
1167
  #: classes/helpers/FrmFieldsHelper.php:1326
1168
- #@ formidable
1169
  msgid "San Marino"
1170
  msgstr "San Marino"
1171
 
 
1172
  #: classes/helpers/FrmFieldsHelper.php:1326
1173
- #@ formidable
1174
  msgid "Sao Tome and Principe"
1175
  msgstr "São Tomé und Príncipe"
1176
 
 
1177
  #: classes/helpers/FrmFieldsHelper.php:1326
1178
- #@ formidable
1179
  msgid "Saudi Arabia"
1180
  msgstr "Saudi Arabien"
1181
 
 
1182
  #: classes/helpers/FrmFieldsHelper.php:1327
1183
- #@ formidable
1184
  msgid "Senegal"
1185
  msgstr "Senegal"
1186
 
 
1187
  #: classes/helpers/FrmFieldsHelper.php:1327
1188
- #@ formidable
1189
  msgid "Serbia and Montenegro"
1190
  msgstr "Serbien und Montenegro"
1191
 
 
1192
  #: classes/helpers/FrmFieldsHelper.php:1327
1193
- #@ formidable
1194
  msgid "Seychelles"
1195
  msgstr "Seychellen"
1196
 
 
1197
  #: classes/helpers/FrmFieldsHelper.php:1328
1198
- #@ formidable
1199
  msgid "Sierra Leone"
1200
  msgstr "Sierra Leone"
1201
 
 
1202
  #: classes/helpers/FrmFieldsHelper.php:1328
1203
- #@ formidable
1204
  msgid "Singapore"
1205
  msgstr "Singapur"
1206
 
 
1207
  #: classes/helpers/FrmFieldsHelper.php:1328
1208
- #@ formidable
1209
  msgid "Slovakia"
1210
  msgstr "Slowakei"
1211
 
 
1212
  #: classes/helpers/FrmFieldsHelper.php:1329
1213
- #@ formidable
1214
  msgid "Slovenia"
1215
  msgstr "Slovenien"
1216
 
 
1217
  #: classes/helpers/FrmFieldsHelper.php:1329
1218
- #@ formidable
1219
  msgid "Solomon Islands"
1220
  msgstr "Salomoninseln"
1221
 
 
1222
  #: classes/helpers/FrmFieldsHelper.php:1329
1223
- #@ formidable
1224
  msgid "Somalia"
1225
  msgstr "Somalia"
1226
 
 
1227
  #: classes/helpers/FrmFieldsHelper.php:1330
1228
- #@ formidable
1229
  msgid "South Africa"
1230
  msgstr "Südafrika"
1231
 
 
1232
  #: classes/helpers/FrmFieldsHelper.php:1331
1233
- #@ formidable
1234
  msgid "Spain"
1235
  msgstr "Spanien"
1236
 
 
1237
  #: classes/helpers/FrmFieldsHelper.php:1331
1238
- #@ formidable
1239