Formidable Forms – Form Builder for WordPress - Version 2.0.24

Version Description

  • Add option to use the dark reCaptcha
  • Show a helpful error message when recaptcha communication fails
  • Fix the clear on focus setting to not switch to the default blank
  • Pro Features: *
  • Validate recaptcha during the javascript validation checks
  • Make sure required credit card fields are required
  • Add option to removes names from credit card fields to prevent the values from being posted to the server (most secure)
  • Don't require address fields when conditionally hidden
  • Exclude linked dynamic fields from calculation fields dropdown since they aren't functional
  • Improve third-party shortcode filtering in Views
  • Ignore View filters with no value selected for where field
  • Fix the file upload background color setting
  • Include a flag on the field to indicate if it is inside a section or not
Download this release

Release Info

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

Code changes from version 2.0.23 to 2.0.24

classes/controllers/FrmFieldsController.php CHANGED
@@ -49,14 +49,17 @@ class FrmFieldsController {
49
  wp_die();
50
  }
51
 
 
 
 
52
  public static function create() {
53
  FrmAppHelper::permission_check('frm_edit_forms');
54
  check_ajax_referer( 'frm_ajax', 'nonce' );
55
 
56
- $field_type = FrmAppHelper::get_post_param( 'field', '', 'sanitize_text_field' );
57
  $form_id = FrmAppHelper::get_post_param( 'form_id', 0, 'absint' );
58
 
59
- $field = self::include_new_field($field_type, $form_id);
60
 
61
  // this hook will allow for multiple fields to be added at once
62
  do_action('frm_after_field_created', $field, $form_id);
@@ -65,7 +68,11 @@ class FrmFieldsController {
65
  }
66
 
67
  /**
 
 
 
68
  * @param integer $form_id
 
69
  */
70
  public static function include_new_field( $field_type, $form_id ) {
71
  $values = array();
@@ -73,7 +80,9 @@ class FrmFieldsController {
73
  $values['post_type'] = FrmProFormsHelper::post_type($form_id);
74
  }
75
 
76
- $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars($field_type, $form_id));
 
 
77
  $field_id = FrmField::create( $field_values );
78
 
79
  if ( ! $field_id ) {
@@ -85,23 +94,6 @@ class FrmFieldsController {
85
  return $field;
86
  }
87
 
88
- public static function update_form_id() {
89
- FrmAppHelper::permission_check('frm_edit_forms');
90
- check_ajax_referer( 'frm_ajax', 'nonce' );
91
-
92
- $field_id = FrmAppHelper::get_post_param( 'field', 0, 'absint' );
93
- $form_id = FrmAppHelper::get_post_param( 'form_id', 0, 'absint' );
94
-
95
- if ( ! $field_id || ! $form_id ) {
96
- wp_die();
97
- }
98
-
99
- $updated = FrmField::update( $field_id, compact( 'form_id' ) );
100
- echo absint( $updated );
101
-
102
- wp_die();
103
- }
104
-
105
  public static function edit_name( $field = 'name', $id = '' ) {
106
  FrmAppHelper::permission_check('frm_edit_forms');
107
  check_ajax_referer( 'frm_ajax', 'nonce' );
49
  wp_die();
50
  }
51
 
52
+ /**
53
+ * Create a new field with ajax
54
+ */
55
  public static function create() {
56
  FrmAppHelper::permission_check('frm_edit_forms');
57
  check_ajax_referer( 'frm_ajax', 'nonce' );
58
 
59
+ $field_type = FrmAppHelper::get_post_param( 'field_type', '', 'sanitize_text_field' );
60
  $form_id = FrmAppHelper::get_post_param( 'form_id', 0, 'absint' );
61
 
62
+ $field = self::include_new_field( $field_type, $form_id );
63
 
64
  // this hook will allow for multiple fields to be added at once
65
  do_action('frm_after_field_created', $field, $form_id);
68
  }
69
 
70
  /**
71
+ * Set up and create a new field
72
+ *
73
+ * @param string $field_type
74
  * @param integer $form_id
75
+ * @return array|bool
76
  */
77
  public static function include_new_field( $field_type, $form_id ) {
78
  $values = array();
80
  $values['post_type'] = FrmProFormsHelper::post_type($form_id);
81
  }
82
 
83
+ $field_values = FrmFieldsHelper::setup_new_vars( $field_type, $form_id );
84
+ $field_values = apply_filters( 'frm_before_field_created', $field_values );
85
+
86
  $field_id = FrmField::create( $field_values );
87
 
88
  if ( ! $field_id ) {
94
  return $field;
95
  }
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  public static function edit_name( $field = 'name', $id = '' ) {
98
  FrmAppHelper::permission_check('frm_edit_forms');
99
  check_ajax_referer( 'frm_ajax', 'nonce' );
classes/controllers/FrmHooksController.php CHANGED
@@ -148,7 +148,6 @@ class FrmHooksController {
148
  // Fields Controller
149
  add_action( 'wp_ajax_frm_load_field', 'FrmFieldsController::load_field' );
150
  add_action( 'wp_ajax_frm_insert_field', 'FrmFieldsController::create' );
151
- add_action( 'wp_ajax_frm_update_field_form_id', 'FrmFieldsController::update_form_id' );
152
  add_action( 'wp_ajax_frm_field_name_in_place_edit', 'FrmFieldsController::edit_name' );
153
  add_action( 'wp_ajax_frm_update_ajax_option', 'FrmFieldsController::update_ajax_option' );
154
  add_action( 'wp_ajax_frm_duplicate_field', 'FrmFieldsController::duplicate' );
148
  // Fields Controller
149
  add_action( 'wp_ajax_frm_load_field', 'FrmFieldsController::load_field' );
150
  add_action( 'wp_ajax_frm_insert_field', 'FrmFieldsController::create' );
 
151
  add_action( 'wp_ajax_frm_field_name_in_place_edit', 'FrmFieldsController::edit_name' );
152
  add_action( 'wp_ajax_frm_update_ajax_option', 'FrmFieldsController::update_ajax_option' );
153
  add_action( 'wp_ajax_frm_duplicate_field', 'FrmFieldsController::duplicate' );
classes/helpers/FrmAppHelper.php CHANGED
@@ -10,7 +10,7 @@ class FrmAppHelper {
10
  /**
11
  * @since 2.0
12
  */
13
- public static $plug_version = '2.0.23';
14
 
15
  /**
16
  * @since 1.07.02
@@ -1772,6 +1772,7 @@ class FrmAppHelper {
1772
  'no_save_warning' => __( 'Warning: There is no way to retrieve unsaved entries.', 'formidable' ),
1773
  'private' => __( 'Private' ),
1774
  'jquery_ui_url' => self::jquery_ui_base_url(),
 
1775
  ) );
1776
  }
1777
  }
10
  /**
11
  * @since 2.0
12
  */
13
+ public static $plug_version = '2.0.24';
14
 
15
  /**
16
  * @since 1.07.02
1772
  'no_save_warning' => __( 'Warning: There is no way to retrieve unsaved entries.', 'formidable' ),
1773
  'private' => __( 'Private' ),
1774
  'jquery_ui_url' => self::jquery_ui_base_url(),
1775
+ 'no_licenses' => __( 'No new licenses were found', 'formidable' ),
1776
  ) );
1777
  }
1778
  }
classes/helpers/FrmFieldsHelper.php CHANGED
@@ -122,7 +122,7 @@ class FrmFieldsHelper {
122
  'size' => '', 'max' => '', 'label' => '', 'blank' => '',
123
  'required_indicator' => '*', 'invalid' => '', 'separate_value' => 0,
124
  'clear_on_focus' => 0, 'default_blank' => 0, 'classes' => '',
125
- 'custom_html' => '', 'captcha_size' => 'default',
126
  );
127
 
128
  if ( $limit ) {
@@ -491,7 +491,7 @@ DEFAULT_HTML;
491
  wp_enqueue_script('recaptcha-api');
492
 
493
  ?>
494
- <div id="field_<?php echo esc_attr( $field['field_key'] ) ?>" class="frm-g-recaptcha" data-sitekey="<?php echo esc_attr( $frm_settings->pubkey ) ?>" data-size="<?php echo esc_attr( $field['captcha_size'] ) ?>"></div>
495
  <?php
496
  }
497
 
@@ -1172,7 +1172,7 @@ DEFAULT_HTML;
1172
  }
1173
 
1174
  self::show_onfocus_js( $field['clear_on_focus'] );
1175
- echo '<input type="hidden" name="field_options[clear_on_focus_' . esc_attr( $field['id'] ) . ']" value="' . esc_attr( $field['default_blank'] ) . '" />';
1176
 
1177
  echo '</span>';
1178
  }
122
  'size' => '', 'max' => '', 'label' => '', 'blank' => '',
123
  'required_indicator' => '*', 'invalid' => '', 'separate_value' => 0,
124
  'clear_on_focus' => 0, 'default_blank' => 0, 'classes' => '',
125
+ 'custom_html' => '', 'captcha_size' => 'default', 'captcha_theme' => 'light',
126
  );
127
 
128
  if ( $limit ) {
491
  wp_enqueue_script('recaptcha-api');
492
 
493
  ?>
494
+ <div id="field_<?php echo esc_attr( $field['field_key'] ) ?>" class="frm-g-recaptcha" data-sitekey="<?php echo esc_attr( $frm_settings->pubkey ) ?>" data-size="<?php echo esc_attr( $field['captcha_size'] ) ?>" data-theme="<?php echo esc_attr( $field['captcha_theme'] ) ?>"></div>
495
  <?php
496
  }
497
 
1172
  }
1173
 
1174
  self::show_onfocus_js( $field['clear_on_focus'] );
1175
+ echo '<input type="hidden" name="field_options[clear_on_focus_' . esc_attr( $field['id'] ) . ']" value="' . esc_attr( $field['clear_on_focus'] ) . '" />';
1176
 
1177
  echo '</span>';
1178
  }
classes/models/FrmEntryValidate.php CHANGED
@@ -232,6 +232,10 @@ class FrmEntryValidate {
232
  if ( isset( $response['success'] ) && ! $response['success'] ) {
233
  // What happens when the CAPTCHA was entered incorrectly
234
  $errors[ 'field' . $args['id'] ] = ( ! isset( $field->field_options['invalid'] ) || $field->field_options['invalid'] == '' ) ? $frm_settings->re_msg : $field->field_options['invalid'];
 
 
 
 
235
  }
236
  }
237
 
232
  if ( isset( $response['success'] ) && ! $response['success'] ) {
233
  // What happens when the CAPTCHA was entered incorrectly
234
  $errors[ 'field' . $args['id'] ] = ( ! isset( $field->field_options['invalid'] ) || $field->field_options['invalid'] == '' ) ? $frm_settings->re_msg : $field->field_options['invalid'];
235
+ } else if ( is_wp_error( $resp ) ) {
236
+ $error_string = $resp->get_error_message();
237
+ $errors[ 'field' . $args['id'] ] = __( 'There was a problem verifying your recaptcha', 'formidable' );
238
+ $errors[ 'field' . $args['id'] ] .= ' ' . $error_string;
239
  }
240
  }
241
 
classes/models/FrmForm.php CHANGED
@@ -246,18 +246,13 @@ class FrmForm {
246
  }
247
 
248
  //updating the form
249
- $update_options = array(
250
- 'size', 'max', 'label', 'invalid', 'blank',
251
- 'classes', 'captcha_size', 'default_blank',
252
- 'clear_on_focus',
253
- );
254
  $update_options = apply_filters( 'frm_field_options_to_update', $update_options );
255
- foreach ( $update_options as $opt ) {
256
- $field->field_options[ $opt ] = isset( $values['field_options'][ $opt . '_' . $field_id ] ) ? trim( $values['field_options'][ $opt . '_' . $field_id ] ) : '';
257
- }
258
 
259
- $field->field_options['required_indicator'] = isset( $values['field_options'][ 'required_indicator_' . $field_id ] ) ? trim( $values['field_options'][ 'required_indicator_' . $field_id ] ) : '*';
260
- $field->field_options['separate_value'] = isset( $values['field_options'][ 'separate_value_' . $field_id ] ) ? trim( $values['field_options'][ 'separate_value_' . $field_id ] ) : 0;
 
261
 
262
  $field->field_options = apply_filters('frm_update_field_options', $field->field_options, $field, $values);
263
  $default_value = maybe_serialize( $values['item_meta'][ $field_id ] );
246
  }
247
 
248
  //updating the form
249
+ $update_options = FrmFieldsHelper::get_default_field_opts( $field->type, $field, true );
250
+ unset( $update_options['custom_html'] ); // don't check for POST html
 
 
 
251
  $update_options = apply_filters( 'frm_field_options_to_update', $update_options );
 
 
 
252
 
253
+ foreach ( $update_options as $opt => $default ) {
254
+ $field->field_options[ $opt ] = isset( $values['field_options'][ $opt . '_' . $field_id ] ) ? trim( sanitize_text_field( $values['field_options'][ $opt . '_' . $field_id ] ) ) : $default;
255
+ }
256
 
257
  $field->field_options = apply_filters('frm_update_field_options', $field->field_options, $field, $values);
258
  $default_value = maybe_serialize( $values['item_meta'][ $field_id ] );
classes/views/frm-forms/add_field.php CHANGED
@@ -257,6 +257,17 @@ if ( $display['options'] ) { ?>
257
  </select>
258
  </td>
259
  </tr>
 
 
 
 
 
 
 
 
 
 
 
260
  <?php
261
  } ?>
262
  <?php
257
  </select>
258
  </td>
259
  </tr>
260
+ <tr>
261
+ <td>
262
+ <label for="captcha_theme_<?php echo esc_attr( $field['field_key'] ) ?>"><?php _e( 'reCAPTCHA Color', 'formidable' ) ?></label>
263
+ </td>
264
+ <td>
265
+ <select name="field_options[captcha_theme_<?php echo esc_attr( $field['id'] ) ?>]" id="captcha_theme_<?php echo esc_attr( $field['field_key'] ) ?>">
266
+ <option value="light" <?php selected( $field['captcha_theme'], 'light' ); ?>><?php _e( 'Light', 'formidable' ) ?></option>
267
+ <option value="dark" <?php selected( $field['captcha_theme'], 'dark' ); ?>><?php _e( 'Dark', 'formidable' ) ?></option>
268
+ </select>
269
+ </td>
270
+ </tr>
271
  <?php
272
  } ?>
273
  <?php
css/_single_theme.css.php CHANGED
@@ -360,7 +360,7 @@ if ( ! isset( $center_form ) ) {
360
 
361
  .<?php echo esc_html( $style_class ) ?> input[type=file]::-webkit-file-upload-button{
362
  color:#<?php echo esc_html( $text_color . $important ) ?>;
363
- background-color:<?php echo esc_html( ( empty( $bg_color ) ? 'transparent' : '# ' . $bg_color ) . $important ); ?>;
364
  padding:<?php echo esc_html( $field_pad . $important ) ?>;
365
  border-radius:<?php echo esc_html( $border_radius . $important ) ?>;
366
  border-color:#<?php echo esc_html( $border_color . $important ) ?>;
360
 
361
  .<?php echo esc_html( $style_class ) ?> input[type=file]::-webkit-file-upload-button{
362
  color:#<?php echo esc_html( $text_color . $important ) ?>;
363
+ background-color:<?php echo esc_html( ( empty( $bg_color ) ? 'transparent' : '#' . $bg_color ) . $important ); ?>;
364
  padding:<?php echo esc_html( $field_pad . $important ) ?>;
365
  border-radius:<?php echo esc_html( $border_radius . $important ) ?>;
366
  border-color:#<?php echo esc_html( $border_color . $important ) ?>;
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.0.23
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.0.24
6
  Plugin URI: http://formidablepro.com/
7
  Author URI: http://strategy11.com
8
  Author: Strategy11
js/formidable.js CHANGED
@@ -146,6 +146,15 @@ function frmFrontFormJS(){
146
  }
147
 
148
  if ( fieldName === '' ) {
 
 
 
 
 
 
 
 
 
149
  return 0;
150
  }
151
 
@@ -1538,7 +1547,6 @@ function frmFrontFormJS(){
1538
  ).filter(':not(.frm_optional)');
1539
  if ( requiredFields.length ) {
1540
  for ( var r = 0, rl = requiredFields.length; r < rl; r++ ) {
1541
- // this won't work with radio/checkbox
1542
  errors = checkRequiredField( requiredFields[r], errors );
1543
  }
1544
  }
@@ -1563,6 +1571,8 @@ function frmFrontFormJS(){
1563
  }
1564
  }
1565
 
 
 
1566
  return errors;
1567
  }
1568
 
@@ -1719,6 +1729,21 @@ function frmFrontFormJS(){
1719
  return errors;
1720
  }
1721
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1722
  function getFieldValidationMessage( field, messageType ) {
1723
  var msg = field.getAttribute(messageType);
1724
  if ( msg === null ) {
@@ -1812,7 +1837,7 @@ function frmFrontFormJS(){
1812
  var $recapcha = jQuery(object).find('#frm_field_'+key+'_container .frm-g-recaptcha');
1813
  if ( $recapcha.length ) {
1814
  show_captcha = true;
1815
- grecaptcha.reset();
1816
  }
1817
  }
1818
  }else if(key == 'redirect'){
@@ -2809,6 +2834,14 @@ function frmFrontFormJS(){
2809
  }
2810
  },
2811
 
 
 
 
 
 
 
 
 
2812
  hideCondFields: function(ids){
2813
  ids = JSON.parse(ids);
2814
  var len = ids.length;
@@ -2898,7 +2931,11 @@ jQuery(document).ready(function($){
2898
  function frmRecaptcha() {
2899
  var captchas = jQuery('.frm-g-recaptcha');
2900
  for ( var c = 0, cl = captchas.length; c < cl; c++ ) {
2901
- grecaptcha.render( captchas[c].id, {'sitekey' : captchas[c].getAttribute('data-sitekey')} );
 
 
 
 
2902
  }
2903
  }
2904
 
146
  }
147
 
148
  if ( fieldName === '' ) {
149
+ if ( field instanceof jQuery ) {
150
+ fieldName = field.data('name');
151
+ } else {
152
+ fieldName = field.getAttribute('data-name');
153
+ }
154
+
155
+ if ( fieldName !== '' && fieldName ) {
156
+ return fieldName;
157
+ }
158
  return 0;
159
  }
160
 
1547
  ).filter(':not(.frm_optional)');
1548
  if ( requiredFields.length ) {
1549
  for ( var r = 0, rl = requiredFields.length; r < rl; r++ ) {
 
1550
  errors = checkRequiredField( requiredFields[r], errors );
1551
  }
1552
  }
1571
  }
1572
  }
1573
 
1574
+ errors = validateRecaptcha( object, errors );
1575
+
1576
  return errors;
1577
  }
1578
 
1729
  return errors;
1730
  }
1731
 
1732
+ function validateRecaptcha( form, errors ) {
1733
+ var $recaptcha = jQuery(form).find('.frm-g-recaptcha');
1734
+ if ( $recaptcha.length ) {
1735
+ var recaptchaID = $recaptcha.data('rid');
1736
+ var response = grecaptcha.getResponse( recaptchaID );
1737
+
1738
+ if ( response.length === 0 ) {
1739
+ var fieldContainer = $recaptcha.closest('.frm_form_field');
1740
+ var fieldID = fieldContainer.attr('id').replace('frm_field_', '').replace('_container', '');
1741
+ errors[ fieldID ] = '';
1742
+ }
1743
+ }
1744
+ return errors;
1745
+ }
1746
+
1747
  function getFieldValidationMessage( field, messageType ) {
1748
  var msg = field.getAttribute(messageType);
1749
  if ( msg === null ) {
1837
  var $recapcha = jQuery(object).find('#frm_field_'+key+'_container .frm-g-recaptcha');
1838
  if ( $recapcha.length ) {
1839
  show_captcha = true;
1840
+ grecaptcha.reset( $recapcha.data('rid') );
1841
  }
1842
  }
1843
  }else if(key == 'redirect'){
2834
  }
2835
  },
2836
 
2837
+ savingDraft: function(object){
2838
+ return savingDraftEntry(object);
2839
+ },
2840
+
2841
+ goingToPreviousPage: function(object){
2842
+ return goingToPrevPage(object);
2843
+ },
2844
+
2845
  hideCondFields: function(ids){
2846
  ids = JSON.parse(ids);
2847
  var len = ids.length;
2931
  function frmRecaptcha() {
2932
  var captchas = jQuery('.frm-g-recaptcha');
2933
  for ( var c = 0, cl = captchas.length; c < cl; c++ ) {
2934
+ var recaptchaID = grecaptcha.render( captchas[c].id, {
2935
+ 'sitekey': captchas[c].getAttribute('data-sitekey'),
2936
+ 'theme': captchas[c].getAttribute('data-theme')
2937
+ } );
2938
+ captchas[c].setAttribute('data-rid', recaptchaID);
2939
  }
2940
  }
2941
 
js/formidable.min.js CHANGED
@@ -1,82 +1,83 @@
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 p(){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 u(){this.className=this.className.replace("frm_transparent","");this.parentNode.getElementsByTagName("a")[0].className.indexOf("frm_clear_file_link")}function w(){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,
3
- 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")&&(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("")):
4
  "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 z(a){var b=t(this);if(b&&"undefined"!==typeof b){var c="reset";if(a.frmTriggered){if(a.frmTriggered==b)return;c="persist"}r(b,null,jQuery(this),c);K(b,jQuery(this));a=[];b=jQuery(this).closest(".frm_form_field");b.hasClass(".frm_required_field")&&!jQuery(this).hasClass(".frm_optional")&&
5
- (a=T(this,a));1>a.length&&("email"==this.type?(c=jQuery(this).closest("form").find("input[type=email]"),a=U(this,a,c)):"number"==this.type?a=V(this,a):null!==this.pattern&&(a=W(this,a)));b.removeClass("frm_blank_field");b.find(".frm_error").remove();if(0<Object.keys(a).length)for(var d in a)L(b,d,a)}}function t(a,b){var c="",c=a instanceof jQuery?a.attr("name"):a.name;if(""===c)return 0;c=c.replace("item_meta[","").replace("[]","").split("]");if(1>c.length)return 0;var c=c.filter(function(a){return""!==
6
- a}),d=c[0],e=!1;if(1===c.length||"[form"==c[1]||"[id"==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 r(a,b,c,d){var e;if("undefined"===typeof __FRMRULES||"undefined"===typeof __FRMRULES[a])e=void 0;else{e=__FRMRULES[a];for(var f=[],h=0,g=e.length;h<
7
- g;h++){var k=e[h];if("undefined"!==typeof k)for(var m=0,n=k.Conditions.length;m<n;m++){var l=k.Conditions[m];l.HideField=k.Setting.FieldName;l.MatchType=k.MatchType;l.Show=k.Show;l.FormId=k.FormId;f.push(l)}}e=f}if("undefined"!==typeof e){if("undefined"===typeof b||null===b)b="go";"persist"!==d&&(q=[]);f=c;d=!1;""===B&&"undefined"!==typeof f&&null!==f&&(1<f.length&&(f=f.eq(0)),f=f.closest(".frm_repeat_sec, .frm_repeat_inline, .frm_repeat_grid"),"undefined"!==typeof f&&"undefined"!==typeof f.attr("id")&&
8
- (B=f.attr("id"),d=!0));f={};h=0;for(g=e.length;h<g;h++)if(m=k=e[h].HideField,n=f,n[m]=m in n?n[m]+1:0,e[h].FieldName===a?v(f[k],e[h],b,c):v(f[k],e[h],b),h===g-1){a:for(m in k=b,m=n=void 0,D){n=D[m];delete D[m];if("undefined"===typeof n)break a;var l=jQuery("#"+n.hideContainerID),p=n.show;if("any"===n.match&&-1===jQuery.inArray(!0,q[n.hideContainerID])||"all"===n.match&&-1<jQuery.inArray(!1,q[n.hideContainerID]))p="show"===n.show?"hide":"show";if("show"===p){if(X(l,n),l=k,0<n.DynamicInfoIndices.length)for(var u=
9
- p=void 0,t=0;t<n.DynamicInfoIndices.length;t++)p=n.DynamicInfoIndices[t],u=q[n.hideContainerID][p].f.FieldName,Y(q[n.hideContainerID][p],u,l)}else Z(l,n)}d&&(B="")}}}function v(a,b,c,d){b.inputName="item_meta["+b.FieldName+"]";b.hiddenName="item_meta["+b.HideField+"]";b.containerID="frm_field_"+b.FieldName+"_container";b.hideContainerID="frm_field_"+b.HideField+"_container";b.Value=b.Value.trim();if(""!==B)d=B,M(b.FieldName)&&(b.inputName=N(b.FieldName,d),b.containerID=aa(b.FieldName,d)),b.hideContainerID=
10
- aa(b.HideField,d),d=x(b),A(b),H(a,b,d),I(a,b,c);else{if("undefined"===typeof d||null===d)if(d=jQuery('input[name^="'+b.inputName+'"], textarea[name^="'+b.inputName+'"], select[name^="'+b.inputName+'"]'),1>d.length){d=document.getElementsByClassName("frm_field_"+b.FieldName+"_container");for(var e=0;e<d.length;e++){b.inputName=N(b.FieldName,d[e].id);b.containerID=d[e].id;b.hideContainerID=d[e].id.replace(b.FieldName,b.HideField);var f=x(b);A(b);H(a,b,f);I(a,b,c)}return}d=x(b);if(M(b.HideField))for(e=
11
- document.getElementsByClassName("frm_field_"+b.HideField+"_container"),f=0;f<e.length;f++)b.hideContainerID=e[f].id,A(b),H(a,b,d),I(a,b,c);else A(b),H(a,b,d),I(a,b,c)}}function x(a){var b="";if("checkbox"===a.Type||"data-checkbox"===a.Type)return a=qa(a.containerID,a.inputName),b=a.length?a:"";b=jQuery('input[name="'+a.inputName+'"][type="hidden"]').val();"undefined"===typeof b&&(b="radio"==a.Type||"data-radio"===a.Type?jQuery('input[name="'+a.inputName+'"]:checked').val():"select"===a.Type||"data-select"===
12
- a.Type?jQuery('select[name^="'+a.inputName+'"]').val():jQuery('input[name="'+a.inputName+'"], textarea[name="'+a.inputName+'"]').val());"undefined"===typeof b&&(b="");"string"===typeof b&&(b=b.trim());return b}function A(a){"undefined"===typeof q[a.hideContainerID]&&(q[a.hideContainerID]=[])}function H(a,b,c){q[b.hideContainerID][a]=null===c||""===c||1>c.length?!1:{funcName:"getDataOpts",f:b,sel:c};if("checkbox"===b.Type||"data-checkbox"===b.Type&&"undefined"===typeof b.LinkedField){var d=q[b.hideContainerID][a]=
13
- !1;if(""!==c){"!="===b.Condition&&(q[b.hideContainerID][a]=!0);for(var e=0;e<c.length;e++)d=C(b.Condition,b.Value,c[e]),"!="===b.Condition?!0===q[b.hideContainerID][a]&&!1===d&&(q[b.hideContainerID][a]=!1):!1===q[b.hideContainerID][a]&&d&&(q[b.hideContainerID][a]=!0)}else d=C(b.Condition,b.Value,""),!1===q[b.hideContainerID][a]&&d&&(q[b.hideContainerID][a]=!0)}else if("undefined"!==typeof b.LinkedField&&0===b.Type.indexOf("data-")){if("undefined"===typeof b.DataType||"data"===b.DataType)""===c?ba(b,
14
- "hide"):"data-radio"===b.Type?q[b.hideContainerID][a]="undefined"===typeof b.DataType?C(b.Condition,b.Value,c):{funcName:"getData",f:b,sel:c}:(!(d="data-checkbox"===b.Type)&&(d="data-select"===b.Type)&&(d=jQuery.isArray(c)&&(1<c.length||""!==c[0])),d?(ba(b,"show"),q[b.hideContainerID][a]=!0,ca(b,c,0)):"data-select"===b.Type&&(q[b.hideContainerID][a]={funcName:"getData",f:b,sel:c}))}else"undefined"===typeof b.Value&&0===b.Type.indexOf("data")?(b.Value=""===c?"1":c,q[b.hideContainerID][a]=C(b.Condition,
15
- b.Value,c),b.Value=void 0):q[b.hideContainerID][a]=C(b.Condition,b.Value,c)}function I(a,b,c){if("all"===b.MatchType||!1===q[b.hideContainerID][a])b.hideContainerID in D||(D[b.hideContainerID]={show:b.Show,match:b.MatchType,FieldName:b.FieldName,HideField:b.HideField,hideContainerID:b.hideContainerID,FormId:b.FormId,DynamicInfoIndices:[]}),b=b.hideContainerID,c=!1,!1!==q[b][a]&&!0!==q[b][a]&&(c=a),!1!==c&&D[b].DynamicInfoIndices.push(c);else{var d=jQuery(document.getElementById(b.hideContainerID));
16
- "show"===b.Show?!0!==q[b.hideContainerID][a]?Y(q[b.hideContainerID][a],b.FieldName,c):X(d,b):Z(d,b)}}function Z(a,b){if(a.length){a.hide();var c=da(a);c.length&&ea(c)}else c=fa(b.HideField,b.hideContainerID),c=jQuery('input[name^="'+c+'"]'),ea(c);ga(b.hideContainerID,b.FormId)}function ea(a){a.prop("checked",!1).prop("selectedIndex",0);a.not(":checkbox, :radio, select").val("");var b=!1;a.each(function(){"SELECT"==this.tagName&&null!==document.getElementById(this.id+"_chosen")&&jQuery(this).trigger("chosen:updated");
17
- (!1===b||0>["checkbox","radio"].indexOf(this.type))&&E(jQuery(this));b=!0})}function ga(a,b){var c=O(b);-1<c.indexOf(a)||(c.push(a),F["form_"+b]=c,c=JSON.stringify(c),document.getElementById("frm_hide_fields_"+b).value=c)}function O(a){var b=[];"undefined"!==typeof F["form_"+a]?b=F["form_"+a]:(b=(b=document.getElementById("frm_hide_fields_"+a).value)?JSON.parse(b):[],F["form_"+a]=b);return b}function ba(a,b){if(-1===O(a.FormId).indexOf(a.hideContainerID)){var c=jQuery(document.getElementById(a.hideContainerID));
18
- "hide"===b&&(c.hide(),ga(a.hideContainerID,a.FormId));c.find(".frm_opt_container").empty()}}function X(a,b){var c=!1;if(a.hasClass("frm_section_heading")||a.hasClass("frm_embed_form_container"))c=!0;var c={inSection:c,formId:b.FormId},d=b.hideContainerID,e=b.FormId,f=O(e),d=f.indexOf(d);-1<d&&(f.splice(d,1),F["form_"+e]=f,f=JSON.stringify(f),document.getElementById("frm_hide_fields_"+e).value=f);a.length?(e=da(a),ha(e,c),a.show()):(e=fa(b.HideField,b.hideContainerID),e=jQuery('input[name^="'+e+'"]'),
19
- ha(e,c))}function ha(a,b){if(a.length){b.valSet=!1;b.isHidden=!1;for(var c=0;c<a.length;c++){var d=a,e=c,f=b,h=!1;if(0===e||d[e-1].name!=d[e].name){var g;if(g=f.inSection)a:{var k=d[e];g=f;var m=!1;if("undefined"!==typeof k.name){m=void 0;k=k.name.replace(/\]/g,"").split("[");if(4>k.length){if(3==k.length&&"form"==k[2]){g=!0;break a}m="frm_field_"+k[1]+"_container"}else{if(0==k[3]){g=!0;break a}m="frm_field_"+k[3]+"-"+k[1]+"-"+k[2]+"_container"}var k=m,m=!1,n=void 0;"undefined"!==typeof g.hiddenFields?
20
- n=g.hiddenFields:(n=document.getElementById("frm_hide_fields_"+g.formId).value,g.hiddenFields=n);n&&(n=JSON.parse(n),-1<n.indexOf(k)&&(m=!0))}else m=!0;g=m}if(g)f.isHidden=!0,f.valSet=!1;else{f.isHidden=!1;g=f;e=d[e];d=!1;if("checkbox"==e.type||"radio"==e.type)for(e=document.getElementsByName(e.name),k=e.length,m=0;m<k;m++){if(e[m].checked){d=!0;break}}else e.value&&(d=!0);g.valSet=d}}if(f.valSet||f.isHidden)h=!0;if(!0!==h){f=jQuery(a[c]);if(d=f.length)for(h=0;h<d;h++)if(e=jQuery(f[h]),g=e.data("frmval"),
21
- "undefined"!==typeof g)if(!e.is(":checkbox, :radio"))e.val(g),E(e);else if(e.val()==g||jQuery.isArray(g)&&-1!==jQuery.inArray(e.val(),g))e.prop("checked",!0),E(e);f=a[c];if(h="undefined"!==typeof __FRMCALC){h=f.type;d=!1;if("text"==h||"hidden"==h||"number"==h)d=!0;h=d}if(h){h=__FRMCALC;d=f.name;e=f.id.replace("field_","");if(P(d))for(d=e.split("-"),e="",g=0;g<d.length-1;g++)e=""===e?d[g]:e+"-"+d[g];d=e;e=null;P(f.name)&&(e="hidden"!=f.type?jQuery(f).closest(".frm_form_field"):jQuery(f));f=e;void 0!==
22
- h.calc[d]&&ia(h,d,[],f)}}}}}function E(a,b){"undefined"===typeof b&&(b="dependent");1<a.length&&(a=a.eq(0));a.trigger({type:"change",selfTriggered:!0,frmTriggered:b})}function C(a,b,c){"undefined"===typeof c&&(c="");jQuery.isArray(c)&&-1<jQuery.inArray(b,c)&&(c=b);-1!==String(b).search(/^\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*$/)&&(b=parseFloat(b),c=parseFloat(c));return"-1"!=String(b).indexOf("&quot;")&&C(a,b.replace("&quot;",'"'),c)?!0:{"==":function(a,b){return a==b},"!=":function(a,b){return a!=
23
- b},"<":function(a,b){return a>b},">":function(a,b){return a<b},LIKE:function(a,b){if(!b)return!1;b=ja(b);a=ka(a);return-1!=b.indexOf(a)},"not LIKE":function(a,b){if(!b)return!0;b=ja(b);a=ka(a);return-1==b.indexOf(a)}}[a](b,c)}function ja(a){"string"===typeof a?a=a.toLowerCase():"number"===typeof a&&(a=a.toString());return a}function ka(a){"string"===typeof a&&(a=a.toLowerCase());return a}function Y(a,b,c){"getDataOpts"==a.funcName?ra(a.f,a.sel,b,c):"getData"==a.funcName&&ca(a.f,a.sel,0)}function ca(a,
24
- b,c){var d=document.getElementById(a.hideContainerID),e=jQuery(d).find(".frm_opt_container");if(0===e.length)return!0;c||e.html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_fields_ajax_get_data",entry_id:b,field_id:a.LinkedField,current_field:a.HideField,hide_id:a.hideContainerID,nonce:frm_js.nonce},success:function(a){c?e.append(a):e.html(a);var b=e.children("input"),g=b.val();d.style.display=""===a&&!c||""===g?"none":"";E(b);return!0}})}
25
- function ra(a,b,c,d){if(!("stop"==d&&-1<jQuery.inArray(a.HideField,Q)&&a.parentField&&"hidden"==a.parentField.attr("type"))){var e=jQuery("#"+a.hideContainerID).find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]'),f=sa(e),h=e.data("frmval");if("select"!=a.DataType||"stop"!=d&&!jQuery("#"+a.hideContainerID+" .frm-loading-img").length||!(-1<jQuery.inArray(a.HideField,Q))){Q.push(a.HideField);var g=document.getElementById(a.hideContainerID);if(null!==g){var k=jQuery(g).find(".frm_opt_container");
26
- if(0===k.length&&e.length)return r(a.HideField,"stop",e),!1;if(""!==a.Value&&!C(a.Condition,a.Value,b))return g.style.display="none",k.html(""),r(a.HideField,"stop",e),!1;k.html('<span class="frm-loading-img" style="visibility:visible;display:inline;"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_fields_ajax_data_options",trigger_field_id:c,entry_id:b,linked_field_id:a.LinkedField,field_id:a.HideField,default_value:h,container_id:a.hideContainerID,prev_val:f,nonce:frm_js.nonce},
27
- success:function(b){k.html(b);var c=k.find("select, input, textarea");""===b||1==c.length&&"hidden"==c.attr("type")?g.style.display="none":"all"!=a.MatchType&&(g.style.display="");c.hasClass("frm_chzn")&&jQuery().chosen&&jQuery(".frm_chzn").chosen({allow_single_deselect:!0});E(c)}})}}}}function sa(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 K(a,b){if("undefined"!==
28
- 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;var k=c.calc[d[f]],m=b.attr("name");g=k.field_id;var n=k.form_id;if(k=document.getElementById("frm_hide_fields_"+n).value){var k=JSON.parse(k),l=g;P(m)&&(m=m.replace("item_meta","").replace(/\[/g,"").split("]"),l=g+"-"+m[0]+"-"+m[1]);-1<k.indexOf("frm_field_"+l+"_container")?g=!0:(m=void 0,g=(m=n=(n=document.getElementById("frm_helpers_"+n).value)?JSON.parse(n):[])&&null!==
29
- m[g]&&-1<k.indexOf("frm_field_"+m[g]+"_container")?!0:!1)}else g=!1;g||ia(c,d[f],e,b)}}}function P(a){var b=!1;4<=a.split("[").length&&(b=!0);return b}function ia(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=ta(a.fieldsWithCalc,b),h=la(g));f=ua(e,f,a,c,g);a=e.calc_dec;f.indexOf(").toFixed(")&&(c=f.split(").toFixed("),ma(c[1])&&
30
- (a=c[1],f=f.replace(").toFixed("+a,"")));f=parseFloat(eval(f));"undefined"===typeof f&&(f=0);ma(a)&&(f=f.toFixed(a));h.val()!=f&&(h.val(f),E(h,b))}function ua(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?g.thisFieldCall=g.thisFieldCall+":checked,select"+
31
- 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]);d=va(g,c,d);if("undefined"===typeof d[g.valKey]||isNaN(d[g.valKey]))d[g.valKey]=0;k="["+g.thisFieldId+"]";k=k.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1");b=b.replace(new RegExp(k,"g"),d[g.valKey])}return b}
32
- function va(a,b,c){if("undefined"!==typeof c[a.valKey]&&0!==c[a.valKey])return c;c[a.valKey]=0;var d;if(!1===a.inSection)d=jQuery(a.thisFieldCall);else if(d=la(a),null===d||"undefined"===typeof d)d=jQuery(a.thisFieldCall);if(null===d||"undefined"===typeof d||1>d.length)return c;d.each(function(){var d,f=a.thisField;d=!1;if("hidden"==this.type)""!==R(this)&&(d=!0);else if("select"==f.type){var h=this.className;h&&-1<h.indexOf("frm_other_trigger")&&(d=!0)}else("checkbox"==f.type||"radio"==f.type)&&
33
- -1<this.id.indexOf("-other_")&&0>this.id.indexOf("-otext")&&(d=!0);d?(d=0,"select"==f.type?"hidden"==this.type?(f=!1,2<this.name.split("[").length&&(f=!0),f||(d=R(this))):d=jQuery(this).closest(".frm_other_container").find(".frm_other_input").val():"checkbox"!=f.type&&"radio"!=f.type||"hidden"==this.type||(d=R(this)),f=d):f="checkbox"!==this.type&&"radio"!==this.type||!this.checked?jQuery(this).val():this.value;"undefined"===typeof f&&(f="");d=f;if("date"==a.thisField.type){f=b.date;h=0;if(d)if("undefined"===
34
- typeof jQuery.datepicker){h="-";-1<f.indexOf("/")&&(h="/");f=f.split(h);d=d.split(h);var 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&&
35
- 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 la(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 R(a){var b="";a=document.getElementById(a.id+"-otext");null!==a&&""!==a.value&&(b=a.value);return b}function T(a,b){if("hidden"==
36
- a.type)return b;var c="",d="";if("checkbox"==a.type||"radio"==a.type){var e=jQuery('input[name="'+a.name+'"]').closest(".frm_required_field").find("input:checked");jQuery(e).each(function(){c=this.value})}else if("file"==a.type)d=jQuery(a).data("fid"),"undefined"===typeof d&&(d=t(a,!0),d=d.replace("file","")),"undefined"===typeof b[d]&&(c=wa(d));else{d=a.className;if(-1!==d.indexOf("frm_pos_none"))return b;c=jQuery(a).val();if("string"!==typeof c)for(var e=c,c="",f=0;f<e.length;f++)""!==e[f]&&(c=
37
- e[f]);d=-1===d.indexOf("frm_other_input")?t(a,!0):t(a,!1)}""===c&&(""===d&&(d=t(a,!0)),d in b||(b[d]=G(a,"data-reqmsg")));return b}function wa(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 U(a,b,c){var d=a.value,e=t(a,!0);if(e in b)return b;var f=0===e.indexOf("conf_");if(""!==d||f){var h=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i,g=G(a,"data-invmsg");
38
- ""!==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]=g,b[e.replace("conf_","")]=""))}return b}function V(a,b){var c=a.value;""!==c&&!1!==isNaN(c/1)&&(c=t(a,!0),c in b||(b[c]=G(a,"data-invmsg")));return b}function W(a,b){var c=a.value,d=G(a,"pattern");if(""!==d&&""!==c){var e=t(a,!0);e in b||(d=new RegExp("^"+d+"$","i"),!1===d.test(c)&&(b[e]=G(a,"data-invmsg")))}return b}function G(a,b){var c=a.getAttribute(b);
39
- null===c&&(c="");return c}function xa(a,b){jQuery(a).find('input[type="submit"], input[type="button"]').attr("disabled","disabled");jQuery(a).find(".frm_ajax_loading").addClass("frm_loading_now");"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){b=b.replace(/^\s+|\s+$/g,"");0===b.indexOf("{")&&(b=jQuery.parseJSON(b));if(""===b||!b||"0"===
40
- b||"object"!=typeof b&&0===b.indexOf("<!DOCTYPE")){var d=document.getElementById("frm_loading");null!==d&&(b=jQuery(a).find("input[type=file]").val(),"undefined"!=typeof b&&""!==b&&setTimeout(function(){jQuery(d).fadeIn("slow")},2E3));b=jQuery(a).find(".frm-g-recaptcha");b.length&&(1>jQuery(a).find(".frm_next_page").length||1>jQuery(a).find(".frm_next_page").val())&&b.closest(".frm_form_field").replaceWith('<input type="hidden" name="recaptcha_checked" value="'+frm_js.nonce+'">');a.submit()}else if("object"!=
41
- typeof b){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);frmFrontForm.scrollMsg(e);if("function"==typeof frmThemeOverride_frmAfterSubmit){var e=jQuery('input[name="frm_page_order_'+e+'"]').val(),f=jQuery(b).find('input[name="form_id"]').val();frmThemeOverride_frmAfterSubmit(f,e,b,a)}b=jQuery(a).find('input[name="id"]');b.length&&jQuery(document.getElementById("frm_edit_"+
42
- b.val())).find("a").addClass("frm_ajax_edited").click()}else{jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");jQuery(a).find(".frm_ajax_loading").removeClass("frm_loading_now");e=!0;jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");var f=!1,h=null,g;for(g in b)if(h=jQuery(a).find("#frm_field_"+g+"_container"),h.length){if(!h.is(":visible")){var k=h.closest(".frm_toggle_container");k.length&&(k=k.prev(),k.hasClass("frm_trigger")||
43
- (k=k.prev(".frm_trigger")),k.click())}h.is(":visible")&&(L(h,g,b),e=!1,jQuery(a).find("#frm_field_"+g+"_container .frm-g-recaptcha").length&&(f=!0,grecaptcha.reset()))}else if("redirect"==g){window.location=b[g];return}na(a);!0!==f&&jQuery(a).find(".frm-g-recaptcha").closest(".frm_form_field").replaceWith('<input type="hidden" name="recaptcha_checked" value="'+frm_js.nonce+'">');e&&a.submit()}},error:function(){jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");a.submit()}})}
44
- function L(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 na(a){var b=jQuery(a).find(".frm_blank_field:first");b.length&&frmFrontForm.scrollMsg(b,a,!0)}function ya(){oa(jQuery(this),"clear")}function za(){oa(jQuery(this),"replace")}function oa(a,b){var c=a.data("frmval").replace(/(\n|\r\n)/g,"\r");if(""===c||"undefined"==typeof c)return!1;
45
- 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 Aa(){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 Ba(a,b){google.load("visualization","1.0",{packages:[b],
46
- 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="string",h=0,g=e;h<g;h++){var k=a.fields[h],f=pa(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));k=0;if(null!==a.entries){var m=a.entries.length;c.addRows(m);for(var l=0,p=0;p<m;p++){var k=
47
- 0,q=a.entries[p];d&&(c.setCell(l,k,q.id),k++);for(var t=0,u=e;t<u;t++){var r=a.fields[t],f=pa(r),r=q.metas[r.id];"number"!=f||null!==r&&""!==r?"boolean"==f&&(r=null===r||"false"==r||!1===r?!1:!0):r=0;c.setCell(l,k,r);k++}h&&("undefined"!==typeof q.editLink?c.setCell(l,k,'<a href="'+q.editLink+'">'+a.options.edit_link+"</a>"):c.setCell(l,k,""),k++);g&&("undefined"!==typeof q.deleteLink?c.setCell(l,k,'<a href="'+q.deleteLink+'" class="frm_delete_link" data-frmconfirm="'+a.options.confirm+'">'+a.options.delete_link+
48
- "</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 Ca(a)}})}function pa(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?3:c-1);1==c&&(b="boolean")}return b}
49
- function Ca(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,f.name);d&&(b.addColumn({type:"string",
50
- 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 Da(){var a=jQuery(this),b=a.data("fid");a.wrap('<div class="frm_file_names frm_uploaded_files">');for(var c=a.get(0).files,d=0;d<c.length;d++)0===d?a.after(c[d].name+' <a href="#" class="frm_clear_file_link">'+
51
- frm_js.remove+"</a>"):a.after(c[d].name+"<br/>");a.hide();c=a.attr("name");c!="item_meta["+b+"][]"&&c.replace("item_meta[","").replace("[]","").split("][");a.closest(".frm_form_field").find(".frm_uploaded_files:last").after('<input name="'+c+'" data-fid="'+b+'"class="frm_transparent frm_multiple_file" multiple="multiple" type="file" />')}function Ea(){Fa(jQuery(this).parent(".frm_uploaded_files"))}function Ga(){jQuery(this).parent(".frm_file_names").replaceWith("");return!1}function Ha(){var a="frm_section_"+
52
- jQuery(this).data("parent")+"-"+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=t(this,!1);K(a,jQuery(this))}});"function"==typeof frmThemeOverride_frmRemoveRow&&frmThemeOverride_frmRemoveRow(a,b)});return!1}function Ia(){if(!0===J)return!1;J=!0;var a=jQuery(this).data("parent"),b=0;0<jQuery(".frm_repeat_"+a).length&&(b=1+parseInt(jQuery(".frm_repeat_"+a+":last").attr("id").replace("frm_section_"+
53
- a+"-","")),"undefined"==typeof b&&(b=1));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(b){var d=b.html,e=jQuery(d).hide().fadeIn("slow");jQuery(".frm_repeat_"+a+":last").after(e);var f=["other"],h,g,k="reset";B=e.attr("id");jQuery(d).find("input, select, textarea").each(function(){if("file"!=this.type){if(""===this.name)return!0;h=this.name.replace("item_meta[","").split("]")[2].replace("[","");-1==
54
- jQuery.inArray(h,f)&&!1!==this.id&&(g=jQuery("#"+this.id),f.push(h),r(h,null,g,k),K(h,g),k="persist")}});B="";for(var e=0,m=b.logic.check.length;e<m;e++)-1==jQuery.inArray(b.logic.check[e],f)&&1>jQuery(d).find(".frm_field_"+b.logic.check[e]+"_container").length&&(r(b.logic.check[e],null,null,k),k="persist");0<jQuery(d).find(".star").length&&jQuery(".star").rating();0<jQuery(d).find(".frm_chzn").length&&jQuery().chosen&&jQuery(".frm_chzn").chosen({allow_single_deselect:!0});"function"==typeof frmThemeOverride_frmAddRow&&
55
- frmThemeOverride_frmAddRow(a,b);J=!1},error:function(){J=!1}});return!1}function Ja(){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">'+m+"</div>");jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"html",data:{action:"frm_entries_edit_entry_ajax",
56
- 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)}});return!1}function Ka(){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+b)),b.children(".frm_forms").replaceWith(""),b.children(".frm_orig_content").fadeIn("slow").removeClass("frm_orig_content"));
57
- a.removeClass("frm_cancel_edit").addClass("frm_inplace_edit");a.html(d);return!1}function La(){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},success:function(a){"success"==a.replace(/^\s+|\s+$/g,"")?(jQuery(document.getElementById(d+c)).fadeOut("slow"),jQuery(document.getElementById("frm_delete_"+
58
- c)).fadeOut("slow")):jQuery(document.getElementById("frm_delete_"+c)).replaceWith(a)}})}return!1}function Fa(a){a.fadeOut("slow",function(){a.remove()})}function Ma(){var a=jQuery(this).data("frmconfirm");return confirm(a)}function Na(){var a=jQuery(this).data("frmtoggle");jQuery(a).is(":visible")?jQuery(a).slideUp("fast"):jQuery(a).slideDown("fast");return!1}function ta(a,b){for(var c in a)if(a.hasOwnProperty(c)&&a[c]===b)return c;return null}function ma(a){return!jQuery.isArray(a)&&0<=a-parseFloat(a)+
59
- 1}function da(a){return a.find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]')}function fa(a,b){var c="item_meta["+a+"]";M(a)&&(c=N(a,b));return c}function N(a,b){var c="";-1<b.indexOf("frm_section")?(c=b.replace("frm_section_","").split("-"),c="item_meta["+c[0]+"]["+c[1]+"]["+a+"]"):(c=b.replace("frm_field_","").replace("_container","").split("-"),c="item_meta["+c[1]+"]["+c[2]+"]["+a+"]");return c}function aa(a,b){var c=b.replace("frm_section_","").split("-");
60
- return"frm_field_"+a+"-"+c[0]+"-"+c[1]+"_container"}function M(a){var b=document.getElementById("frm_field_"+a+"_container");return"undefined"!==typeof b&&null!==b?!1:1>jQuery('input[name^="item_meta['+a+']"],select[name^="item_meta['+a+']"], textarea[name^="item_meta['+a+']"]').length?!0:!1}function Oa(){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})}
61
- function Pa(){"function"!==typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")})}function Qa(){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 Ra(){Object.keys||(Object.keys=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&
62
- b.push(c);return b})}function qa(a,b){var c=[];if("undefined"==typeof document.querySelector)jQuery("#"+a+' input[type=checkbox]:checked, input[type=hidden][name^="'+b+'"]').each(function(){c.push(this.value)});else for(var d=document.querySelectorAll("#"+a+' input[type=checkbox], input[type=hidden][name^="'+b+'"]'),e=0;e<d.length;e++)("checkbox"==d[e].type&&d[e].checked||"hidden"==d[e].type)&&c.push(d[e].value);return c}var q=[],D={},F=[],Q=[],B="",J=!1,S="",y=[];return{init:function(){jQuery(document).on("click",
63
- ".frm_trigger",p);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",".frm_toggle_default",ya);jQuery(document).on("blur",".frm_toggle_default",za);jQuery(".frm_toggle_default").blur();
64
- jQuery(document.getElementById("frm_resend_email")).click(Aa);jQuery(document).on("change",".frm_multiple_file",Da);jQuery(document).on("click",".frm_clear_file_link",Ga);jQuery(document).on("click",".frm_remove_link",Ea);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"]',
65
- z);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',w);jQuery(document).on("change","input[type=file].frm_transparent",u);jQuery(document).on("click",".frm_remove_form_row",Ha);jQuery(document).on("click",".frm_add_form_row",Ia);jQuery(document).on("click","a[data-frmconfirm]",
66
- Ma);jQuery("a[data-frmtoggle]").click(Na);jQuery(".frm_edit_link_container").on("click","a.frm_inplace_edit",Ja);jQuery(".frm_edit_link_container").on("click","a.frm_cancel_edit",Ka);jQuery(document).on("click",".frm_ajax_delete",La);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")):
67
- (a.addClass("ui-icon-triangle-1-e").removeClass("ui-icon-triangle-1-s"),jQuery(this).next(".frm_toggle_container").hide())});Oa();Pa();Qa();Ra()},submitForm:function(a){a.preventDefault();a=frmFrontForm.validateFormSubmit(this);0===Object.keys(a).length&&frmFrontForm.checkFormErrors(this,S)},validateFormSubmit:function(a){jQuery(this).find(".wp-editor-wrap").length&&"undefined"!=typeof tinyMCE&&tinyMCE.triggerSave();S=jQuery(a).find('input[name="frm_action"]').val();y=[];var b=jQuery(a).hasClass("frm_js_validate"),
68
- c;if(c=b){c=!1;var d=jQuery(a).find(".frm_saving_draft");d.length&&(c=d.val());if(!c&&(c=!1,d=jQuery(a).find(".frm_next_page"),d.length&&d.val())){var e=jQuery(a).find('input[name="form_id"]').val(),e=jQuery(a).find('input[name="frm_page_order_'+e+'"]'),e=e.length?e.val():0;if(!e||d.val()<e)c=!0}}c&&(b=!1);b&&(frmFrontForm.getAjaxFormErrors(a),Object.keys(y).length&&frmFrontForm.addAjaxFormErrors(a));return y},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)");
69
- if(c.length)for(var d=0,e=c.length;d<e;d++)b=T(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=V(h,b):"email"==h.type?b=U(h,b,c):null!==h.pattern&&(b=W(h,b)))}y=b;if("function"==typeof frmThemeOverride_jsErrors&&(a=frmThemeOverride_jsErrors(S,a),Object.keys(a).length))for(var g in a)y[g]=a[g];return y},addAjaxFormErrors:function(a){jQuery(".form-field").removeClass("frm_blank_field");
70
- jQuery(".form-field .frm_error").replaceWith("");for(var b in y){var c=jQuery(a).find("#frm_field_"+b+"_container");c.length?L(c,b,y):delete y[b]}na(a)},checkFormErrors:function(a,b){xa(a,b)},scrollToID:function(a){a=jQuery(document.getElementById(a).offset());window.scrollTo(a.left,a.top)},scrollMsg:function(a,b,c){var d="",d="undefined"==typeof b?jQuery(document.getElementById("frm_form_"+a+"_container")):"string"==typeof a?jQuery(b).find("#frm_field_"+a+"_container"):a;if(a=d.offset().top){a-=
71
- frm_js.offset;b=jQuery("html").css("margin-top");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}},hideCondFields:function(a){a=JSON.parse(a);for(var b=0,c=a.length;b<c;b++){var d=document.getElementById("frm_field_"+a[b]+"_container");null!==d?d.style.display=
72
- "none":jQuery(".frm_field_"+a[b]+"_container").hide()}},checkDependent:function(a){a=JSON.parse(a);for(var b="reset",c=0,d=a.length;c<d;c++)r(a[c],null,null,b),b="persist"},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++)Ba(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",
73
- 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","disabled")}})},escapeHtml:function(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")},
74
- 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()});function frmRecaptcha(){for(var l=jQuery(".frm-g-recaptcha"),p=0,u=l.length;p<u;p++)grecaptcha.render(l[p].id,{sitekey:l[p].getAttribute("data-sitekey")})}
75
- function frmUpdateField(l,p,u,w,z){jQuery(document.getElementById("frm_update_field_"+l+"_"+p)).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:p,value:u,nonce:frm_js.nonce},success:function(){""===w.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById("frm_update_field_"+l+"_"+p+"_"+z)).fadeOut("slow"):jQuery(document.getElementById("frm_update_field_"+l+"_"+p+"_"+z)).replaceWith(w)}})}
76
- function frmEditEntry(l,p,u,w,z,t){console.warn("DEPRECATED: function frmEditEntry in v2.0.13 use frmFrontForm.editEntry");var r=jQuery(document.getElementById("frm_edit_"+l)),v=r.html(),x=jQuery(document.getElementById(p+l)),A=x.html();x.html('<span class="frm-loading-img" id="'+p+l+'"></span><div class="frm_orig_content" style="display:none">'+A+"</div>");jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"html",data:{action:"frm_entries_edit_entry_ajax",post_id:u,entry_id:l,id:w,nonce:frm_js.nonce},
77
- success:function(A){x.children(".frm-loading-img").replaceWith(A);r.replaceWith('<span id="frm_edit_'+l+'"><a onclick="frmCancelEdit('+l+",'"+p+"','"+frmFrontForm.escapeHtml(v)+"',"+u+","+w+",'"+t+'\')" class="'+t+'">'+z+"</a></span>")}})}
78
- function frmCancelEdit(l,p,u,w,z,t){console.warn("DEPRECATED: function frmCancelEdit in v2.0.13 use frmFrontForm.cancelEdit");var r=jQuery(document.getElementById("frm_edit_"+l)),v=r.find("a"),x=v.html();v.hasClass("frm_ajax_edited")||(v=jQuery(document.getElementById(p+l)),v.children(".frm_forms").replaceWith(""),v.children(".frm_orig_content").fadeIn("slow").removeClass("frm_orig_content"));r.replaceWith('<a id="frm_edit_'+l+'" class="frm_edit_link '+t+'" href="javascript:frmEditEntry('+l+",'"+
79
- p+"',"+w+","+z+",'"+frmFrontForm.escapeHtml(x)+"','"+t+"')\">"+u+"</a>")}
80
- function frmDeleteEntry(l,p){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(u){"success"==u.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById(p+l)).fadeOut("slow"):jQuery(document.getElementById("frm_delete_"+
 
81
  l)).replaceWith(u)}})}function frmOnSubmit(l){console.warn("DEPRECATED: function frmOnSubmit in v2.0 use frmFrontForm.submitForm");frmFrontForm.submitForm(l,this)}
82
- function frm_resend_email(l,p){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:p,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="",f=this.name;if("frm_prev_page"===f||-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"===f||-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 u(){this.className=this.className.replace("frm_transparent","");this.parentNode.getElementsByTagName("a")[0].className.indexOf("frm_clear_file_link")}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,
3
+ b=!1,f=0;f<d.length;f++)if("frm_other_trigger"===d[f].className&&d[f].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")&&(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("")):
4
  "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 z(a){var b=t(this);if(b&&"undefined"!==typeof b){var c="reset";if(a.frmTriggered){if(a.frmTriggered==b)return;c="persist"}r(b,null,jQuery(this),c);K(b,jQuery(this));a=[];b=jQuery(this).closest(".frm_form_field");b.hasClass(".frm_required_field")&&!jQuery(this).hasClass(".frm_optional")&&
5
+ (a=T(this,a));1>a.length&&("email"==this.type?(c=jQuery(this).closest("form").find("input[type=email]"),a=U(this,a,c)):"number"==this.type?a=V(this,a):null!==this.pattern&&(a=W(this,a)));b.removeClass("frm_blank_field");b.find(".frm_error").remove();if(0<Object.keys(a).length)for(var d in a)L(b,d,a)}}function t(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("[]",
6
+ "").split("]");if(1>c.length)return 0;var c=c.filter(function(a){return""!==a}),d=c[0],f=!1;if(1===c.length||"[form"==c[1]||"[id"==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("[","");f=!0}"other"===d&&(d=f?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 r(a,b,c,d){var f;if("undefined"===typeof __FRMRULES||"undefined"===typeof __FRMRULES[a])f=
7
+ void 0;else{f=__FRMRULES[a];for(var e=[],g=0,h=f.length;g<h;g++){var k=f[g];if("undefined"!==typeof k)for(var m=0,q=k.Conditions.length;m<q;m++){var l=k.Conditions[m];l.HideField=k.Setting.FieldName;l.MatchType=k.MatchType;l.Show=k.Show;l.FormId=k.FormId;e.push(l)}}f=e}if("undefined"!==typeof f){if("undefined"===typeof b||null===b)b="go";"persist"!==d&&(p=[]);e=c;d=!1;""===B&&"undefined"!==typeof e&&null!==e&&(1<e.length&&(e=e.eq(0)),e=e.closest(".frm_repeat_sec, .frm_repeat_inline, .frm_repeat_grid"),
8
+ "undefined"!==typeof e&&"undefined"!==typeof e.attr("id")&&(B=e.attr("id"),d=!0));e={};g=0;for(h=f.length;g<h;g++)if(m=k=f[g].HideField,q=e,q[m]=m in q?q[m]+1:0,f[g].FieldName===a?w(e[k],f[g],b,c):w(e[k],f[g],b),g===h-1){a:for(m in k=b,m=q=void 0,D){q=D[m];delete D[m];if("undefined"===typeof q)break a;var l=jQuery("#"+q.hideContainerID),n=q.show;if("any"===q.match&&-1===jQuery.inArray(!0,p[q.hideContainerID])||"all"===q.match&&-1<jQuery.inArray(!1,p[q.hideContainerID]))n="show"===q.show?"hide":"show";
9
+ if("show"===n){if(X(l,q),l=k,0<q.DynamicInfoIndices.length)for(var u=n=void 0,t=0;t<q.DynamicInfoIndices.length;t++)n=q.DynamicInfoIndices[t],u=p[q.hideContainerID][n].f.FieldName,Y(p[q.hideContainerID][n],u,l)}else Z(l,q)}d&&(B="")}}}function w(a,b,c,d){b.inputName="item_meta["+b.FieldName+"]";b.hiddenName="item_meta["+b.HideField+"]";b.containerID="frm_field_"+b.FieldName+"_container";b.hideContainerID="frm_field_"+b.HideField+"_container";b.Value=b.Value.trim();if(""!==B)d=B,M(b.FieldName)&&(b.inputName=
10
+ N(b.FieldName,d),b.containerID=aa(b.FieldName,d)),b.hideContainerID=aa(b.HideField,d),d=x(b),A(b),H(a,b,d),I(a,b,c);else{if("undefined"===typeof d||null===d)if(d=jQuery('input[name^="'+b.inputName+'"], textarea[name^="'+b.inputName+'"], select[name^="'+b.inputName+'"]'),1>d.length){d=document.getElementsByClassName("frm_field_"+b.FieldName+"_container");for(var f=0;f<d.length;f++){b.inputName=N(b.FieldName,d[f].id);b.containerID=d[f].id;b.hideContainerID=d[f].id.replace(b.FieldName,b.HideField);var e=
11
+ x(b);A(b);H(a,b,e);I(a,b,c)}return}d=x(b);if(M(b.HideField))for(f=document.getElementsByClassName("frm_field_"+b.HideField+"_container"),e=0;e<f.length;e++)b.hideContainerID=f[e].id,A(b),H(a,b,d),I(a,b,c);else A(b),H(a,b,d),I(a,b,c)}}function x(a){var b="";if("checkbox"===a.Type||"data-checkbox"===a.Type)return a=sa(a.containerID,a.inputName),b=a.length?a:"";b=jQuery('input[name="'+a.inputName+'"][type="hidden"]').val();"undefined"===typeof b&&(b="radio"==a.Type||"data-radio"===a.Type?jQuery('input[name="'+
12
+ a.inputName+'"]:checked').val():"select"===a.Type||"data-select"===a.Type?jQuery('select[name^="'+a.inputName+'"]').val():jQuery('input[name="'+a.inputName+'"], textarea[name="'+a.inputName+'"]').val());"undefined"===typeof b&&(b="");"string"===typeof b&&(b=b.trim());return b}function A(a){"undefined"===typeof p[a.hideContainerID]&&(p[a.hideContainerID]=[])}function H(a,b,c){p[b.hideContainerID][a]=null===c||""===c||1>c.length?!1:{funcName:"getDataOpts",f:b,sel:c};if("checkbox"===b.Type||"data-checkbox"===
13
+ b.Type&&"undefined"===typeof b.LinkedField){var d=p[b.hideContainerID][a]=!1;if(""!==c){"!="===b.Condition&&(p[b.hideContainerID][a]=!0);for(var f=0;f<c.length;f++)d=C(b.Condition,b.Value,c[f]),"!="===b.Condition?!0===p[b.hideContainerID][a]&&!1===d&&(p[b.hideContainerID][a]=!1):!1===p[b.hideContainerID][a]&&d&&(p[b.hideContainerID][a]=!0)}else d=C(b.Condition,b.Value,""),!1===p[b.hideContainerID][a]&&d&&(p[b.hideContainerID][a]=!0)}else if("undefined"!==typeof b.LinkedField&&0===b.Type.indexOf("data-")){if("undefined"===
14
+ typeof b.DataType||"data"===b.DataType)""===c?ba(b,"hide"):"data-radio"===b.Type?p[b.hideContainerID][a]="undefined"===typeof b.DataType?C(b.Condition,b.Value,c):{funcName:"getData",f:b,sel:c}:(!(d="data-checkbox"===b.Type)&&(d="data-select"===b.Type)&&(d=jQuery.isArray(c)&&(1<c.length||""!==c[0])),d?(ba(b,"show"),p[b.hideContainerID][a]=!0,ca(b,c,0)):"data-select"===b.Type&&(p[b.hideContainerID][a]={funcName:"getData",f:b,sel:c}))}else"undefined"===typeof b.Value&&0===b.Type.indexOf("data")?(b.Value=
15
+ ""===c?"1":c,p[b.hideContainerID][a]=C(b.Condition,b.Value,c),b.Value=void 0):p[b.hideContainerID][a]=C(b.Condition,b.Value,c)}function I(a,b,c){if("all"===b.MatchType||!1===p[b.hideContainerID][a])b.hideContainerID in D||(D[b.hideContainerID]={show:b.Show,match:b.MatchType,FieldName:b.FieldName,HideField:b.HideField,hideContainerID:b.hideContainerID,FormId:b.FormId,DynamicInfoIndices:[]}),b=b.hideContainerID,c=!1,!1!==p[b][a]&&!0!==p[b][a]&&(c=a),!1!==c&&D[b].DynamicInfoIndices.push(c);else{var d=
16
+ jQuery(document.getElementById(b.hideContainerID));"show"===b.Show?!0!==p[b.hideContainerID][a]?Y(p[b.hideContainerID][a],b.FieldName,c):X(d,b):Z(d,b)}}function Z(a,b){if(a.length){a.hide();var c=da(a);c.length&&ea(c)}else c=fa(b.HideField,b.hideContainerID),c=jQuery('input[name^="'+c+'"]'),ea(c);ga(b.hideContainerID,b.FormId)}function ea(a){a.prop("checked",!1).prop("selectedIndex",0);a.not(":checkbox, :radio, select").val("");var b=!1;a.each(function(){"SELECT"==this.tagName&&null!==document.getElementById(this.id+
17
+ "_chosen")&&jQuery(this).trigger("chosen:updated");(!1===b||0>["checkbox","radio"].indexOf(this.type))&&E(jQuery(this));b=!0})}function ga(a,b){var c=O(b);-1<c.indexOf(a)||(c.push(a),F["form_"+b]=c,c=JSON.stringify(c),document.getElementById("frm_hide_fields_"+b).value=c)}function O(a){var b=[];"undefined"!==typeof F["form_"+a]?b=F["form_"+a]:(b=(b=document.getElementById("frm_hide_fields_"+a).value)?JSON.parse(b):[],F["form_"+a]=b);return b}function ba(a,b){if(-1===O(a.FormId).indexOf(a.hideContainerID)){var c=
18
+ jQuery(document.getElementById(a.hideContainerID));"hide"===b&&(c.hide(),ga(a.hideContainerID,a.FormId));c.find(".frm_opt_container").empty()}}function X(a,b){var c=!1;if(a.hasClass("frm_section_heading")||a.hasClass("frm_embed_form_container"))c=!0;var c={inSection:c,formId:b.FormId},d=b.hideContainerID,f=b.FormId,e=O(f),d=e.indexOf(d);-1<d&&(e.splice(d,1),F["form_"+f]=e,e=JSON.stringify(e),document.getElementById("frm_hide_fields_"+f).value=e);a.length?(f=da(a),ha(f,c),a.show()):(f=fa(b.HideField,
19
+ b.hideContainerID),f=jQuery('input[name^="'+f+'"]'),ha(f,c))}function ha(a,b){if(a.length){b.valSet=!1;b.isHidden=!1;for(var c=0;c<a.length;c++){var d=a,f=c,e=b,g=!1;if(0===f||d[f-1].name!=d[f].name){var h;if(h=e.inSection)a:{var k=d[f];h=e;var m=!1;if("undefined"!==typeof k.name){m=void 0;k=k.name.replace(/\]/g,"").split("[");if(4>k.length){if(3==k.length&&"form"==k[2]){h=!0;break a}m="frm_field_"+k[1]+"_container"}else{if(0==k[3]){h=!0;break a}m="frm_field_"+k[3]+"-"+k[1]+"-"+k[2]+"_container"}var k=
20
+ m,m=!1,q=void 0;"undefined"!==typeof h.hiddenFields?q=h.hiddenFields:(q=document.getElementById("frm_hide_fields_"+h.formId).value,h.hiddenFields=q);q&&(q=JSON.parse(q),-1<q.indexOf(k)&&(m=!0))}else m=!0;h=m}if(h)e.isHidden=!0,e.valSet=!1;else{e.isHidden=!1;h=e;f=d[f];d=!1;if("checkbox"==f.type||"radio"==f.type)for(f=document.getElementsByName(f.name),k=f.length,m=0;m<k;m++){if(f[m].checked){d=!0;break}}else f.value&&(d=!0);h.valSet=d}}if(e.valSet||e.isHidden)g=!0;if(!0!==g){e=jQuery(a[c]);if(d=e.length)for(g=
21
+ 0;g<d;g++)if(f=jQuery(e[g]),h=f.data("frmval"),"undefined"!==typeof h)if(!f.is(":checkbox, :radio"))f.val(h),E(f);else if(f.val()==h||jQuery.isArray(h)&&-1!==jQuery.inArray(f.val(),h))f.prop("checked",!0),E(f);e=a[c];if(g="undefined"!==typeof __FRMCALC){g=e.type;d=!1;if("text"==g||"hidden"==g||"number"==g)d=!0;g=d}if(g){g=__FRMCALC;d=e.name;f=e.id.replace("field_","");if(P(d))for(d=f.split("-"),f="",h=0;h<d.length-1;h++)f=""===f?d[h]:f+"-"+d[h];d=f;f=null;P(e.name)&&(f="hidden"!=e.type?jQuery(e).closest(".frm_form_field"):
22
+ jQuery(e));e=f;void 0!==g.calc[d]&&ia(g,d,[],e)}}}}}function E(a,b){"undefined"===typeof b&&(b="dependent");1<a.length&&(a=a.eq(0));a.trigger({type:"change",selfTriggered:!0,frmTriggered:b})}function C(a,b,c){"undefined"===typeof c&&(c="");jQuery.isArray(c)&&-1<jQuery.inArray(b,c)&&(c=b);-1!==String(b).search(/^\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*$/)&&(b=parseFloat(b),c=parseFloat(c));return"-1"!=String(b).indexOf("&quot;")&&C(a,b.replace("&quot;",'"'),c)?!0:{"==":function(a,b){return a==b},"!=":function(a,
23
+ 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=ja(b);a=ka(a);return-1!=b.indexOf(a)},"not LIKE":function(a,b){if(!b)return!0;b=ja(b);a=ka(a);return-1==b.indexOf(a)}}[a](b,c)}function ja(a){"string"===typeof a?a=a.toLowerCase():"number"===typeof a&&(a=a.toString());return a}function ka(a){"string"===typeof a&&(a=a.toLowerCase());return a}function Y(a,b,c){"getDataOpts"==a.funcName?ta(a.f,a.sel,b,c):"getData"==a.funcName&&ca(a.f,a.sel,
24
+ 0)}function ca(a,b,c){var d=document.getElementById(a.hideContainerID),f=jQuery(d).find(".frm_opt_container");if(0===f.length)return!0;c||f.html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_fields_ajax_get_data",entry_id:b,field_id:a.LinkedField,current_field:a.HideField,hide_id:a.hideContainerID,nonce:frm_js.nonce},success:function(a){c?f.append(a):f.html(a);var b=f.children("input"),h=b.val();d.style.display=""===a&&!c||""===h?"none":"";
25
+ E(b);return!0}})}function ta(a,b,c,d){if(!("stop"==d&&-1<jQuery.inArray(a.HideField,Q)&&a.parentField&&"hidden"==a.parentField.attr("type"))){var f=jQuery("#"+a.hideContainerID).find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]'),e=ua(f),g=f.data("frmval");if("select"!=a.DataType||"stop"!=d&&!jQuery("#"+a.hideContainerID+" .frm-loading-img").length||!(-1<jQuery.inArray(a.HideField,Q))){Q.push(a.HideField);var h=document.getElementById(a.hideContainerID);if(null!==
26
+ h){var k=jQuery(h).find(".frm_opt_container");if(0===k.length&&f.length)return r(a.HideField,"stop",f),!1;if(""!==a.Value&&!C(a.Condition,a.Value,b))return h.style.display="none",k.html(""),r(a.HideField,"stop",f),!1;k.html('<span class="frm-loading-img" style="visibility:visible;display:inline;"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_fields_ajax_data_options",trigger_field_id:c,entry_id:b,linked_field_id:a.LinkedField,field_id:a.HideField,default_value:g,container_id:a.hideContainerID,
27
+ prev_val:e,nonce:frm_js.nonce},success:function(b){k.html(b);var c=k.find("select, input, textarea");""===b||1==c.length&&"hidden"==c.attr("type")?h.style.display="none":"all"!=a.MatchType&&(h.style.display="");c.hasClass("frm_chzn")&&jQuery().chosen&&jQuery(".frm_chzn").chosen({allow_single_deselect:!0});E(c)}})}}}}function ua(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}
28
+ function K(a,b){if("undefined"!==typeof __FRMCALC){var c=__FRMCALC,d=c.fields[a];if("undefined"!==typeof d)for(var d=d.total,f=[],e=0,g=d.length;e<g;e++){var h;var k=c.calc[d[e]],m=b.attr("name");h=k.field_id;var l=k.form_id;if(k=document.getElementById("frm_hide_fields_"+l).value){var k=JSON.parse(k),n=h;P(m)&&(m=m.replace("item_meta","").replace(/\[/g,"").split("]"),n=h+"-"+m[0]+"-"+m[1]);-1<k.indexOf("frm_field_"+n+"_container")?h=!0:(m=void 0,h=(m=l=(l=document.getElementById("frm_helpers_"+l).value)?
29
+ JSON.parse(l):[])&&null!==m[h]&&-1<k.indexOf("frm_field_"+m[h]+"_container")?!0:!1)}else h=!1;h||ia(c,d[e],f,b)}}}function P(a){var b=!1;4<=a.split("[").length&&(b=!0);return b}function ia(a,b,c,d){var f=a.calc[b],e=f.calc,g=jQuery(document.getElementById("field_"+b)),h={triggerField:d,inSection:!1,thisFieldCall:'input[id^="field_'+b+'-"]'};1>g.length&&"undefined"!==typeof d&&(h.inSection=!0,h.thisFieldId=va(a.fieldsWithCalc,b),g=la(h));e=wa(f,e,a,c,h);a=f.calc_dec;e.indexOf(").toFixed(")&&(c=e.split(").toFixed("),
30
+ ma(c[1])&&(a=c[1],e=e.replace(").toFixed("+a,"")));e=parseFloat(eval(e));"undefined"===typeof e&&(e=0);ma(a)&&(e=e.toFixed(a));g.val()!=e&&(g.val(e),E(g,b))}function wa(a,b,c,d,f){for(var e=0,g=a.fields.length;e<g;e++){var h={triggerField:f.triggerField,thisFieldId:a.fields[e],inSection:f.inSection,valKey:f.inSection+""+a.fields[e],thisField:c.fields[a.fields[e]],thisFieldCall:"input"+c.fieldKeys[a.fields[e]]},k=c;"checkbox"==h.thisField.type||"select"==h.thisField.type?h.thisFieldCall=h.thisFieldCall+
31
+ ":checked,select"+k.fieldKeys[h.thisFieldId]+" option:selected,"+h.thisFieldCall+"[type=hidden]":"radio"==h.thisField.type||"scale"==h.thisField.type?h.thisFieldCall=h.thisFieldCall+":checked,"+h.thisFieldCall+"[type=hidden]":"textarea"==h.thisField.type&&(h.thisFieldCall=h.thisFieldCall+",textarea"+k.fieldKeys[h.thisFieldId]);d=xa(h,c,d);if("undefined"===typeof d[h.valKey]||isNaN(d[h.valKey]))d[h.valKey]=0;k="["+h.thisFieldId+"]";k=k.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1");b=b.replace(new RegExp(k,
32
+ "g"),d[h.valKey])}return b}function xa(a,b,c){if("undefined"!==typeof c[a.valKey]&&0!==c[a.valKey])return c;c[a.valKey]=0;var d;if(!1===a.inSection)d=jQuery(a.thisFieldCall);else if(d=la(a),null===d||"undefined"===typeof d)d=jQuery(a.thisFieldCall);if(null===d||"undefined"===typeof d||1>d.length)return c;d.each(function(){var d,e=a.thisField;d=!1;if("hidden"==this.type)""!==R(this)&&(d=!0);else if("select"==e.type){var g=this.className;g&&-1<g.indexOf("frm_other_trigger")&&(d=!0)}else("checkbox"==
33
+ e.type||"radio"==e.type)&&-1<this.id.indexOf("-other_")&&0>this.id.indexOf("-otext")&&(d=!0);d?(d=0,"select"==e.type?"hidden"==this.type?(e=!1,2<this.name.split("[").length&&(e=!0),e||(d=R(this))):d=jQuery(this).closest(".frm_other_container").find(".frm_other_input").val():"checkbox"!=e.type&&"radio"!=e.type||"hidden"==this.type||(d=R(this)),e=d):e="checkbox"!==this.type&&"radio"!==this.type||!this.checked?jQuery(this).val():this.value;"undefined"===typeof e&&(e="");d=e;if("date"==a.thisField.type){e=
34
+ b.date;g=0;if(d)if("undefined"===typeof jQuery.datepicker){g="-";-1<e.indexOf("/")&&(g="/");e=e.split(g);d=d.split(g);var h,k;h=g=k="";for(var m=0;m<e.length;m++)if("y"==e[m])h=((new Date).getFullYear()+15).toString().substr(2,2),h=d[m]>h?"19"+d[m]:"20"+d[m];else if("yy"==e[m])h=d[m];else if("m"==e[m]||"mm"==e[m])g=d[m],2>g.length&&(g="0"+g);else if("d"==e[m]||"dd"==e[m])k=d[m],2>k.length&&(k="0"+k);g=Date.parse(h+"-"+g+"-"+k)}else g=jQuery.datepicker.parseDate(e,d);e=g;null!==e&&(c[a.valKey]=Math.ceil(e/
35
+ 864E5))}else{e=d;""!==e&&0!==e&&(e=e.trim(),e=parseFloat(e.replace(/,/g,"").match(/-?[\d\.]+$/)));if("undefined"===typeof e||isNaN(e)||""===e)e=0;c[a.valKey]+=e}});return c}function la(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 R(a){var b="";a=document.getElementById(a.id+"-otext");null!==a&&""!==a.value&&(b=a.value);return b}
36
+ function na(a){var b=!1;a=jQuery(a).find(".frm_saving_draft");a.length&&(b=a.val());return b}function oa(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 T(a,b){if("hidden"==a.type)return b;var c="",d="";if("checkbox"==a.type||"radio"==a.type){var f=jQuery('input[name="'+a.name+'"]').closest(".frm_required_field").find("input:checked");
37
+ jQuery(f).each(function(){c=this.value})}else if("file"==a.type)d=jQuery(a).data("fid"),"undefined"===typeof d&&(d=t(a,!0),d=d.replace("file","")),"undefined"===typeof b[d]&&(c=ya(d));else{d=a.className;if(-1!==d.indexOf("frm_pos_none"))return b;c=jQuery(a).val();if("string"!==typeof c)for(var f=c,c="",e=0;e<f.length;e++)""!==f[e]&&(c=f[e]);d=-1===d.indexOf("frm_other_input")?t(a,!0):t(a,!1)}""===c&&(""===d&&(d=t(a,!0)),d in b||(b[d]=G(a,"data-reqmsg")));return b}function ya(a){var b="";jQuery('input[name="file'+
38
+ a+'"], input[name="file'+a+'[]"], input[name^="item_meta['+a+']"]').each(function(){""===b&&(b=this.value)});return b}function U(a,b,c){var d=a.value,f=t(a,!0);if(f in b)return b;var e=0===f.indexOf("conf_");if(""!==d||e){var g=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i,h=G(a,"data-invmsg");""!==d&&!1===g.test(d)?(b[f]=h,e&&(b[f.replace("conf_","")]="")):e&&(a=a.name.replace("conf_",""),c.filter('[name="'+a+'"]').val()!==d&&(b[f]=h,b[f.replace("conf_","")]=
39
+ ""))}return b}function V(a,b){var c=a.value;""!==c&&!1!==isNaN(c/1)&&(c=t(a,!0),c in b||(b[c]=G(a,"data-invmsg")));return b}function W(a,b){var c=a.value,d=G(a,"pattern");if(""!==d&&""!==c){var f=t(a,!0);f in b||(d=new RegExp("^"+d+"$","i"),!1===d.test(c)&&(b[f]=G(a,"data-invmsg")))}return b}function G(a,b){var c=a.getAttribute(b);null===c&&(c="");return c}function za(a,b){jQuery(a).find('input[type="submit"], input[type="button"]').attr("disabled","disabled");jQuery(a).find(".frm_ajax_loading").addClass("frm_loading_now");
40
+ "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){b=b.replace(/^\s+|\s+$/g,"");0===b.indexOf("{")&&(b=jQuery.parseJSON(b));if(""===b||!b||"0"===b||"object"!=typeof b&&0===b.indexOf("<!DOCTYPE")){var d=document.getElementById("frm_loading");null!==d&&(b=jQuery(a).find("input[type=file]").val(),"undefined"!=typeof b&&""!==b&&setTimeout(function(){jQuery(d).fadeIn("slow")},
41
+ 2E3));b=jQuery(a).find(".frm-g-recaptcha");b.length&&(1>jQuery(a).find(".frm_next_page").length||1>jQuery(a).find(".frm_next_page").val())&&b.closest(".frm_form_field").replaceWith('<input type="hidden" name="recaptcha_checked" value="'+frm_js.nonce+'">');a.submit()}else if("object"!=typeof b){jQuery(a).find(".frm_ajax_loading").removeClass("frm_loading_now");var f=jQuery(a).find('input[name="form_id"]').val();jQuery(a).closest("#frm_form_"+f+"_container").replaceWith(b);frmFrontForm.scrollMsg(f);
42
+ if("function"==typeof frmThemeOverride_frmAfterSubmit){var f=jQuery('input[name="frm_page_order_'+f+'"]').val(),e=jQuery(b).find('input[name="form_id"]').val();frmThemeOverride_frmAfterSubmit(e,f,b,a)}b=jQuery(a).find('input[name="id"]');b.length&&jQuery(document.getElementById("frm_edit_"+b.val())).find("a").addClass("frm_ajax_edited").click()}else{jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");jQuery(a).find(".frm_ajax_loading").removeClass("frm_loading_now");
43
+ f=!0;jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");var e=!1,g=null,h;for(h in b)if(g=jQuery(a).find("#frm_field_"+h+"_container"),g.length){if(!g.is(":visible")){var k=g.closest(".frm_toggle_container");k.length&&(k=k.prev(),k.hasClass("frm_trigger")||(k=k.prev(".frm_trigger")),k.click())}g.is(":visible")&&(L(g,h,b),f=!1,g=jQuery(a).find("#frm_field_"+h+"_container .frm-g-recaptcha"),g.length&&(e=!0,grecaptcha.reset(g.data("rid"))))}else if("redirect"==
44
+ h){window.location=b[h];return}pa(a);!0!==e&&jQuery(a).find(".frm-g-recaptcha").closest(".frm_form_field").replaceWith('<input type="hidden" name="recaptcha_checked" value="'+frm_js.nonce+'">');f&&a.submit()}},error:function(){jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");a.submit()}})}function L(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">'+
45
+ c[b]+"</div>"))}function pa(a){var b=jQuery(a).find(".frm_blank_field:first");b.length&&frmFrontForm.scrollMsg(b,a,!0)}function Aa(){qa(jQuery(this),"clear")}function Ba(){qa(jQuery(this),"replace")}function qa(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 Ca(){var a=jQuery(this),b=a.data("eid"),c=a.data("fid");
46
+ 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 Da(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 f=a.fields.length,e="string",
47
+ g=0,h=f;g<h;g++){var k=a.fields[g],e=ra(k);c.addColumn(e,k.name)}g=!1;a.options.edit_link&&(g=!0,c.addColumn("string",a.options.edit_link));h=!1;a.options.delete_link&&(h=!0,c.addColumn("string",a.options.delete_link));k=0;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 t=0,u=f;t<u;t++){var r=a.fields[t],e=ra(r),r=p.metas[r.id];"number"!=e||null!==r&&""!==r?"boolean"==e&&(r=null===r||"false"==r||!1===r?!1:
48
+ !0):r=0;c.setCell(l,k,r);k++}g&&("undefined"!==typeof p.editLink?c.setCell(l,k,'<a href="'+p.editLink+'">'+a.options.edit_link+"</a>"):c.setCell(l,k,""),k++);h&&("undefined"!==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),g=k=0,h=f;g<h;g++)0<k?c.setCell(0,k,""):c.setCell(0,k,a.options.no_entries),k++;(new google.visualization.Table(document.getElementById("frm_google_table_"+
49
+ a.options.form_id))).draw(c,a.graphOpts)}else Ea(a)}})}function ra(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?3:c-1);1==c&&(b="boolean")}return b}function Ea(a){var b=new google.visualization.DataTable,c=!1,d=!1,f=a.rows.length;if(0<f)if("table"==a.type){c=!0;b.addRows(a.rows[f-1][0]+1);for(var e=0;e<f;e++)b.setCell(a.rows[e])}else if("undefined"!=
50
+ typeof a.rows[0].tooltip)for(var d=c=!0,g=0;g<f;g++){e=a.rows[g].tooltip;delete a.rows[g].tooltip;var h=Object.keys(a.rows[g]).map(function(b){return a.rows[g][b]});a.rows[g]=h;a.rows[g].push(e)}f=a.cols.length;if(c){if(0<f)for(c=0;c<f;c++)e=a.cols[c],b.addColumn(e.type,e.name);d&&(b.addColumn({type:"string",role:"tooltip"}),b.addRows(a.rows))}else{b=[[]];for(d=0;d<f;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)+
51
+ "Chart";(new google.visualization[d](document.getElementById("chart_"+a.graph_id))).draw(b,a.options)}function Fa(){var a=jQuery(this),b=a.data("fid");a.wrap('<div class="frm_file_names frm_uploaded_files">');for(var c=a.get(0).files,d=0;d<c.length;d++)0===d?a.after(c[d].name+' <a href="#" class="frm_clear_file_link">'+frm_js.remove+"</a>"):a.after(c[d].name+"<br/>");a.hide();c=a.attr("name");c!="item_meta["+b+"][]"&&c.replace("item_meta[","").replace("[]","").split("][");a.closest(".frm_form_field").find(".frm_uploaded_files:last").after('<input name="'+
52
+ c+'" data-fid="'+b+'"class="frm_transparent frm_multiple_file" multiple="multiple" type="file" />')}function Ga(){Ha(jQuery(this).parent(".frm_uploaded_files"))}function Ia(){jQuery(this).parent(".frm_file_names").replaceWith("");return!1}function Ja(){var a="frm_section_"+jQuery(this).data("parent")+"-"+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=t(this,!1);K(a,
53
+ jQuery(this))}});"function"==typeof frmThemeOverride_frmRemoveRow&&frmThemeOverride_frmRemoveRow(a,b)});return!1}function Ka(){if(!0===J)return!1;J=!0;var a=jQuery(this).data("parent"),b=0;0<jQuery(".frm_repeat_"+a).length&&(b=1+parseInt(jQuery(".frm_repeat_"+a+":last").attr("id").replace("frm_section_"+a+"-","")),"undefined"==typeof b&&(b=1));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(b){var d=b.html,
54
+ f=jQuery(d).hide().fadeIn("slow");jQuery(".frm_repeat_"+a+":last").after(f);var e=["other"],g,h,k="reset";B=f.attr("id");jQuery(d).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,e)&&!1!==this.id&&(h=jQuery("#"+this.id),e.push(g),r(g,null,h,k),K(g,h),k="persist")}});B="";for(var f=0,l=b.logic.check.length;f<l;f++)-1==jQuery.inArray(b.logic.check[f],e)&&1>jQuery(d).find(".frm_field_"+
55
+ b.logic.check[f]+"_container").length&&(r(b.logic.check[f],null,null,k),k="persist");0<jQuery(d).find(".star").length&&jQuery(".star").rating();0<jQuery(d).find(".frm_chzn").length&&jQuery().chosen&&jQuery(".frm_chzn").chosen({allow_single_deselect:!0});"function"==typeof frmThemeOverride_frmAddRow&&frmThemeOverride_frmAddRow(a,b);J=!1},error:function(){J=!1}});return!1}function La(){var a=jQuery(this),b=a.data("entryid"),c=a.data("prefix"),d=a.data("pageid"),f=a.data("formid"),e=a.data("cancel"),
56
+ g=a.data("fields"),h=a.data("excludefields"),k=jQuery(document.getElementById(c+b)),l=k.html();k.html('<span class="frm-loading-img" id="'+c+b+'"></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:d,entry_id:b,id:f,nonce:frm_js.nonce,fields:g,exclude_fields:h},success:function(b){k.children(".frm-loading-img").replaceWith(b);a.removeClass("frm_inplace_edit").addClass("frm_cancel_edit");
57
+ a.html(e)}});return!1}function Ma(){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+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 Na(){var a=jQuery(this),b=a.data("deleteconfirm");if(confirm(b)){var c=a.data("entryid"),d=a.data("prefix");
58
+ 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},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 Ha(a){a.fadeOut("slow",function(){a.remove()})}function Oa(){var a=
59
+ jQuery(this).data("frmconfirm");return confirm(a)}function Pa(){var a=jQuery(this).data("frmtoggle");jQuery(a).is(":visible")?jQuery(a).slideUp("fast"):jQuery(a).slideDown("fast");return!1}function va(a,b){for(var c in a)if(a.hasOwnProperty(c)&&a[c]===b)return c;return null}function ma(a){return!jQuery.isArray(a)&&0<=a-parseFloat(a)+1}function da(a){return a.find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]')}function fa(a,b){var c="item_meta["+a+"]";M(a)&&(c=
60
+ N(a,b));return c}function N(a,b){var c="";-1<b.indexOf("frm_section")?(c=b.replace("frm_section_","").split("-"),c="item_meta["+c[0]+"]["+c[1]+"]["+a+"]"):(c=b.replace("frm_field_","").replace("_container","").split("-"),c="item_meta["+c[1]+"]["+c[2]+"]["+a+"]");return c}function aa(a,b){var c=b.replace("frm_section_","").split("-");return"frm_field_"+a+"-"+c[0]+"-"+c[1]+"_container"}function M(a){var b=document.getElementById("frm_field_"+a+"_container");return"undefined"!==typeof b&&null!==b?!1:
61
+ 1>jQuery('input[name^="item_meta['+a+']"],select[name^="item_meta['+a+']"], textarea[name^="item_meta['+a+']"]').length?!0:!1}function Qa(){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 Ra(){"function"!==typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")})}function Sa(){Array.prototype.filter||
62
+ (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 f=[],e=0;e<d;e++)if(e in c){var g=c[e];a.call(b,g,e,c)&&f.push(g)}return f})}function Ta(){Object.keys||(Object.keys=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push(c);return b})}function sa(a,b){var c=[];if("undefined"==typeof document.querySelector)jQuery("#"+a+' input[type=checkbox]:checked, input[type=hidden][name^="'+
63
+ b+'"]').each(function(){c.push(this.value)});else for(var d=document.querySelectorAll("#"+a+' input[type=checkbox], input[type=hidden][name^="'+b+'"]'),f=0;f<d.length;f++)("checkbox"==d[f].type&&d[f].checked||"hidden"==d[f].type)&&c.push(d[f].value);return c}var p=[],D={},F=[],Q=[],B="",J=!1,S="",y=[];return{init:function(){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)?
64
+ 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",".frm_toggle_default",Aa);jQuery(document).on("blur",".frm_toggle_default",Ba);jQuery(".frm_toggle_default").blur();jQuery(document.getElementById("frm_resend_email")).click(Ca);jQuery(document).on("change",".frm_multiple_file",Fa);jQuery(document).on("click",".frm_clear_file_link",
65
+ Ia);jQuery(document).on("click",".frm_remove_link",Ga);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"]',z);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",
66
+ '.frm_other_container input[type="checkbox"], .frm_other_container input[type="radio"], .frm_other_container select',v);jQuery(document).on("change","input[type=file].frm_transparent",u);jQuery(document).on("click",".frm_remove_form_row",Ja);jQuery(document).on("click",".frm_add_form_row",Ka);jQuery(document).on("click","a[data-frmconfirm]",Oa);jQuery("a[data-frmtoggle]").click(Pa);jQuery(".frm_edit_link_container").on("click","a.frm_inplace_edit",La);jQuery(".frm_edit_link_container").on("click",
67
+ "a.frm_cancel_edit",Ma);jQuery(document).on("click",".frm_ajax_delete",Na);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"),jQuery(this).next(".frm_toggle_container").hide())});
68
+ Qa();Ra();Sa();Ta()},submitForm:function(a){a.preventDefault();a=frmFrontForm.validateFormSubmit(this);0===Object.keys(a).length&&frmFrontForm.checkFormErrors(this,S)},validateFormSubmit:function(a){jQuery(this).find(".wp-editor-wrap").length&&"undefined"!=typeof tinyMCE&&tinyMCE.triggerSave();S=jQuery(a).find('input[name="frm_action"]').val();y=[];var b=jQuery(a).hasClass("frm_js_validate");b&&(na(a)||oa(a))&&(b=!1);b&&(frmFrontForm.getAjaxFormErrors(a),Object.keys(y).length&&frmFrontForm.addAjaxFormErrors(a));
69
+ return y},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,f=c.length;d<f;d++)b=T(c[d],b);c=jQuery(a).find("input[type=email]").filter(":visible");d=jQuery(a).find("input,select,textarea");if(d.length)for(var f=0,e=d.length;f<e;f++){var g=d[f];""!==g.value&&"hidden"!=g.type&&("number"==g.type?b=V(g,b):"email"==g.type?b=U(g,b,c):
70
+ null!==g.pattern&&(b=W(g,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]=""));y=b;if("function"==typeof frmThemeOverride_jsErrors&&(a=frmThemeOverride_jsErrors(S,a),Object.keys(a).length))for(var h in a)y[h]=a[h];return y},addAjaxFormErrors:function(a){jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");
71
+ for(var b in y){var c=jQuery(a).find("#frm_field_"+b+"_container");c.length?L(c,b,y):delete y[b]}pa(a)},checkFormErrors:function(a,b){za(a,b)},scrollToID:function(a){a=jQuery(document.getElementById(a).offset());window.scrollTo(a.left,a.top)},scrollMsg:function(a,b,c){var d="",d="undefined"==typeof b?jQuery(document.getElementById("frm_form_"+a+"_container")):"string"==typeof a?jQuery(b).find("#frm_field_"+a+"_container"):a;if(a=d.offset().top){a-=frm_js.offset;b=jQuery("html").css("margin-top");
72
+ 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 na(a)},goingToPreviousPage:function(a){return oa(a)},hideCondFields:function(a){a=JSON.parse(a);for(var b=0,c=a.length;b<c;b++){var d=document.getElementById("frm_field_"+a[b]+
73
+ "_container");null!==d?d.style.display="none":jQuery(".frm_field_"+a[b]+"_container").hide()}},checkDependent:function(a){a=JSON.parse(a);for(var b="reset",c=0,d=a.length;c<d;c++)r(a[c],null,null,b),b="persist"},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]],f=b[c],e=0;e<d.length;e++)Da(d[e],f);else setTimeout(frmFrontForm.loadGoogle,30)},removeUsedTimes:function(a,b){var c=jQuery(a).parents("form:first").find('input[name="id"]');
74
+ 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 e in a)c.find('option[value="'+e+'"]').attr("disabled","disabled")}})},escapeHtml:function(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,
75
+ "&#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()});function frmRecaptcha(){for(var l=jQuery(".frm-g-recaptcha"),n=0,u=l.length;n<u;n++){var v=grecaptcha.render(l[n].id,{sitekey:l[n].getAttribute("data-sitekey"),theme:l[n].getAttribute("data-theme")});l[n].setAttribute("data-rid",v)}}
76
+ function frmUpdateField(l,n,u,v,z){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:u,nonce:frm_js.nonce},success:function(){""===v.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById("frm_update_field_"+l+"_"+n+"_"+z)).fadeOut("slow"):jQuery(document.getElementById("frm_update_field_"+l+"_"+n+"_"+z)).replaceWith(v)}})}
77
+ function frmEditEntry(l,n,u,v,z,t){console.warn("DEPRECATED: function frmEditEntry in v2.0.13 use frmFrontForm.editEntry");var r=jQuery(document.getElementById("frm_edit_"+l)),w=r.html(),x=jQuery(document.getElementById(n+l)),A=x.html();x.html('<span class="frm-loading-img" id="'+n+l+'"></span><div class="frm_orig_content" style="display:none">'+A+"</div>");jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"html",data:{action:"frm_entries_edit_entry_ajax",post_id:u,entry_id:l,id:v,nonce:frm_js.nonce},
78
+ success:function(A){x.children(".frm-loading-img").replaceWith(A);r.replaceWith('<span id="frm_edit_'+l+'"><a onclick="frmCancelEdit('+l+",'"+n+"','"+frmFrontForm.escapeHtml(w)+"',"+u+","+v+",'"+t+'\')" class="'+t+'">'+z+"</a></span>")}})}
79
+ function frmCancelEdit(l,n,u,v,z,t){console.warn("DEPRECATED: function frmCancelEdit in v2.0.13 use frmFrontForm.cancelEdit");var r=jQuery(document.getElementById("frm_edit_"+l)),w=r.find("a"),x=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"));r.replaceWith('<a id="frm_edit_'+l+'" class="frm_edit_link '+t+'" href="javascript:frmEditEntry('+l+",'"+
80
+ n+"',"+v+","+z+",'"+frmFrontForm.escapeHtml(x)+"','"+t+"')\">"+u+"</a>")}
81
+ 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(u){"success"==u.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById(n+l)).fadeOut("slow"):jQuery(document.getElementById("frm_delete_"+
82
  l)).replaceWith(u)}})}function frmOnSubmit(l){console.warn("DEPRECATED: function frmOnSubmit in v2.0 use frmFrontForm.submitForm");frmFrontForm.submitForm(l,this)}
83
+ 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)}})};
js/formidable_admin.js CHANGED
@@ -190,55 +190,28 @@ function frmAdminBuildJS(){
190
  forcePlaceholderSize:false,
191
  tolerance:'pointer',
192
  receive:function(event,ui){
 
 
193
  if ( cancelSort ) {
194
  ui.item.addClass('frm_cancel_sort');
195
  return;
196
  }
197
 
198
- if(ui.item.hasClass('open')){
199
- ui.item.click();
200
- }
201
- var new_id = ui.item.attr('id');
202
- if(typeof new_id == 'undefined'){
203
  return;
204
  }
205
 
206
- var s = jQuery(this).data().uiSortable.currentItem;
207
- if(typeof s == 'undefined'){
208
- s = ui.item;
209
- }
210
 
211
- var form_id = '';
212
- if(typeof s !== 'undefined'){
213
- s = s.closest('.edit_field_type_divider');
214
- if(typeof s !== 'undefined' ){
215
- var sDivide = s.children('.start_divider');
216
- sDivide.children('.edit_field_type_end_divider').appendTo(sDivide);
217
- if(typeof s.data('formid') !== 'undefined'){
218
- form_id = s.find('input[name^="field_options[form_select_"]').val();
219
- }
220
- }
221
- }
222
-
223
- if(typeof form_id == 'undefined' || form_id === ''){
224
- form_id = this_form_id;
225
- }
226
-
227
- // reordering between sections
228
- if(new_id.indexOf('frm_field_id') !== -1){
229
- var field_id = new_id.replace('frm_field_id_', '');
230
- //update the form id
231
- jQuery.ajax({
232
- type:'POST',url:ajaxurl,
233
- data:{
234
- action:'frm_update_field_form_id',
235
- form_id:form_id,field:field_id,
236
- nonce:frmGlobal.nonce
237
- },
238
- success:function(){
239
- toggleSectionHolder();
240
- }
241
- });
242
  return;
243
  }
244
 
@@ -248,31 +221,7 @@ function frmAdminBuildJS(){
248
  jQuery('#'+switchto).show();
249
  }
250
 
251
- jQuery('#new_fields .frmbutton.frm_t'+new_id).replaceWith('<img class="frmbutton frmbutton_loadingnow" id="'+new_id+'" src="'+frm_js.images_url+'/ajax_loader.gif" alt="'+frm_js.loading+'" />');
252
- jQuery.ajax({
253
- type:'POST',url:ajaxurl,
254
- data:'action=frm_insert_field&form_id='+form_id+'&field='+new_id+'&nonce='+frmGlobal.nonce,
255
- success:function(msg){
256
- jQuery('.frm_no_fields').hide();
257
- jQuery('.frmbutton_loadingnow#'+new_id).replaceWith(msg);
258
-
259
- var regex = /id="(\S+)"/;
260
- var match = regex.exec(msg);
261
- var $thisField = jQuery(document.getElementById(match[1]));
262
- $thisField.find('.frm_ipe_field_label').mouseover().click();
263
-
264
- updateFieldOrder();
265
-
266
- var $thisSection = $thisField.find('ul.frm_sorting');
267
- if($thisSection.length){
268
- $thisSection.sortable(opts);
269
- $thisSection.parent('.frm_field_box').children('.frm_no_section_fields').show();
270
- }else{
271
- var $parentSection = $thisField.closest('ul.frm_sorting');
272
- toggleOneSectionHolder($parentSection);
273
- }
274
- }
275
- });
276
  },
277
  change:function(event, ui){
278
  // don't allow some field types inside section
@@ -306,6 +255,117 @@ function frmAdminBuildJS(){
306
  jQuery(sort).sortable(opts);
307
  }
308
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  // don't allow page break, embed form, captcha, or section inside section field
310
  function allowDrop(ui){
311
  if ( ! ui.placeholder.parent().hasClass('start_divider') ) {
@@ -386,7 +446,13 @@ function frmAdminBuildJS(){
386
  }
387
  jQuery.ajax({
388
  type:'POST',url:ajaxurl,
389
- data:{action:'frm_insert_field',form_id:form_id,field:field_type,nonce:frmGlobal.nonce},
 
 
 
 
 
 
390
  success:function(msg){
391
  jQuery('.frm_no_fields').hide();
392
  $newFields.append(msg);
@@ -772,6 +838,14 @@ function frmAdminBuildJS(){
772
  success:function(id){
773
  //return form id to hidden field
774
  jQuery('input[name="field_options[form_select_'+field_id+']"]').val(id);
 
 
 
 
 
 
 
 
775
  }
776
  });
777
  }
@@ -1752,15 +1826,20 @@ function frmAdminBuildJS(){
1752
  success:function(json){
1753
  var i;
1754
  var licenses = json.licenses;
 
1755
  for ( i in licenses ) {
1756
  if (licenses.hasOwnProperty(i)) {
1757
  var input = jQuery('#edd_'+ licenses[i].slug +'_license_key');
1758
  if ( typeof input !== null && input.is(':visible') ) {
1759
  input.val(licenses[i].key);
1760
  jQuery('input[name="edd_'+ licenses[i].slug +'_license_activate"]').click();
 
1761
  }
1762
  }
1763
  }
 
 
 
1764
  }
1765
  });
1766
  return false;
190
  forcePlaceholderSize:false,
191
  tolerance:'pointer',
192
  receive:function(event,ui){
193
+ // Receive event occurs when an item in one sortable list is dragged into another sortable list
194
+
195
  if ( cancelSort ) {
196
  ui.item.addClass('frm_cancel_sort');
197
  return;
198
  }
199
 
200
+ closeOpenDropdown( ui.item );
201
+
202
+ // Get the current field or button's HTML ID
203
+ var fieldHTMLId = ui.item.attr('id');
204
+ if ( typeof fieldHTMLId == 'undefined' ) {
205
  return;
206
  }
207
 
208
+ var section = getSectionForFieldPlacement( this, ui.item );
209
+ var formId = getFormIdForFieldPlacement( section );
210
+ var sectionId = getSectionIdForFieldPlacement( section );
 
211
 
212
+ // An existing field was dragged and dropped into, out of, or between sections
213
+ if ( fieldHTMLId.indexOf( 'frm_field_id') !== -1 ) {
214
+ updateFieldAfterMovingBetweenSections( fieldHTMLId, formId, sectionId );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  return;
216
  }
217
 
221
  jQuery('#'+switchto).show();
222
  }
223
 
224
+ insertNewFieldByDragging( fieldHTMLId, formId, sectionId, opts );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  },
226
  change:function(event, ui){
227
  // don't allow some field types inside section
255
  jQuery(sort).sortable(opts);
256
  }
257
 
258
+ // Close an open dropdown in the Fields panel
259
+ function closeOpenDropdown( fieldButton ) {
260
+ if ( fieldButton.hasClass('open') ) {
261
+ fieldButton.click();
262
+ }
263
+ }
264
+
265
+ // Get the section where a field is dropped
266
+ function getSectionForFieldPlacement( selectedItem, uiItem ){
267
+ var currentItem = jQuery(selectedItem).data().uiSortable.currentItem;
268
+ if ( typeof currentItem == 'undefined' ) {
269
+ currentItem = uiItem;
270
+ }
271
+
272
+ var section = '';
273
+ if ( typeof currentItem !== 'undefined' ) {
274
+ section = currentItem.closest('.edit_field_type_divider');
275
+ }
276
+
277
+ return section;
278
+ }
279
+
280
+ // Get the form ID where a field is dropped
281
+ function getFormIdForFieldPlacement( section ) {
282
+ var form_id = '';
283
+
284
+ if ( typeof section[0] !== 'undefined' ) {
285
+ var sDivide = section.children('.start_divider');
286
+ sDivide.children('.edit_field_type_end_divider').appendTo(sDivide);
287
+ if (typeof section.data('formid') !== 'undefined') {
288
+ form_id = section.find('input[name^="field_options[form_select_"]').val();
289
+ }
290
+ }
291
+
292
+ if ( typeof form_id == 'undefined' || form_id === '' ){
293
+ form_id = this_form_id;
294
+ }
295
+
296
+ return form_id;
297
+ }
298
+
299
+ // Get the section ID where a field is dropped
300
+ function getSectionIdForFieldPlacement( section ) {
301
+ var sectionId = 0;
302
+ if ( typeof section[0] !== 'undefined' ){
303
+ sectionId = section.attr('id').replace( 'frm_field_id_', '' );
304
+ }
305
+
306
+ return sectionId;
307
+ }
308
+
309
+ // Update a field after it is dragged and dropped into, out of, or between sections
310
+ function updateFieldAfterMovingBetweenSections( fieldHTMLId, formId, sectionId ) {
311
+ var fieldId = fieldHTMLId.replace('frm_field_id_', '');
312
+
313
+ jQuery.ajax({
314
+ type: 'POST', url: ajaxurl,
315
+ data: {
316
+ action: 'frm_update_field_after_move',
317
+ form_id: formId,
318
+ field: fieldId,
319
+ section_id: sectionId,
320
+ nonce: frmGlobal.nonce
321
+ },
322
+ success: function () {
323
+ toggleSectionHolder();
324
+ updateInSectionValue( fieldId, sectionId );
325
+ }
326
+ });
327
+ }
328
+
329
+ // Update the in_section field value
330
+ function updateInSectionValue( fieldId, sectionId ) {
331
+ document.getElementById( 'frm_in_section_' + fieldId ).value = sectionId;
332
+ }
333
+
334
+ // Add a new field by dragging and dropping it from the Fields sidebar
335
+ function insertNewFieldByDragging( fieldType, formId, sectionId, opts ) {
336
+ jQuery('#new_fields .frmbutton.frm_t' + fieldType).replaceWith('<img class="frmbutton frmbutton_loadingnow" id="' + fieldType + '" src="' + frm_js.images_url + '/ajax_loader.gif" alt="' + frm_js.loading + '" />');
337
+ jQuery.ajax({
338
+ type: 'POST', url: ajaxurl,
339
+ data: {
340
+ action: 'frm_insert_field',
341
+ form_id: formId,
342
+ field_type: fieldType,
343
+ section_id: sectionId,
344
+ nonce: frmGlobal.nonce
345
+ },
346
+ success: function (msg) {
347
+ jQuery('.frm_no_fields').hide();
348
+ jQuery('.frmbutton_loadingnow#' + fieldType).replaceWith(msg);
349
+
350
+ var regex = /id="(\S+)"/;
351
+ var match = regex.exec(msg);
352
+ var $thisField = jQuery(document.getElementById(match[1]));
353
+ $thisField.find('.frm_ipe_field_label').mouseover().click();
354
+
355
+ updateFieldOrder();
356
+
357
+ var $thisSection = $thisField.find('ul.frm_sorting');
358
+ if ($thisSection.length) {
359
+ $thisSection.sortable(opts);
360
+ $thisSection.parent('.frm_field_box').children('.frm_no_section_fields').show();
361
+ } else {
362
+ var $parentSection = $thisField.closest('ul.frm_sorting');
363
+ toggleOneSectionHolder($parentSection);
364
+ }
365
+ }
366
+ });
367
+ }
368
+
369
  // don't allow page break, embed form, captcha, or section inside section field
370
  function allowDrop(ui){
371
  if ( ! ui.placeholder.parent().hasClass('start_divider') ) {
446
  }
447
  jQuery.ajax({
448
  type:'POST',url:ajaxurl,
449
+ data:{
450
+ action:'frm_insert_field',
451
+ form_id:form_id,
452
+ field_type:field_type,
453
+ section_id:0,
454
+ nonce:frmGlobal.nonce
455
+ },
456
  success:function(msg){
457
  jQuery('.frm_no_fields').hide();
458
  $newFields.append(msg);
838
  success:function(id){
839
  //return form id to hidden field
840
  jQuery('input[name="field_options[form_select_'+field_id+']"]').val(id);
841
+
842
+ // Update data-formid on section field
843
+ var fieldListElement = document.getElementById( 'frm_field_id_' + field_id );
844
+ if ( id != '' ) {
845
+ fieldListElement.setAttribute('data-formid', id);
846
+ } else {
847
+ fieldListElement.setAttribute('data-formid', main_form_id);
848
+ }
849
  }
850
  });
851
  }
1826
  success:function(json){
1827
  var i;
1828
  var licenses = json.licenses;
1829
+ var filledSomething = false;
1830
  for ( i in licenses ) {
1831
  if (licenses.hasOwnProperty(i)) {
1832
  var input = jQuery('#edd_'+ licenses[i].slug +'_license_key');
1833
  if ( typeof input !== null && input.is(':visible') ) {
1834
  input.val(licenses[i].key);
1835
  jQuery('input[name="edd_'+ licenses[i].slug +'_license_activate"]').click();
1836
+ filledSomething = true;
1837
  }
1838
  }
1839
  }
1840
+ if ( ! filledSomething ) {
1841
+ jQuery('.edd_frm_fill_license').replaceWith(frm_admin_js.no_licenses);
1842
+ }
1843
  }
1844
  });
1845
  return false;
languages/formidable-da_DK.mo DELETED
Binary file
languages/formidable-da_DK.po DELETED
@@ -1,8196 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Formidable v2.0.08\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-04-19 23:35+0100\n"
6
- "PO-Revision-Date: 2015-05-23 00:02:08+0000\n"
7
- "Last-Translator: Henrik Gregersen <henrik@bonest.dk>\n"
8
- "Language-Team: Henrik Gregersen <henrik@bonest.dk>\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.7.6\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/FrmAppController.php:54
24
- #: classes/helpers/FrmFormsListHelper.php:310
25
- #: classes/views/frm-forms/settings.php:3
26
- #: classes/views/shared/form-nav.php:12
27
- #: pro/classes/controllers/FrmProDisplaysController.php:301
28
- #@ formidable
29
- msgid "Settings"
30
- msgstr "Opsætning"
31
-
32
- #: classes/controllers/FrmAppController.php:76
33
- #, php-format
34
- #@ formidable
35
- msgid "This site has been previously authorized to run Formidable Forms.<br/>%1$sInstall the pro version%2$s or %3$sdeauthorize%4$s this site to continue running the free version and remove this message."
36
- msgstr "Dette website er godkendt til Formidable Pro.<br/>%1$sInstaller pro versionen%2$s eller %3$sfjern godkendelsen%4$s for dette website for at anvende gratis versionen og for at fjerne denne besked."
37
-
38
- #: classes/controllers/FrmAppController.php:258
39
- #: classes/helpers/FrmAppHelper.php:1655
40
- #@ default
41
- msgid "Loading&hellip;"
42
- msgstr "Henter&hellip;"
43
-
44
- #: classes/controllers/FrmAppController.php:259
45
- #: classes/views/styles/_sample_form.php:90
46
- #: pro/classes/helpers/FrmProFieldsHelper.php:626
47
- #: pro/classes/helpers/FrmProFormsHelper.php:301
48
- #: pro/classes/views/frmpro-fields/form-fields.php:188
49
- #@ formidable
50
- msgid "Remove"
51
- msgstr "Fjern"
52
-
53
- #: classes/controllers/FrmAppController.php:262
54
- #: pro/classes/helpers/FrmCSVExportHelper.php:106
55
- #: pro/classes/helpers/FrmProFieldsHelper.php:2666
56
- #: pro/classes/helpers/FrmProFieldsHelper.php:2681
57
- #: pro/classes/views/displays/mb_advanced.php:94
58
- #: pro/classes/views/frmpro-entries/table.php:5
59
- #@ formidable
60
- msgid "ID"
61
- msgstr "ID"
62
-
63
- #: classes/controllers/FrmAppController.php:268
64
- #@ formidable
65
- msgid "Are you sure you want to do this? Clicking OK will delete all forms, form data, and all other Formidable data. There is no Undo."
66
- msgstr "Er du sikker på atdu vil gøre dette? Klikker du OK fjernes alle formularer, og alle data relateret til Formidable. Dette kan ikke fortrydes."
67
-
68
- #: classes/controllers/FrmAppController.php:269
69
- #: classes/views/frm-forms/add_field.php:89
70
- #: classes/views/frm-forms/add_field.php:101
71
- #: classes/views/frm-forms/form.php:13
72
- #@ formidable
73
- msgid "(Click to add description)"
74
- msgstr "(Klik for at tilføje en beskrivelse)"
75
-
76
- #: classes/controllers/FrmAppController.php:270
77
- #@ formidable
78
- msgid "(blank)"
79
- msgstr "(blank)"
80
-
81
- #: classes/controllers/FrmAppController.php:271
82
- #: classes/views/frm-forms/add_field.php:62
83
- #: pro/classes/views/frmpro-fields/field-selection.php:12
84
- #@ formidable
85
- msgid "(no label)"
86
- msgstr "(ingen label)"
87
-
88
- #: classes/controllers/FrmAppController.php:272
89
- #@ formidable
90
- msgid "Saving"
91
- msgstr "Gemmer"
92
-
93
- #: classes/controllers/FrmAppController.php:273
94
- #@ formidable
95
- msgid "Saved"
96
- msgstr "Gemt"
97
-
98
- #: classes/controllers/FrmAppController.php:274
99
- #: classes/views/frm-forms/_publish_box.php:74
100
- #@ default
101
- msgid "OK"
102
- msgstr "OK"
103
-
104
- #: classes/controllers/FrmAppController.php:275
105
- #: classes/views/frm-forms/_publish_box.php:75
106
- #: pro/classes/controllers/FrmProEntriesController.php:1924
107
- #: pro/classes/controllers/FrmUpdatesController.php:172
108
- #: pro/classes/views/frmpro-entries/sidebar-new.php:14
109
- #: pro/classes/views/frmpro-form-actions/_custom_field_row.php:31
110
- #@ formidable
111
- #@ default
112
- msgid "Cancel"
113
- msgstr "Annuller"
114
-
115
- #: classes/controllers/FrmAppController.php:276
116
- #: classes/helpers/FrmFormsListHelper.php:270
117
- #: classes/views/frm-forms/add_field.php:229
118
- #: classes/views/styles/_buttons.php:8
119
- #: classes/views/styles/_field-colors.php:4
120
- #: pro/classes/controllers/FrmProFormsController.php:418
121
- #: pro/classes/controllers/FrmProFormsController.php:465
122
- #: pro/classes/views/frmpro-forms/add_form_button_options.php:27
123
- #@ formidable
124
- msgid "Default"
125
- msgstr "Standard"
126
-
127
- #: classes/controllers/FrmAppController.php:277
128
- #: classes/helpers/FrmFieldsHelper.php:1250
129
- #@ formidable
130
- msgid "Clear default value when typing"
131
- msgstr "Fjern standard værdien når der tastes"
132
-
133
- #: classes/controllers/FrmAppController.php:278
134
- #: classes/helpers/FrmFieldsHelper.php:1250
135
- #@ formidable
136
- msgid "Do not clear default value when typing"
137
- msgstr "Fjern ikke standard værdien når der tastes"
138
-
139
- #: classes/controllers/FrmAppController.php:279
140
- #: classes/helpers/FrmFieldsHelper.php:1259
141
- #@ formidable
142
- msgid "Default value will pass form validation"
143
- msgstr "Standardværdien er gyldig ved formular validering"
144
-
145
- #: classes/controllers/FrmAppController.php:280
146
- #: classes/helpers/FrmFieldsHelper.php:1259
147
- #@ formidable
148
- msgid "Default value will NOT pass form validation"
149
- msgstr "Standard værdien vil ikke være gyldig i formular validering"
150
-
151
- #: classes/controllers/FrmAppController.php:281
152
- #@ formidable
153
- msgid "Are you sure?"
154
- msgstr "Er du sikker?"
155
-
156
- #: classes/controllers/FrmAppController.php:282
157
- #@ formidable
158
- msgid "Are you sure you want to delete this field and all data associated with it?"
159
- msgstr "Er du sikker på at du vil slette dette felt og alle data der er gemt for feltet?"
160
-
161
- #: classes/controllers/FrmAppController.php:283
162
- #@ formidable
163
- msgid "WARNING: This will delete all fields inside of the section as well."
164
- msgstr "ADVARSEL: Dette sletter også alle felter i sketionen."
165
-
166
- #: classes/controllers/FrmAppController.php:284
167
- #@ formidable
168
- msgid "Warning: If you have entries with multiple rows, all but the first row will be lost."
169
- msgstr "Advarsel: Hvis du her poster med flere rækker, vil alle rækker på nær den første blive slettet."
170
-
171
- #: classes/controllers/FrmAppController.php:286
172
- #: pro/classes/helpers/FrmProFieldsHelper.php:628
173
- #: pro/classes/models/FrmProEntryMeta.php:496
174
- #: pro/classes/models/FrmProEntryMeta.php:501
175
- #@ formidable
176
- msgid "The entered values do not match"
177
- msgstr "Det indtastede er forskelligt"
178
-
179
- #: classes/controllers/FrmAppController.php:287
180
- #@ formidable
181
- msgid "Enter Email"
182
- msgstr "Indtast din e-mail adresse"
183
-
184
- #: classes/controllers/FrmAppController.php:288
185
- #@ formidable
186
- msgid "Confirm Email"
187
- msgstr "Bekræft din e-mail adresse"
188
-
189
- #: classes/controllers/FrmAppController.php:289
190
- #@ formidable
191
- msgid "Enter Password"
192
- msgstr "Indtast adgangskode"
193
-
194
- #: classes/controllers/FrmAppController.php:290
195
- #@ formidable
196
- msgid "Confirm Password"
197
- msgstr "Bekræft adgangskoden"
198
-
199
- #: classes/controllers/FrmAppController.php:291
200
- #@ formidable
201
- msgid "Import Complete"
202
- msgstr "Import gennemført"
203
-
204
- #: classes/controllers/FrmAppController.php:292
205
- #: classes/helpers/FrmAppHelper.php:1652
206
- #@ formidable
207
- msgid "Please wait while your site updates."
208
- msgstr "Vent venligst mens din side opdateres."
209
-
210
- #: classes/controllers/FrmAppController.php:293
211
- #@ formidable
212
- msgid "Warning: There is no way to retrieve unsaved entries."
213
- msgstr "Advarsel: Der er ingen måde du kan få adgang til ikke gemte poster."
214
-
215
- #: classes/controllers/FrmEntriesController.php:8
216
- #: classes/controllers/FrmEntriesController.php:119
217
- #: classes/controllers/FrmFormsController.php:502
218
- #: classes/views/frm-entries/list.php:3
219
- #: classes/views/shared/form-nav.php:16
220
- #: pro/classes/controllers/FrmProXMLController.php:55
221
- #: pro/classes/views/frmpro-fields/options-form.php:41
222
- #: pro/classes/views/frmpro-statistics/show.php:67
223
- #@ formidable
224
- msgid "Entries"
225
- msgstr "Poster"
226
-
227
- #: classes/controllers/FrmEntriesController.php:53
228
- #@ formidable
229
- msgid "Overview"
230
- msgstr "Oversigt"
231
-
232
- #: classes/controllers/FrmEntriesController.php:54
233
- #@ formidable
234
- msgid "This screen provides access to all of your entries. You can customize the display of this screen to suit your workflow."
235
- msgstr "Denne side viser alle dine poster. Du kan tilpasse visningen af denne side så det passer til dig."
236
-
237
- #: classes/controllers/FrmEntriesController.php:54
238
- #@ formidable
239
- msgid "Hovering over a row in the entries list will display action links that allow you to manage your entry."
240
- msgstr "Hold musen over en række i posterne vil vise links som kan anvendes til at håndtere dine poster."
241
-
242
- #: classes/controllers/FrmEntriesController.php:58
243
- #@ formidable
244
- msgid "For more information:"
245
- msgstr "Få flere oplysninger:"
246
-
247
- #: classes/controllers/FrmEntriesController.php:59
248
- #@ formidable
249
- msgid "Documentation on Entries"
250
- msgstr "Dokumentation for poster"
251
-
252
- #: classes/controllers/FrmEntriesController.php:60
253
- #@ formidable
254
- msgid "Support"
255
- msgstr "Support"
256
-
257
- #: classes/controllers/FrmEntriesController.php:71
258
- #: classes/controllers/FrmFormsController.php:669
259
- #: classes/views/frm-entries/form.php:31
260
- #: classes/views/frm-entries/sidebar-shared.php:23
261
- #: pro/classes/helpers/FrmProFieldsHelper.php:2647
262
- #: pro/classes/views/displays/where_row.php:7
263
- #: pro/classes/views/xml/map_csv_fields.php:57
264
- #@ formidable
265
- msgid "Entry Key"
266
- msgstr "Post Id"
267
-
268
- #: classes/controllers/FrmEntriesController.php:111
269
- #: pro/classes/helpers/FrmProEntriesListHelper.php:57
270
- #: pro/classes/helpers/FrmProEntriesListHelper.php:68
271
- #: pro/classes/helpers/FrmProFieldsHelper.php:2650
272
- #: pro/classes/views/displays/_calendar_options.php:4
273
- #: pro/classes/views/displays/_calendar_options.php:16
274
- #: pro/classes/views/displays/order_row.php:4
275
- #: pro/classes/views/displays/where_row.php:4
276
- #@ formidable
277
- msgid "Entry creation date"
278
- msgstr "Oprettet dato"
279
-
280
- #: classes/controllers/FrmEntriesController.php:112
281
- #: pro/classes/helpers/FrmProFieldsHelper.php:2651
282
- #: pro/classes/views/displays/_calendar_options.php:5
283
- #: pro/classes/views/displays/_calendar_options.php:17
284
- #: pro/classes/views/displays/order_row.php:5
285
- #@ formidable
286
- msgid "Entry update date"
287
- msgstr "Opdateret dato"
288
-
289
- #: classes/controllers/FrmEntriesController.php:296
290
- #, php-format
291
- #@ formidable
292
- msgid "This form is in the trash and is scheduled to be deleted permanently in %s along with any entries."
293
- msgstr "Denne formular er i papirkurven, og bliver permanent slettet om %s sammen med alle poster."
294
-
295
- #: classes/controllers/FrmEntriesController.php:321
296
- #@ formidable
297
- msgid "Your import is complete"
298
- msgstr "Din import er færdig"
299
-
300
- #: classes/controllers/FrmEntriesController.php:365
301
- #@ formidable
302
- msgid "Entry was Successfully Destroyed"
303
- msgstr "Posten blev fjernet"
304
-
305
- #: classes/controllers/FrmEntriesController.php:398
306
- #@ formidable
307
- msgid "Entries were Successfully Destroyed"
308
- msgstr "Poster blev fjernet"
309
-
310
- #: classes/controllers/FrmEntriesController.php:401
311
- #: pro/classes/controllers/FrmProEntriesController.php:390
312
- #@ formidable
313
- msgid "No entries were specified"
314
- msgstr "Ingen poster angivet"
315
-
316
- #: classes/controllers/FrmFieldsController.php:236
317
- #@ formidable
318
- msgid "Other"
319
- msgstr "Øvrige"
320
-
321
- #: classes/controllers/FrmFieldsController.php:250
322
- #@ formidable
323
- msgid "Option"
324
- msgstr "Egenskab"
325
-
326
- #: classes/controllers/FrmFieldsController.php:319
327
- #: classes/views/frm-fields/single-option.php:6
328
- #: classes/views/frm-fields/single-option.php:8
329
- #: pro/classes/views/frmpro-fields/other-option.php:10
330
- #@ formidable
331
- msgid "(Blank)"
332
- msgstr "(Blank)"
333
-
334
- #: classes/controllers/FrmFormActionsController.php:9
335
- #: classes/views/frm-forms/settings.php:33
336
- #@ formidable
337
- msgid "Form Actions"
338
- msgstr "Formular handlinger"
339
-
340
- #: classes/controllers/FrmFormsController.php:10
341
- #: classes/controllers/FrmFormsController.php:509
342
- #: classes/controllers/FrmXMLController.php:55
343
- #: classes/views/frm-forms/list.php:5
344
- #@ formidable
345
- msgid "Forms"
346
- msgstr "Formularer"
347
-
348
- #: classes/controllers/FrmFormsController.php:136
349
- #@ formidable
350
- msgid "Settings Successfully Updated"
351
- msgstr "Opsætningen opdateret"
352
-
353
- #: classes/controllers/FrmFormsController.php:190
354
- #: classes/controllers/FrmFormsController.php:582
355
- #@ formidable
356
- msgid "Form was Successfully Updated"
357
- msgstr "Formularen er opdateret"
358
-
359
- #: classes/controllers/FrmFormsController.php:205
360
- #: classes/controllers/FrmFormsController.php:232
361
- #@ formidable
362
- msgid "Form template was Successfully Created"
363
- msgstr "Formular skabelon oprettet"
364
-
365
- #: classes/controllers/FrmFormsController.php:232
366
- #@ formidable
367
- msgid "Form was Successfully Copied"
368
- msgstr "Formular blev kopieret"
369
-
370
- #: classes/controllers/FrmFormsController.php:236
371
- #@ formidable
372
- msgid "There was a problem creating new template."
373
- msgstr "Der opstod et problem ved at oprette en ny skabelon."
374
-
375
- #: classes/controllers/FrmFormsController.php:296
376
- #: classes/helpers/FrmFormsHelper.php:663
377
- #, php-format
378
- #@ formidable
379
- msgid "%1$s form restored from the Trash."
380
- msgid_plural "%1$s forms restored from the Trash."
381
- msgstr[0] "%1$s formular genskabt fra papirkurven."
382
- msgstr[1] "%1$s formularer genskabt fra papirkurven."
383
-
384
- #: classes/controllers/FrmFormsController.php:315
385
- #: classes/helpers/FrmFormsHelper.php:664
386
- #, php-format
387
- #@ formidable
388
- msgid "%1$s form moved to the Trash. %2$sUndo%3$s"
389
- msgid_plural "%1$s forms moved to the Trash. %2$sUndo%3$s"
390
- msgstr[0] "%1$s formular blev flyttet til papirkurven. %2$sFortryd%3$s"
391
- msgstr[1] "%1$s formularer blev flyttet til papirkurven. %2$sFortryd%3$s"
392
-
393
- #: classes/controllers/FrmFormsController.php:333
394
- #: classes/controllers/FrmFormsController.php:349
395
- #: classes/controllers/FrmFormsController.php:363
396
- #, php-format
397
- #@ formidable
398
- msgid "%1$s form permanently deleted."
399
- msgid_plural "%1$s forms permanently deleted."
400
- msgstr[0] "%1$s formular blev slettet permanent."
401
- msgstr[1] "%1$s formularer blev slettet permanent."
402
-
403
- #: classes/controllers/FrmFormsController.php:400
404
- #@ formidable
405
- msgid "Add forms and content"
406
- msgstr "Opret formularer og indhold"
407
-
408
- #: classes/controllers/FrmFormsController.php:415
409
- #: classes/views/frm-forms/_publish_box.php:47
410
- #: classes/widgets/FrmShowForm.php:46
411
- #: pro/classes/controllers/FrmProDisplaysController.php:139
412
- #@ formidable
413
- msgid "Form"
414
- msgstr "Formular"
415
-
416
- #: classes/controllers/FrmFormsController.php:415
417
- #: classes/views/frm-forms/insert_form_popup.php:24
418
- #@ formidable
419
- msgid "Insert a Form"
420
- msgstr "Indsæt en formular"
421
-
422
- #: classes/controllers/FrmFormsController.php:441
423
- #@ formidable
424
- msgid "Display form title"
425
- msgstr "Vis formular titel"
426
-
427
- #: classes/controllers/FrmFormsController.php:442
428
- #@ formidable
429
- msgid "Display form description"
430
- msgstr "Vis formular beskrivelse"
431
-
432
- #: classes/controllers/FrmFormsController.php:443
433
- #@ formidable
434
- msgid "Minimize form HTML"
435
- msgstr "Minimer formular HTML"
436
-
437
- #: classes/controllers/FrmFormsController.php:497
438
- #@ formidable
439
- msgid "Template Name"
440
- msgstr "Skabelon Navn"
441
-
442
- #: classes/controllers/FrmFormsController.php:498
443
- #@ formidable
444
- msgid "Type"
445
- msgstr "Type"
446
-
447
- #: classes/controllers/FrmFormsController.php:499
448
- #: classes/controllers/FrmFormsController.php:503
449
- #: pro/classes/controllers/FrmProDisplaysController.php:145
450
- #: pro/classes/helpers/FrmCSVExportHelper.php:107
451
- #: pro/classes/helpers/FrmProFieldsHelper.php:2667
452
- #: pro/classes/helpers/FrmProFieldsHelper.php:2682
453
- #: pro/classes/views/displays/mb_advanced.php:95
454
- #@ formidable
455
- msgid "Key"
456
- msgstr "Key"
457
-
458
- #: classes/controllers/FrmFormsController.php:501
459
- #: classes/views/styles/_sample_form.php:10
460
- #: classes/views/styles/manage.php:15
461
- #@ formidable
462
- msgid "Form Title"
463
- msgstr "Formular titel"
464
-
465
- #: classes/controllers/FrmFormsController.php:504
466
- #: classes/views/frm-forms/_publish_box.php:47
467
- #: pro/classes/views/displays/submitbox_actions.php:2
468
- #@ formidable
469
- msgid "Shortcodes"
470
- msgstr "Shortcodes"
471
-
472
- #: classes/controllers/FrmFormsController.php:507
473
- #: classes/helpers/FrmFieldsHelper.php:35
474
- #: pro/classes/controllers/FrmProDisplaysController.php:144
475
- #@ formidable
476
- msgid "Date"
477
- msgstr "Dato"
478
-
479
- #: classes/controllers/FrmFormsController.php:560
480
- #@ formidable
481
- msgid "You are trying to edit a form that does not exist."
482
- msgstr "Du prøver at redigere en formular som ikke findes."
483
-
484
- #: classes/controllers/FrmFormsController.php:564
485
- #, php-format
486
- #@ formidable
487
- msgid "You are trying to edit a child form. Please edit from %1$shere%2$s"
488
- msgstr "Du prøver at redigere en child formular. Rediger venligsten formularen %1$sher%2$s"
489
-
490
- #: classes/controllers/FrmFormsController.php:584
491
- #@ formidable
492
- msgid "Template was Successfully Updated"
493
- msgstr "Skabelonen blev opdateret"
494
-
495
- #: classes/controllers/FrmFormsController.php:590
496
- #: classes/controllers/FrmFormsController.php:611
497
- #@ formidable
498
- msgid "That template cannot be edited"
499
- msgstr "Skabelonen kan ikke rettes"
500
-
501
- #: classes/controllers/FrmFormsController.php:646
502
- #@ formidable
503
- msgid "Separator"
504
- msgstr "Adskiller"
505
-
506
- #: classes/controllers/FrmFormsController.php:647
507
- #@ formidable
508
- msgid "Use a different separator for checkbox fields"
509
- msgstr "Anvend en anden separator for afkrydsnings felter"
510
-
511
- #: classes/controllers/FrmFormsController.php:649
512
- #: pro/classes/views/settings/form.php:48
513
- #@ formidable
514
- msgid "Date Format"
515
- msgstr "Dato format"
516
-
517
- #: classes/controllers/FrmFormsController.php:650
518
- #@ formidable
519
- msgid "Field Label"
520
- msgstr "Felt Label"
521
-
522
- #: classes/controllers/FrmFormsController.php:652
523
- #@ formidable
524
- msgid "No Auto P"
525
- msgstr "Ikke P"
526
-
527
- #: classes/controllers/FrmFormsController.php:653
528
- #@ formidable
529
- msgid "Do not automatically add any paragraphs or line breaks"
530
- msgstr "Tilføj ikke automatisk paragraphs tags eller linje skift"
531
-
532
- #: classes/controllers/FrmFormsController.php:769
533
- #@ formidable
534
- msgid "No forms were specified"
535
- msgstr "Ingen formularer blev angivet"
536
-
537
- #: classes/controllers/FrmFormsController.php:915
538
- #@ formidable
539
- msgid "Abnormal HTML characters prevented your form from saving correctly"
540
- msgstr "Ukorrekte HTML kode forhindrede din fomular fra at blive gemt korrekt"
541
-
542
- #: classes/controllers/FrmFormsController.php:960
543
- #: classes/controllers/FrmFormsController.php:963
544
- #@ formidable
545
- msgid "Edit Forms"
546
- msgstr "Rediger formularer"
547
-
548
- #: classes/controllers/FrmFormsController.php:972
549
- #: classes/helpers/FrmFormsHelper.php:56
550
- #: classes/helpers/FrmFormsHelper.php:111
551
- #: classes/helpers/FrmFormsHelper.php:567
552
- #: classes/helpers/FrmFormsListHelper.php:149
553
- #: classes/helpers/FrmFormsListHelper.php:333
554
- #: classes/views/frm-entries/list.php:25
555
- #: classes/views/shared/form-nav.php:36
556
- #: classes/views/styles/manage.php:31
557
- #: classes/views/xml/import_form.php:93
558
- #: pro/classes/controllers/FrmProDisplaysController.php:103
559
- #: pro/classes/controllers/FrmProFormsController.php:451
560
- #: pro/classes/views/xml/csv_opts.php:13
561
- #@ default
562
- #@ formidable
563
- msgid "(no title)"
564
- msgstr "(Uden titel)"
565
-
566
- #: classes/controllers/FrmFormsController.php:1010
567
- #: classes/controllers/FrmFormsController.php:1015
568
- #: classes/controllers/FrmFormsController.php:1027
569
- #@ formidable
570
- msgid "Please select a valid form"
571
- msgstr "Vælg venligst en gyldig formular"
572
-
573
- #: classes/controllers/FrmSettingsController.php:9
574
- #: classes/views/frm-settings/form.php:3
575
- #: classes/views/frm-settings/form.php:11
576
- #@ formidable
577
- msgid "Global Settings"
578
- msgstr "Global opsætning"
579
-
580
- #: classes/controllers/FrmSettingsController.php:51
581
- #: classes/controllers/FrmSettingsController.php:54
582
- #@ formidable
583
- msgid "Settings Saved"
584
- msgstr "Opsætning gemt"
585
-
586
- #: classes/controllers/FrmStatisticsController.php:6
587
- #: classes/views/frm-statistics/list_displays.php:4
588
- #: classes/views/shared/form-nav.php:22
589
- #: pro/classes/controllers/FrmProDisplaysController.php:12
590
- #: pro/classes/controllers/FrmProDisplaysController.php:35
591
- #: pro/classes/controllers/FrmProDisplaysController.php:52
592
- #: pro/classes/controllers/FrmProXMLController.php:56
593
- #@ formidable
594
- msgid "Views"
595
- msgstr "Views"
596
-
597
- #: classes/controllers/FrmStylesController.php:15
598
- #: classes/controllers/FrmStylesController.php:33
599
- #: classes/controllers/FrmStylesController.php:44
600
- #: pro/classes/controllers/FrmProXMLController.php:57
601
- #@ formidable
602
- msgid "Styles"
603
- msgstr "Styling"
604
-
605
- #: classes/controllers/FrmStylesController.php:34
606
- #: classes/controllers/FrmStylesController.php:35
607
- #: classes/views/styles/_field-colors.php:38
608
- #: classes/views/styles/_field-colors.php:84
609
- #: classes/views/styles/_field-description.php:13
610
- #: classes/views/styles/_section-fields.php:63
611
- #@ formidable
612
- msgid "Style"
613
- msgstr "Style"
614
-
615
- #: classes/controllers/FrmStylesController.php:36
616
- #: classes/helpers/FrmFormsListHelper.php:304
617
- #: classes/views/frm-entries/sidebar-shared.php:10
618
- #: classes/views/frm-forms/_publish_box.php:67
619
- #: pro/classes/controllers/FrmProDisplaysController.php:38
620
- #: pro/classes/controllers/FrmProEntriesController.php:1344
621
- #: pro/classes/controllers/FrmProEntriesController.php:1402
622
- #: pro/classes/controllers/FrmProEntriesController.php:1924
623
- #: pro/classes/helpers/FrmProAppHelper.php:179
624
- #: pro/classes/helpers/FrmProEntriesHelper.php:234
625
- #: pro/classes/helpers/FrmProFieldsHelper.php:2877
626
- #@ default
627
- #@ formidable
628
- msgid "Edit"
629
- msgstr "Rediger"
630
-
631
- #: classes/controllers/FrmStylesController.php:37
632
- #@ formidable
633
- msgid "Create a New Style"
634
- msgstr "Opret ny styling"
635
-
636
- #: classes/controllers/FrmStylesController.php:38
637
- #@ formidable
638
- msgid "Edit Style"
639
- msgstr "Rediger styling"
640
-
641
- #: classes/controllers/FrmStylesController.php:68
642
- #@ formidable
643
- msgid "create multiple styling templates"
644
- msgstr "opret flere stylings skabeloner"
645
-
646
- #: classes/controllers/FrmStylesController.php:105
647
- #: classes/controllers/FrmStylesController.php:189
648
- #@ formidable
649
- msgid "Your styling settings have been saved."
650
- msgstr "Styling opsætning er gemt."
651
-
652
- #: classes/controllers/FrmStylesController.php:164
653
- #@ formidable
654
- msgid "Your form styles have been saved."
655
- msgstr "Formular styling er gemt."
656
-
657
- #: classes/controllers/FrmStylesController.php:253
658
- #: classes/views/frm-forms/settings.php:32
659
- #: classes/views/frm-settings/form.php:18
660
- #@ formidable
661
- msgid "General"
662
- msgstr "Generelt"
663
-
664
- #: classes/controllers/FrmStylesController.php:254
665
- #@ formidable
666
- msgid "Field Labels"
667
- msgstr "Felt labels"
668
-
669
- #: classes/controllers/FrmStylesController.php:255
670
- #: classes/views/frm-forms/mb_html_tab.php:9
671
- #@ formidable
672
- msgid "Field Description"
673
- msgstr "Felt beskrivelse"
674
-
675
- #: classes/controllers/FrmStylesController.php:256
676
- #@ formidable
677
- msgid "Field Colors"
678
- msgstr "Felt farve"
679
-
680
- #: classes/controllers/FrmStylesController.php:257
681
- #@ formidable
682
- msgid "Field Settings"
683
- msgstr "Felt opsætning"
684
-
685
- #: classes/controllers/FrmStylesController.php:258
686
- #@ formidable
687
- msgid "Check Box & Radio Fields"
688
- msgstr "Afkrydsningsfelter og Radio knapper"
689
-
690
- #: classes/controllers/FrmStylesController.php:259
691
- #@ formidable
692
- msgid "Section Fields"
693
- msgstr "Sektions felter"
694
-
695
- #: classes/controllers/FrmStylesController.php:260
696
- #@ formidable
697
- msgid "Date Fields"
698
- msgstr "Dato felter"
699
-
700
- #: classes/controllers/FrmStylesController.php:261
701
- #@ formidable
702
- msgid "Buttons"
703
- msgstr "Knapper"
704
-
705
- #: classes/controllers/FrmStylesController.php:262
706
- #@ formidable
707
- msgid "Form Messages"
708
- msgstr "Formular beskeder"
709
-
710
- #: classes/controllers/FrmStylesController.php:424
711
- #: classes/views/frm-forms/mb_insert_fields.php:2
712
- #@ formidable
713
- msgid "Click to toggle"
714
- msgstr "Klik for til/fra"
715
-
716
- #: classes/controllers/FrmXMLController.php:6
717
- #: classes/views/xml/import_form.php:3
718
- #: pro/classes/views/xml/import_csv.php:3
719
- #: pro/classes/views/xml/map_csv_fields.php:3
720
- #@ formidable
721
- msgid "Import/Export"
722
- msgstr "Importer/Eksporter"
723
-
724
- #: classes/controllers/FrmXMLController.php:84
725
- #@ formidable
726
- msgid "Oops, you didn't select a file."
727
- msgstr "Hovsa, du valgte ikke en fil."
728
-
729
- #: classes/controllers/FrmXMLController.php:93
730
- #@ formidable
731
- msgid "The file does not exist, please try again."
732
- msgstr "Filen findes ikke, prøv venligst igen."
733
-
734
- #: classes/controllers/FrmXMLController.php:115
735
- #@ formidable
736
- msgid "XML import is not enabled on your server."
737
- msgstr "XML import er ikke aktiv på din server."
738
-
739
- #: classes/helpers/FrmAppHelper.php:584
740
- #@ formidable
741
- msgid "View Forms and Templates"
742
- msgstr "Se formularer og skabeloner"
743
-
744
- #: classes/helpers/FrmAppHelper.php:585
745
- #@ formidable
746
- msgid "Add/Edit Forms and Templates"
747
- msgstr "Opret/Ret formularer og skabeloner"
748
-
749
- #: classes/helpers/FrmAppHelper.php:586
750
- #@ formidable
751
- msgid "Delete Forms and Templates"
752
- msgstr "Slet formularer og skabeloner"
753
-
754
- #: classes/helpers/FrmAppHelper.php:587
755
- #@ formidable
756
- msgid "Access this Settings Page"
757
- msgstr "Adgang til denne opsætnings side"
758
-
759
- #: classes/helpers/FrmAppHelper.php:588
760
- #@ formidable
761
- msgid "View Entries from Admin Area"
762
- msgstr "Se poster fra Admin siden"
763
-
764
- #: classes/helpers/FrmAppHelper.php:589
765
- #@ formidable
766
- msgid "Delete Entries from Admin Area"
767
- msgstr "Slet poster fra Admin siden"
768
-
769
- #: classes/helpers/FrmAppHelper.php:596
770
- #@ formidable
771
- msgid "Add Entries from Admin Area"
772
- msgstr "Opret poster fra Admin siden"
773
-
774
- #: classes/helpers/FrmAppHelper.php:597
775
- #@ formidable
776
- msgid "Edit Entries from Admin Area"
777
- msgstr "Ret poster fra Admin siden"
778
-
779
- #: classes/helpers/FrmAppHelper.php:598
780
- #@ formidable
781
- msgid "View Reports"
782
- msgstr "Se statistik"
783
-
784
- #: classes/helpers/FrmAppHelper.php:599
785
- #@ formidable
786
- msgid "Add/Edit Views"
787
- msgstr "Ny/Ret view"
788
-
789
- #: classes/helpers/FrmAppHelper.php:1017
790
- #, php-format
791
- #@ formidable
792
- msgid "%s is invalid"
793
- msgstr "%s er ugyldig"
794
-
795
- #: classes/helpers/FrmAppHelper.php:1183
796
- #@ formidable
797
- msgid "at"
798
- msgstr "kl."
799
-
800
- #: classes/helpers/FrmAppHelper.php:1208
801
- #: pro/classes/controllers/FrmProDisplaysController.php:747
802
- #@ formidable
803
- msgid "year"
804
- msgstr "år"
805
-
806
- #: classes/helpers/FrmAppHelper.php:1208
807
- #: pro/classes/controllers/FrmProDisplaysController.php:747
808
- #@ formidable
809
- msgid "years"
810
- msgstr "årligt"
811
-
812
- #: classes/helpers/FrmAppHelper.php:1209
813
- #: pro/classes/controllers/FrmProDisplaysController.php:747
814
- #@ formidable
815
- msgid "month"
816
- msgstr "måned"
817
-
818
- #: classes/helpers/FrmAppHelper.php:1209
819
- #: pro/classes/controllers/FrmProDisplaysController.php:747
820
- #@ formidable
821
- msgid "months"
822
- msgstr "måneder"
823
-
824
- #: classes/helpers/FrmAppHelper.php:1210
825
- #: pro/classes/controllers/FrmProDisplaysController.php:747
826
- #@ formidable
827
- msgid "week"
828
- msgstr "uge"
829
-
830
- #: classes/helpers/FrmAppHelper.php:1210
831
- #: pro/classes/controllers/FrmProDisplaysController.php:747
832
- #@ formidable
833
- msgid "weeks"
834
- msgstr "uger"
835
-
836
- #: classes/helpers/FrmAppHelper.php:1211
837
- #: pro/classes/controllers/FrmProDisplaysController.php:747
838
- #@ formidable
839
- msgid "day"
840
- msgstr "dag"
841
-
842
- #: classes/helpers/FrmAppHelper.php:1211
843
- #: pro/classes/controllers/FrmProDisplaysController.php:747
844
- #@ formidable
845
- msgid "days"
846
- msgstr "dage"
847
-
848
- #: classes/helpers/FrmAppHelper.php:1212
849
- #@ formidable
850
- msgid "hour"
851
- msgstr "time"
852
-
853
- #: classes/helpers/FrmAppHelper.php:1212
854
- #: pro/classes/views/frmpro-forms/add_form_options.php:35
855
- #@ formidable
856
- msgid "hours"
857
- msgstr "timer"
858
-
859
- #: classes/helpers/FrmAppHelper.php:1213
860
- #@ formidable
861
- msgid "minute"
862
- msgstr "minut"
863
-
864
- #: classes/helpers/FrmAppHelper.php:1213
865
- #@ formidable
866
- msgid "minutes"
867
- msgstr "minutter"
868
-
869
- #: classes/helpers/FrmAppHelper.php:1214
870
- #@ formidable
871
- msgid "second"
872
- msgstr "sekund"
873
-
874
- #: classes/helpers/FrmAppHelper.php:1214
875
- #: classes/helpers/FrmAppHelper.php:1222
876
- #: classes/helpers/FrmAppHelper.php:1248
877
- #@ formidable
878
- msgid "seconds"
879
- msgstr "sekunder"
880
-
881
- #: classes/helpers/FrmAppHelper.php:1472
882
- #@ formidable
883
- msgid "Give this action a label for easy reference."
884
- msgstr "Giv denne handling en reference label."
885
-
886
- #: classes/helpers/FrmAppHelper.php:1473
887
- #@ formidable
888
- msgid "Add one or more recipient addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com. [admin_email] is the address set in WP General Settings."
889
- msgstr "Tilføj en eller flere modtagere adskildt med \",\". FORMAT: Navn <navn@email.dk> eller navn@email.dk. [admin_email] er den gennerelle side e-mail adresse opsat under WP opsætningen."
890
-
891
- #: classes/helpers/FrmAppHelper.php:1474
892
- #@ formidable
893
- msgid "Add CC addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com."
894
- msgstr "Tilføje CC modtagere adskildt med \",\". FORMAT: Navn <navn@email.dk> eller navn@email.dk."
895
-
896
- #: classes/helpers/FrmAppHelper.php:1475
897
- #@ formidable
898
- msgid "Add BCC addresses separated by a \",\". FORMAT: Name <name@email.com> or name@email.com."
899
- msgstr "Tilføj BCC modtagere adskildt med \",\". FORMAT: Navn <navn@email.dk> eller navn@email.dk."
900
-
901
- #: classes/helpers/FrmAppHelper.php:1476
902
- #@ formidable
903
- msgid "If you would like a different reply to address than the \"from\" address, add a single address here. FORMAT: Name <name@email.com> or name@email.com."
904
- msgstr "Hvis du ønsker en anden svar-til adresse end \"fra\" adressen, så indtast adressen her. FORMAT: Navn <navn@email.dk> eller navn@email.dk"
905
-
906
- #: classes/helpers/FrmAppHelper.php:1477
907
- #@ formidable
908
- msgid "Enter the name and/or email address of the sender. FORMAT: John Bates <john@example.com> or john@example.com."
909
- msgstr "Indtast navn og/eller e-mail adressen for afsender. FORMAT: Benny Bom <benny@eksempel.dk> eller benny@eksempel.dk."
910
-
911
- #: classes/helpers/FrmAppHelper.php:1478
912
- #, php-format
913
- #@ formidable
914
- msgid "If you leave the subject blank, the default will be used: %1$s Form submitted on %2$s"
915
- msgstr "Hvis du ikke skriver et emne anvendes standarden: %1$s Formular sendt den %2$s"
916
-
917
- #: classes/helpers/FrmAppHelper.php:1653
918
- #@ formidable
919
- msgid "Are you sure you want to deauthorize Formidable Forms on this site?"
920
- msgstr "Er du sikker på at du vil fjerne godkendelsen af Formidable Pro for dette website?"
921
-
922
- #: classes/helpers/FrmAppHelper.php:1680
923
- #@ formidable
924
- msgid "You are running an outdated version of Formidable. This plugin may not work correctly if you do not update Formidable."
925
- msgstr "Du anvender en ældre version af Formidable. Dette plugin fungerer måske ikke med mindre du opdaterer Formidable."
926
-
927
- #: classes/helpers/FrmAppHelper.php:1686
928
- #@ formidable
929
- msgid "English"
930
- msgstr "Engelsk"
931
-
932
- #: classes/helpers/FrmAppHelper.php:1686
933
- #@ formidable
934
- msgid "English/Western"
935
- msgstr "English/Western"
936
-
937
- #: classes/helpers/FrmAppHelper.php:1687
938
- #@ formidable
939
- msgid "Afrikaans"
940
- msgstr "Afrikaans"
941
-
942
- #: classes/helpers/FrmAppHelper.php:1687
943
- #@ formidable
944
- msgid "Albanian"
945
- msgstr "Albanian"
946
-
947
- #: classes/helpers/FrmAppHelper.php:1688
948
- #@ formidable
949
- msgid "Arabic"
950
- msgstr "Arabic"
951
-
952
- #: classes/helpers/FrmAppHelper.php:1688
953
- #@ formidable
954
- msgid "Armenian"
955
- msgstr "Armenian"
956
-
957
- #: classes/helpers/FrmAppHelper.php:1689
958
- #@ formidable
959
- msgid "Azerbaijani"
960
- msgstr "Azerbaijani"
961
-
962
- #: classes/helpers/FrmAppHelper.php:1689
963
- #@ formidable
964
- msgid "Basque"
965
- msgstr "Basque"
966
-
967
- #: classes/helpers/FrmAppHelper.php:1690
968
- #@ formidable
969
- msgid "Bosnian"
970
- msgstr "Bosnian"
971
-
972
- #: classes/helpers/FrmAppHelper.php:1690
973
- #@ formidable
974
- msgid "Bulgarian"
975
- msgstr "Bulgarian"
976
-
977
- #: classes/helpers/FrmAppHelper.php:1691
978
- #@ formidable
979
- msgid "Catalan"
980
- msgstr "Catalan"
981
-
982
- #: classes/helpers/FrmAppHelper.php:1691
983
- #@ formidable
984
- msgid "Chinese Hong Kong"
985
- msgstr "Chinese Hong Kong"
986
-
987
- #: classes/helpers/FrmAppHelper.php:1692
988
- #@ formidable
989
- msgid "Chinese Simplified"
990
- msgstr "Chinese Simplified"
991
-
992
- #: classes/helpers/FrmAppHelper.php:1692
993
- #@ formidable
994
- msgid "Chinese Traditional"
995
- msgstr "Chinese Traditional"
996
-
997
- #: classes/helpers/FrmAppHelper.php:1693
998
- #@ formidable
999
- msgid "Croatian"
1000
- msgstr "Croatian"
1001
-
1002
- #: classes/helpers/FrmAppHelper.php:1693
1003
- #@ formidable
1004
- msgid "Czech"
1005
- msgstr "Czech"
1006
-
1007
- #: classes/helpers/FrmAppHelper.php:1694
1008
- #@ formidable
1009
- msgid "Danish"
1010
- msgstr "Danish"
1011
-
1012
- #: classes/helpers/FrmAppHelper.php:1694
1013
- #@ formidable
1014
- msgid "Dutch"
1015
- msgstr "Hollandsk"
1016
-
1017
- #: classes/helpers/FrmAppHelper.php:1695
1018
- #@ formidable
1019
- msgid "English/UK"
1020
- msgstr "English/UK"
1021
-
1022
- #: classes/helpers/FrmAppHelper.php:1695
1023
- #@ formidable
1024
- msgid "Esperanto"
1025
- msgstr "Esperanto"
1026
-
1027
- #: classes/helpers/FrmAppHelper.php:1696
1028
- #@ formidable
1029
- msgid "Estonian"
1030
- msgstr "Estonian"
1031
-
1032
- #: classes/helpers/FrmAppHelper.php:1696
1033
- #@ formidable
1034
- msgid "Faroese"
1035
- msgstr "Faroese"
1036
-
1037
- #: classes/helpers/FrmAppHelper.php:1697
1038
- #@ formidable
1039
- msgid "Farsi/Persian"
1040
- msgstr "Farsi/Persian"
1041
-
1042
- #: classes/helpers/FrmAppHelper.php:1697
1043
- #@ formidable
1044
- msgid "Filipino"
1045
- msgstr "Filipino"
1046
-
1047
- #: classes/helpers/FrmAppHelper.php:1698
1048
- #@ formidable
1049
- msgid "Finnish"
1050
- msgstr "Finnish"
1051
-
1052
- #: classes/helpers/FrmAppHelper.php:1698
1053
- #@ formidable
1054
- msgid "French"
1055
- msgstr "Fransk"
1056
-
1057
- #: classes/helpers/FrmAppHelper.php:1699
1058
- #@ formidable
1059
- msgid "French/Canadian"
1060
- msgstr "French/Canadian"
1061
-
1062
- #: classes/helpers/FrmAppHelper.php:1699
1063
- #@ formidable
1064
- msgid "French/Swiss"
1065
- msgstr "French/Swiss"
1066
-
1067
- #: classes/helpers/FrmAppHelper.php:1700
1068
- #@ formidable
1069
- msgid "German"
1070
- msgstr "Tysk"
1071
-
1072
- #: classes/helpers/FrmAppHelper.php:1700
1073
- #@ formidable
1074
- msgid "German/Austria"
1075
- msgstr "German/Austria"
1076
-
1077
- #: classes/helpers/FrmAppHelper.php:1701
1078
- #@ formidable
1079
- msgid "German/Switzerland"
1080
- msgstr "German/Switzerland"
1081
-
1082
- #: classes/helpers/FrmAppHelper.php:1701
1083
- #@ formidable
1084
- msgid "Greek"
1085
- msgstr "Greek"
1086
-
1087
- #: classes/helpers/FrmAppHelper.php:1702
1088
- #@ formidable
1089
- msgid "Hebrew"
1090
- msgstr "Hebrew"
1091
-
1092
- #: classes/helpers/FrmAppHelper.php:1703
1093
- #@ formidable
1094
- msgid "Hindi"
1095
- msgstr "Hindi"
1096
-
1097
- #: classes/helpers/FrmAppHelper.php:1703
1098
- #@ formidable
1099
- msgid "Hungarian"
1100
- msgstr "Hungarian"
1101
-
1102
- #: classes/helpers/FrmAppHelper.php:1704
1103
- #@ formidable
1104
- msgid "Icelandic"
1105
- msgstr "Icelandic"
1106
-
1107
- #: classes/helpers/FrmAppHelper.php:1704
1108
- #@ formidable
1109
- msgid "Indonesian"
1110
- msgstr "Indonesian"
1111
-
1112
- #: classes/helpers/FrmAppHelper.php:1705
1113
- #@ formidable
1114
- msgid "Italian"
1115
- msgstr "Italian"
1116
-
1117
- #: classes/helpers/FrmAppHelper.php:1705
1118
- #@ formidable
1119
- msgid "Japanese"
1120
- msgstr "Japanese"
1121
-
1122
- #: classes/helpers/FrmAppHelper.php:1706
1123
- #@ formidable
1124
- msgid "Korean"
1125
- msgstr "Korean"
1126
-
1127
- #: classes/helpers/FrmAppHelper.php:1706
1128
- #@ formidable
1129
- msgid "Latvian"
1130
- msgstr "Latvian"
1131
-
1132
- #: classes/helpers/FrmAppHelper.php:1707
1133
- #@ formidable
1134
- msgid "Lithuanian"
1135
- msgstr "Lithuanian"
1136
-
1137
- #: classes/helpers/FrmAppHelper.php:1707
1138
- #@ formidable
1139
- msgid "Malaysian"
1140
- msgstr "Malaysian"
1141
-
1142
- #: classes/helpers/FrmAppHelper.php:1708
1143
- #@ formidable
1144
- msgid "Norwegian"
1145
- msgstr "Norwegian"
1146
-
1147
- #: classes/helpers/FrmAppHelper.php:1708
1148
- #@ formidable
1149
- msgid "Polish"
1150
- msgstr "Polish"
1151
-
1152
- #: classes/helpers/FrmAppHelper.php:1709
1153
- #@ formidable
1154
- msgid "Portuguese"
1155
- msgstr "Portugisisk"
1156
-
1157
- #: classes/helpers/FrmAppHelper.php:1709
1158
- #@ formidable
1159
- msgid "Portuguese/Brazilian"
1160
- msgstr "Portuguese/Brazilian"
1161
-
1162
- #: classes/helpers/FrmAppHelper.php:1710
1163
- #@ formidable
1164
- msgid "Portuguese/Portugal"
1165
- msgstr "Portuguese/Portugal"
1166
-
1167
- #: classes/helpers/FrmAppHelper.php:1710
1168
- #@ formidable
1169
- msgid "Romanian"
1170
- msgstr "Romanian"
1171
-
1172
- #: classes/helpers/FrmAppHelper.php:1711
1173
- #@ formidable
1174
- msgid "Russian"
1175
- msgstr "Russisk"
1176
-
1177
- #: classes/helpers/FrmAppHelper.php:1711
1178
- #: classes/helpers/FrmAppHelper.php:1712
1179
- #@ formidable
1180
- msgid "Serbian"
1181
- msgstr "Serbian"
1182
-
1183
- #: classes/helpers/FrmAppHelper.php:1712
1184
- #@ formidable
1185
- msgid "Slovak"
1186
- msgstr "Slovak"
1187
-
1188
- #: classes/helpers/FrmAppHelper.php:1713
1189
- #@ formidable
1190
- msgid "Slovenian"
1191
- msgstr "Slovenian"
1192
-
1193
- #: classes/helpers/FrmAppHelper.php:1713
1194
- #@ formidable
1195
- msgid "Spanish"
1196
- msgstr "Spansk"
1197
-
1198
- #: classes/helpers/FrmAppHelper.php:1714
1199
- #@ formidable
1200
- msgid "Spanish/Latin America"
1201
- msgstr "Spanish/Latin America"
1202
-
1203
- #: classes/helpers/FrmAppHelper.php:1714
1204
- #@ formidable
1205
- msgid "Swedish"
1206
- msgstr "Swedish"
1207
-
1208
- #: classes/helpers/FrmAppHelper.php:1715
1209
- #@ formidable
1210
- msgid "Tamil"
1211
- msgstr "Tamil"
1212
-
1213
- #: classes/helpers/FrmAppHelper.php:1715
1214
- #@ formidable
1215
- msgid "Thai"
1216
- msgstr "Thai"
1217
-
1218
- #: classes/helpers/FrmAppHelper.php:1716
1219
- #@ formidable
1220
- msgid "Turkish"
1221
- msgstr "Tyrkisk"
1222
-
1223
- #: classes/helpers/FrmAppHelper.php:1717
1224
- #@ formidable
1225
- msgid "Ukranian"
1226
- msgstr "Ukranian"
1227
-
1228
- #: classes/helpers/FrmAppHelper.php:1717
1229
- #@ formidable
1230
- msgid "Vietnamese"
1231
- msgstr "Vietnamese"
1232
-
1233
- #: classes/helpers/FrmEntriesHelper.php:294
1234
- #: classes/models/FrmNotification.php:95
1235
- #: classes/views/frm-entries/sidebar-shared.php:52
1236
- #: pro/classes/controllers/FrmProFormsController.php:66
1237
- #: pro/classes/views/frmpro-forms/add_form_options.php:26
1238
- #: pro/classes/views/xml/map_csv_fields.php:54
1239
- #@ formidable
1240
- msgid "IP Address"
1241
- msgstr "IP Adresse"
1242
-
1243
- #: classes/helpers/FrmEntriesHelper.php:296
1244
- #: classes/models/FrmNotification.php:96
1245
- #@ formidable
1246
- msgid "User-Agent (Browser/OS)"
1247
- msgstr "User-Agent (Browser/OS)"
1248
-
1249
- #: classes/helpers/FrmEntriesHelper.php:299
1250
- #: classes/models/FrmNotification.php:97
1251
- #: classes/views/frm-entries/sidebar-shared.php:65
1252
- #@ formidable
1253
- msgid "Referrer"
1254
- msgstr "Henviser"
1255
-
1256
- #: classes/helpers/FrmEntriesHelper.php:705
1257
- #: classes/helpers/FrmEntriesHelper.php:706
1258
- #@ formidable
1259
- msgid "Unknown"
1260
- msgstr "Ukendt"
1261
-
1262
- #: classes/helpers/FrmEntriesListHelper.php:59
1263
- #: pro/classes/controllers/FrmProEntriesController.php:1368
1264
- #: pro/classes/helpers/FrmProDisplaysHelper.php:60
1265
- #@ formidable
1266
- msgid "No Entries Found"
1267
- msgstr "Ingen poster fundet"
1268
-
1269
- #: pro/classes/helpers/FrmProEntriesListHelper.php:56
1270
- #: pro/classes/helpers/FrmProEntriesListHelper.php:67
1271
- #@ formidable
1272
- msgid "All Fields"
1273
- msgstr "Alle felter"
1274
-
1275
- #: classes/controllers/FrmFormsController.php:668
1276
- #: classes/views/frm-entries/sidebar-shared.php:17
1277
- #: pro/classes/controllers/FrmProFormsController.php:583
1278
- #: pro/classes/helpers/FrmProEntriesListHelper.php:58
1279
- #: pro/classes/helpers/FrmProEntriesListHelper.php:69
1280
- #: pro/classes/helpers/FrmProFieldsHelper.php:2646
1281
- #: pro/classes/views/displays/order_row.php:3
1282
- #: pro/classes/views/displays/where_row.php:6
1283
- #: pro/classes/views/xml/map_csv_fields.php:56
1284
- #@ formidable
1285
- msgid "Entry ID"
1286
- msgstr "Post Id"
1287
-
1288
- #: classes/views/frm-entries/list.php:19
1289
- #: classes/views/frm-forms/list.php:22
1290
- #: pro/classes/controllers/FrmProEntriesController.php:1592
1291
- #: pro/classes/controllers/FrmProFormsController.php:365
1292
- #: pro/classes/controllers/FrmProFormsController.php:430
1293
- #: pro/classes/helpers/FrmProEntriesListHelper.php:65
1294
- #@ formidable
1295
- msgid "Search"
1296
- msgstr "Søg"
1297
-
1298
- #: pro/classes/helpers/FrmProEntriesListHelper.php:82
1299
- #@ formidable
1300
- msgid "Reset"
1301
- msgstr "Nulstil"
1302
-
1303
- #: classes/helpers/FrmEntriesListHelper.php:127
1304
- #@ default
1305
- msgid "No"
1306
- msgstr "Nej"
1307
-
1308
- #: classes/helpers/FrmEntriesListHelper.php:127
1309
- #@ default
1310
- msgid "Yes"
1311
- msgstr "Ja"
1312
-
1313
- #: classes/helpers/FrmEntriesListHelper.php:169
1314
- #: classes/views/frm-entries/sidebar-shared.php:11
1315
- #: pro/classes/controllers/FrmProDisplaysController.php:36
1316
- #: pro/classes/controllers/FrmProDisplaysController.php:37
1317
- #: pro/classes/controllers/FrmProFormsController.php:363
1318
- #: pro/classes/views/displays/submitbox_actions.php:2
1319
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:13
1320
- #@ formidable
1321
- msgid "View"
1322
- msgstr "View"
1323
-
1324
- #: classes/helpers/FrmEntriesListHelper.php:173
1325
- #@ formidable
1326
- msgid "Are you sure you want to delete that?"
1327
- msgstr "Er du sikker på at du vil slette?"
1328
-
1329
- #: classes/helpers/FrmEntriesListHelper.php:173
1330
- #: classes/helpers/FrmFormsHelper.php:588
1331
- #: classes/helpers/FrmFormsListHelper.php:104
1332
- #: classes/views/frm-entries/sidebar-show.php:22
1333
- #: classes/views/frm-form-actions/_action_inside.php:38
1334
- #: pro/classes/controllers/FrmProEntriesController.php:1409
1335
- #: pro/classes/controllers/FrmProEntriesController.php:1704
1336
- #: pro/classes/controllers/FrmProEntriesController.php:2049
1337
- #: pro/classes/helpers/FrmProEntriesListHelper.php:6
1338
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:27
1339
- #@ default
1340
- #@ formidable
1341
- msgid "Delete"
1342
- msgstr "Slet"
1343
-
1344
- #: classes/helpers/FrmFieldsHelper.php:10
1345
- #@ formidable
1346
- msgid "Single Line Text"
1347
- msgstr "Enkel linje tekst"
1348
-
1349
- #: classes/helpers/FrmFieldsHelper.php:11
1350
- #@ formidable
1351
- msgid "Paragraph Text"
1352
- msgstr "Afsnitstekst"
1353
-
1354
- #: classes/helpers/FrmFieldsHelper.php:12
1355
- #: pro/classes/helpers/FrmProFieldsHelper.php:3896
1356
- #@ formidable
1357
- msgid "Checkboxes"
1358
- msgstr "Afkrydsningsfelter"
1359
-
1360
- #: classes/helpers/FrmFieldsHelper.php:13
1361
- #: classes/views/styles/_sample_form.php:52
1362
- #: pro/classes/helpers/FrmProFieldsHelper.php:3895
1363
- #@ formidable
1364
- msgid "Radio Buttons"
1365
- msgstr "Radioknapper"
1366
-
1367
- #: classes/helpers/FrmFieldsHelper.php:14
1368