Formidable Forms – Form Builder for WordPress - Version 2.0.16

Version Description

  • Escape font family correctly for quotation marks
  • Only check for updates every 24 hours
  • Allow emails to be separated by a space
  • Prevent old versions of Akismet from causing errors
  • Add unit tests for XML import
  • Styling updates for WP 4.4
  • Save form action settings even if they aren't in the default options
  • More contrast on form builder page
  • Use normal font weight for from builder
  • Pro Features:
  • Allow Styles to be duplicated
  • Allow the form key in the CSV download url
  • Make like/not like conditional logic not case-sensitive
  • Fix multiple conditional logics on a Dynamic field
  • Fix XML import with repeating fields
  • Fix notice for old dfe fields
  • Make sure integer is being used for auto_id
  • Fix read-only dependent Dynamic field with a default value
  • Fix conditional radio button default value issue
  • Fixes for conditional logic on sections
  • Fix autoupdating for add-ons
  • Show a message if no license has been entered for an add-on
Download this release

Release Info

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

Code changes from version 2.0.15 to 2.0.16

classes/controllers/FrmStylesController.php CHANGED
@@ -132,6 +132,11 @@ class FrmStylesController {
132
  self::load_styler('default');
133
  }
134
 
 
 
 
 
 
135
  public static function edit( $style_id = false, $message = '' ) {
136
  if ( ! $style_id ) {
137
  $style_id = FrmAppHelper::get_param( 'id', '', 'get', 'absint' );
@@ -272,7 +277,7 @@ class FrmStylesController {
272
  return;
273
  }
274
 
275
- if ( 'new_style' == $action ) {
276
  return self::$action();
277
  }
278
 
132
  self::load_styler('default');
133
  }
134
 
135
+ public static function duplicate() {
136
+ FrmAppHelper::update_message( __( 'duplicate styling templates', 'formidable' ), 'wrap' );
137
+ self::load_styler('default');
138
+ }
139
+
140
  public static function edit( $style_id = false, $message = '' ) {
141
  if ( ! $style_id ) {
142
  $style_id = FrmAppHelper::get_param( 'id', '', 'get', 'absint' );
277
  return;
278
  }
279
 
280
+ if ( 'new_style' == $action || 'duplicate' == $action ) {
281
  return self::$action();
282
  }
283
 
classes/helpers/FrmAppHelper.php CHANGED
@@ -10,7 +10,7 @@ class FrmAppHelper {
10
  /**
11
  * @since 2.0
12
  */
13
- public static $plug_version = '2.0.15';
14
 
15
  /**
16
  * @since 1.07.02
10
  /**
11
  * @since 2.0
12
  */
13
+ public static $plug_version = '2.0.16';
14
 
15
  /**
16
  * @since 1.07.02
classes/helpers/FrmFieldsHelper.php CHANGED
@@ -366,6 +366,11 @@ DEFAULT_HTML;
366
  $error_class .= ' frm_field_'. $field['id'] .'_container';
367
  }
368
 
 
 
 
 
 
369
  //Add classes to inline confirmation field (if it doesn't already have classes set)
370
  if ( isset( $field['conf_field'] ) && $field['conf_field'] == 'inline' && ! $field['classes'] ) {
371
  $error_class .= ' frm_first frm_half';
@@ -607,7 +612,7 @@ DEFAULT_HTML;
607
  } else if ( $cond == '<' ) {
608
  $m = $observed_value < $hide_opt;
609
  } else if ( $cond == 'LIKE' || $cond == 'not LIKE' ) {
610
- $m = strpos($observed_value, $hide_opt);
611
  if ( $cond == 'not LIKE' ) {
612
  $m = ( $m === false ) ? true : false;
613
  } else {
366
  $error_class .= ' frm_field_'. $field['id'] .'_container';
367
  }
368
 
369
+ // Add class to embedded form field
370
+ if ( $field['type'] == 'form' ) {
371
+ $error_class .= ' frm_embed_form_container';
372
+ }
373
+
374
  //Add classes to inline confirmation field (if it doesn't already have classes set)
375
  if ( isset( $field['conf_field'] ) && $field['conf_field'] == 'inline' && ! $field['classes'] ) {
376
  $error_class .= ' frm_first frm_half';
612
  } else if ( $cond == '<' ) {
613
  $m = $observed_value < $hide_opt;
614
  } else if ( $cond == 'LIKE' || $cond == 'not LIKE' ) {
615
+ $m = stripos($observed_value, $hide_opt);
616
  if ( $cond == 'not LIKE' ) {
617
  $m = ( $m === false ) ? true : false;
618
  } else {
classes/helpers/FrmStylesHelper.php CHANGED
@@ -56,12 +56,27 @@ class FrmStylesHelper {
56
  }
57
 
58
  public static function enqueue_jquery_css() {
59
- $theme_css = FrmStylesController::get_style_val('theme_css');
 
60
  if ( $theme_css != -1 ) {
61
  wp_enqueue_style('jquery-theme', self::jquery_css_url($theme_css), array(), FrmAppHelper::plugin_version());
62
  }
63
  }
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  public static function get_upload_base() {
66
  $uploads = wp_upload_dir();
67
  if ( is_ssl() && ! preg_match('/^https:\/\/.*\..*$/', $uploads['baseurl']) ) {
56
  }
57
 
58
  public static function enqueue_jquery_css() {
59
+ $form = self::get_form_for_page();
60
+ $theme_css = FrmStylesController::get_style_val( 'theme_css', $form );
61
  if ( $theme_css != -1 ) {
62
  wp_enqueue_style('jquery-theme', self::jquery_css_url($theme_css), array(), FrmAppHelper::plugin_version());
63
  }
64
  }
65
 
66
+ public static function get_form_for_page() {
67
+ global $frm_vars;
68
+ $form_id = 'default';
69
+ if ( ! empty( $frm_vars['forms_loaded'] ) ) {
70
+ foreach ( $frm_vars['forms_loaded'] as $form ) {
71
+ if ( is_object( $form ) ) {
72
+ $form_id = $form->id;
73
+ break;
74
+ }
75
+ }
76
+ }
77
+ return $form_id;
78
+ }
79
+
80
  public static function get_upload_base() {
81
  $uploads = wp_upload_dir();
82
  if ( is_ssl() && ! preg_match('/^https:\/\/.*\..*$/', $uploads['baseurl']) ) {
classes/helpers/FrmXMLHelper.php CHANGED
@@ -122,8 +122,10 @@ class FrmXMLHelper {
122
  }
123
 
124
  public static function import_xml_forms( $forms, $imported ) {
125
- // Keep track of repeating sections and child forms that are imported
126
- $repeat_fields = $child_forms_missing_parent = array();
 
 
127
 
128
  foreach ( $forms as $item ) {
129
  $form = array(
@@ -149,8 +151,6 @@ class FrmXMLHelper {
149
  $edit_query['created_at'] = $form['created_at'];
150
  }
151
 
152
- $old_parent_form_id = self::maybe_replace_parent_form_id( $imported['forms'], $form['parent_form_id'] );
153
-
154
  $edit_query = apply_filters('frm_match_xml_form', $edit_query, $form);
155
 
156
  $this_form = FrmForm::getAll($edit_query, '', 1);
@@ -163,7 +163,7 @@ class FrmXMLHelper {
163
  // Keep track of whether this specific form was updated or not
164
  $imported['form_status'][ $form_id ] = 'updated';
165
 
166
- $form_fields = FrmField::get_all_for_form( $form_id );
167
  $old_fields = array();
168
  foreach ( $form_fields as $f ) {
169
  $old_fields[ $f->id ] = $f;
@@ -180,12 +180,11 @@ class FrmXMLHelper {
180
  $imported['imported']['forms']++;
181
  // Keep track of whether this specific form was updated or not
182
  $imported['form_status'][ $form_id ] = 'imported';
183
-
184
- self::track_child_forms_missing_parent( (int) $form_id, $old_parent_form_id, $child_forms_missing_parent );
185
  }
186
  }
187
 
188
- self::import_xml_fields( $item->field, $form_id, $this_form, $form_fields, $imported, $repeat_fields );
189
 
190
  // Delete any fields attached to this form that were not included in the template
191
  if ( isset( $form_fields ) && ! empty( $form_fields ) ) {
@@ -208,55 +207,66 @@ class FrmXMLHelper {
208
 
209
  unset($form, $item);
210
  }
211
- self::update_repeat_field_options( $repeat_fields, $imported['forms'] );
212
- self::update_child_form_parents( $child_forms_missing_parent, $imported['forms'] );
213
 
214
  return $imported;
215
  }
216
 
217
  /**
218
- * Replace the parent_form_id on child forms if their parent was already imported
219
- * @since 2.0.13
220
  *
221
- * @param array $imported_forms
222
- * @param int $parent_form_id
223
- * @return int $old_parent_form_id
224
  */
225
- private static function maybe_replace_parent_form_id( $imported_forms, &$parent_form_id ) {
226
- $old_parent_form_id = 0;
 
227
 
228
- if ( ! empty( $parent_form_id ) ) {
229
- if ( isset( $imported_forms[ $parent_form_id ] ) ) {
230
- // The parent has already been imported
231
 
232
- // replace the old parent id with the new one
233
- $parent_form_id = $imported_forms[ $parent_form_id ];
234
  } else {
235
- // The parent will be imported after
236
-
237
- $old_parent_form_id = $parent_form_id;
238
  }
239
- }
240
 
241
- return $old_parent_form_id;
242
  }
243
 
244
  /**
245
- * Track child forms that were imported before their parents
246
- * @since 2.0.13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  *
248
- * @param int $new_form_id
249
- * @param int $old_parent_form_id
250
- * @param array $child_forms_missing_parent
251
  */
252
- private static function track_child_forms_missing_parent( $new_form_id, $old_parent_form_id, &$child_forms_missing_parent ) {
253
- if ( $old_parent_form_id ) {
254
- if ( ! isset( $child_forms_missing_parent[ $old_parent_form_id ] ) ) {
255
- $child_forms_missing_parent[ $old_parent_form_id ] = array();
256
- }
 
257
 
258
- // Multiple child forms may have the same parent
259
- $child_forms_missing_parent[ $old_parent_form_id ][] = $new_form_id;
260
  }
261
  }
262
 
@@ -266,7 +276,7 @@ class FrmXMLHelper {
266
  *
267
  * TODO: Cut down on params
268
  */
269
- private static function import_xml_fields( $xml_fields, $form_id, $this_form, &$form_fields, &$imported, &$repeat_fields ) {
270
  foreach ( $xml_fields as $field ) {
271
  $f = array(
272
  'id' => (int) $field->id,
@@ -296,6 +306,8 @@ class FrmXMLHelper {
296
 
297
  $f = apply_filters('frm_duplicated_field', $f);
298
 
 
 
299
  if ( ! empty($this_form) ) {
300
  // check for field to edit by field id
301
  if ( isset( $form_fields[ $f['id'] ] ) ) {
@@ -322,7 +334,6 @@ class FrmXMLHelper {
322
  if ( $new_id == false ) {
323
  continue;
324
  }
325
- self::track_repeating_fields( $f, $new_id, $repeat_fields );
326
 
327
  // if no matching field id or key in this form, create the field
328
  $imported['imported']['fields']++;
@@ -333,7 +344,6 @@ class FrmXMLHelper {
333
  continue;
334
  }
335
 
336
- self::track_repeating_fields( $f, $new_id, $repeat_fields );
337
  $imported['imported']['fields']++;
338
  }
339
 
@@ -342,70 +352,27 @@ class FrmXMLHelper {
342
  }
343
 
344
  /**
345
- * Update parent_form_id for child forms that were imported before parents
346
- *
347
- * @since 2.0.13
348
  *
349
- * @param array $child_forms_missing_parent
350
- * @param array $imported_forms
 
351
  */
352
- private static function update_child_form_parents( $child_forms_missing_parent, $imported_forms ) {
353
- foreach ( $child_forms_missing_parent as $old_parent_form_id => $child_form_ids ) {
354
- if ( isset( $imported_forms[ $old_parent_form_id ] ) ) {
355
-
356
- // Update all children with this old parent_form_id
357
- $new_parent_form_id = (int) $imported_forms[ $old_parent_form_id ];
358
- foreach ( $child_form_ids as $child_form_id ) {
359
- FrmForm::update( $child_form_id, array( 'parent_form_id' => $new_parent_form_id ) );
360
- }
361
- }
362
  }
363
- }
364
 
365
- /**
366
- * Update form_select for all imported repeating sections and embedded forms
367
- *
368
- * @since 2.0.09
369
- * @param array $repeat_fields - old form ID as keys and section field IDs as items
370
- * @param array $imported_forms
371
- */
372
- private static function update_repeat_field_options( $repeat_fields, $imported_forms ) {
373
- foreach ( $repeat_fields as $old_form_id => $new_repeat_fields ) {
374
- foreach ( $new_repeat_fields as $repeat_field_id ) {
375
- // Get section/embed form field
376
- $repeat_field = FrmField::getOne( $repeat_field_id );
377
- $field_opts = maybe_unserialize( $repeat_field->field_options );
378
-
379
- if ( ! isset( $imported_forms[ $old_form_id ] ) ) {
380
- return;
381
  }
382
- $field_opts['form_select'] = $imported_forms[ $old_form_id ];
383
-
384
- // update form_select now
385
- FrmField::update( $repeat_field_id, array( 'field_options' => maybe_serialize( $field_opts ) ) );
386
  }
387
  }
388
  }
389
 
390
- /**
391
- * Keep track of imported repeating fields and embedded forms
392
- *
393
- * @since 2.0.09
394
- * @param array $f - field array
395
- * @param int $repeat_field_id
396
- * @param array $repeat_fields - pass by reference
397
- */
398
- private static function track_repeating_fields( $f, $repeat_field_id, &$repeat_fields ) {
399
- if ( ( $f['type'] == 'divider' && FrmField::is_option_true( $f['field_options'], 'repeat' ) ) || $f['type'] == 'form' ) {
400
- $old_form_id = trim( $f['field_options']['form_select'] );
401
- if ( ! isset( $repeat_fields[ $old_form_id ] ) ) {
402
- $repeat_fields[ $old_form_id ] = array();
403
- }
404
-
405
- $repeat_fields[ $old_form_id ][] = $repeat_field_id;
406
- }
407
- }
408
-
409
  public static function import_xml_views( $views, $imported ) {
410
  $imported['posts'] = array();
411
  $form_action_type = FrmFormActionsController::$action_post_type;
122
  }
123
 
124
  public static function import_xml_forms( $forms, $imported ) {
125
+ $child_forms = array();
126
+
127
+ // Import child forms first
128
+ self::put_child_forms_first( $forms );
129
 
130
  foreach ( $forms as $item ) {
131
  $form = array(
151
  $edit_query['created_at'] = $form['created_at'];
152
  }
153
 
 
 
154
  $edit_query = apply_filters('frm_match_xml_form', $edit_query, $form);
155
 
156
  $this_form = FrmForm::getAll($edit_query, '', 1);
163
  // Keep track of whether this specific form was updated or not
164
  $imported['form_status'][ $form_id ] = 'updated';
165
 
166
+ $form_fields = FrmField::get_all_for_form( $form_id, '', 'exclude', 'exclude' );
167
  $old_fields = array();
168
  foreach ( $form_fields as $f ) {
169
  $old_fields[ $f->id ] = $f;
180
  $imported['imported']['forms']++;
181
  // Keep track of whether this specific form was updated or not
182
  $imported['form_status'][ $form_id ] = 'imported';
183
+ self::track_imported_child_forms( (int) $form_id, $form['parent_form_id'], $child_forms );
 
184
  }
185
  }
186
 
187
+ self::import_xml_fields( $item->field, $form_id, $this_form, $form_fields, $imported );
188
 
189
  // Delete any fields attached to this form that were not included in the template
190
  if ( isset( $form_fields ) && ! empty( $form_fields ) ) {
207
 
208
  unset($form, $item);
209
  }
210
+
211
+ self::maybe_update_child_form_parent_id( $imported['forms'], $child_forms );
212
 
213
  return $imported;
214
  }
215
 
216
  /**
217
+ * Put child forms first so they will be imported before parents
 
218
  *
219
+ * @since 2.0.16
220
+ * @param array $forms
 
221
  */
222
+ private static function put_child_forms_first( &$forms ) {
223
+ $child_forms = array();
224
+ $regular_forms = array();
225
 
226
+ foreach ( $forms as $form ) {
227
+ $parent_form_id = isset( $form->parent_form_id) ? (int) $form->parent_form_id : 0;
 
228
 
229
+ if ( $parent_form_id ) {
230
+ $child_forms[] = $form;
231
  } else {
232
+ $regular_forms[] = $form;
 
 
233
  }
234
+ }
235
 
236
+ $forms = array_merge( $child_forms, $regular_forms );
237
  }
238
 
239
  /**
240
+ * Keep track of all imported child forms
241
+ *
242
+ * @since 2.0.16
243
+ * @param int $form_id
244
+ * @param int $parent_form_id
245
+ * @param array $child_forms
246
+ */
247
+ private static function track_imported_child_forms( $form_id, $parent_form_id, &$child_forms ) {
248
+ if ( $parent_form_id ) {
249
+ $child_forms[ $form_id ] = $parent_form_id;
250
+ }
251
+ }
252
+
253
+ /**
254
+ * Update the parent_form_id on imported child forms
255
+ * Child forms are imported first so their parent_form_id will need to be updated after the parent is imported
256
  *
257
+ * @since 2.0.6
258
+ * @param array $imported_forms
259
+ * @param array $child_forms
260
  */
261
+ private static function maybe_update_child_form_parent_id( $imported_forms, $child_forms ) {
262
+ foreach ( $child_forms as $child_form_id => $old_parent_form_id ) {
263
+
264
+ if ( isset( $imported_forms[ $old_parent_form_id ] ) && $imported_forms[ $old_parent_form_id ] != $old_parent_form_id ) {
265
+ // Update all children with this old parent_form_id
266
+ $new_parent_form_id = (int) $imported_forms[ $old_parent_form_id ];
267
 
268
+ FrmForm::update( $child_form_id, array( 'parent_form_id' => $new_parent_form_id ) );
269
+ }
270
  }
271
  }
272
 
276
  *
277
  * TODO: Cut down on params
278
  */
279
+ private static function import_xml_fields( $xml_fields, $form_id, $this_form, &$form_fields, &$imported ) {
280
  foreach ( $xml_fields as $field ) {
281
  $f = array(
282
  'id' => (int) $field->id,
306
 
307
  $f = apply_filters('frm_duplicated_field', $f);
308
 
309
+ self::maybe_update_form_select( $f, $imported );
310
+
311
  if ( ! empty($this_form) ) {
312
  // check for field to edit by field id
313
  if ( isset( $form_fields[ $f['id'] ] ) ) {
334
  if ( $new_id == false ) {
335
  continue;
336
  }
 
337
 
338
  // if no matching field id or key in this form, create the field
339
  $imported['imported']['fields']++;
344
  continue;
345
  }
346
 
 
347
  $imported['imported']['fields']++;
348
  }
349
 
352
  }
353
 
354
  /**
355
+ * Switch the form_select on a repeating field or embedded form if it needs to be switched
 
 
356
  *
357
+ * @since 2.0.16
358
+ * @param array $f
359
+ * @param array $imported
360
  */
361
+ private static function maybe_update_form_select( &$f, $imported ) {
362
+ if ( ! isset( $imported['forms'] ) ) {
363
+ return;
 
 
 
 
 
 
 
364
  }
 
365
 
366
+ if ( $f['type'] == 'form' || ( $f['type'] == 'divider' && FrmField::is_option_true( $f['field_options'], 'repeat' ) ) ) {
367
+ if ( FrmField::is_option_true( $f['field_options'], 'form_select' ) ) {
368
+ $form_select = $f['field_options']['form_select'];
369
+ if ( isset( $imported['forms'][ $form_select ] ) ) {
370
+ $f['field_options']['form_select'] = $imported['forms'][ $form_select ];
 
 
 
 
 
 
 
 
 
 
 
371
  }
 
 
 
 
372
  }
373
  }
374
  }
375
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
  public static function import_xml_views( $views, $imported ) {
377
  $imported['posts'] = array();
378
  $form_action_type = FrmFormActionsController::$action_post_type;
classes/models/EDD_SL_Plugin_Updater.php CHANGED
@@ -71,7 +71,7 @@ class EDD_SL_Plugin_Updater {
71
  * @param array $_transient_data Update array build by WordPress.
72
  * @return array Modified update array with custom plugin data.
73
  */
74
- function check_update( $_transient_data ) {
75
 
76
  global $pagenow;
77
 
@@ -142,7 +142,7 @@ class EDD_SL_Plugin_Updater {
142
 
143
  $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) );
144
 
145
- set_transient( $cache_key, $version_info, 3600 );
146
  }
147
 
148
  if ( ! is_object( $version_info ) ) {
@@ -212,7 +212,7 @@ class EDD_SL_Plugin_Updater {
212
  * @param object $_args
213
  * @return object $_data
214
  */
215
- function plugins_api_filter( $_data, $_action = '', $_args = null ) {
216
 
217
  if ( $_action != 'plugin_information' ) {
218
 
@@ -252,7 +252,7 @@ class EDD_SL_Plugin_Updater {
252
  * @param string $url
253
  * @return object $array
254
  */
255
- function http_request_args( $args, $url ) {
256
  // If it is an https request and we are performing a package download, disable ssl verification
257
  if ( strpos( $url, 'https://' ) !== false && strpos( $url, 'edd_action=package_download' ) ) {
258
  $args['sslverify'] = false;
@@ -299,6 +299,13 @@ class EDD_SL_Plugin_Updater {
299
  'url' => home_url(),
300
  );
301
 
 
 
 
 
 
 
 
302
  $request = wp_remote_post( $this->api_url, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) );
303
 
304
  if ( ! is_wp_error( $request ) ) {
@@ -307,8 +314,10 @@ class EDD_SL_Plugin_Updater {
307
 
308
  if ( $request && isset( $request->sections ) ) {
309
  $request->sections = maybe_unserialize( $request->sections );
 
310
  } else {
311
  $request = false;
 
312
  }
313
 
314
  return $request;
71
  * @param array $_transient_data Update array build by WordPress.
72
  * @return array Modified update array with custom plugin data.
73
  */
74
+ public function check_update( $_transient_data ) {
75
 
76
  global $pagenow;
77
 
142
 
143
  $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) );
144
 
145
+ set_transient( $cache_key, $version_info, HOUR_IN_SECONDS );
146
  }
147
 
148
  if ( ! is_object( $version_info ) ) {
212
  * @param object $_args
213
  * @return object $_data
214
  */
215
+ public function plugins_api_filter( $_data, $_action = '', $_args = null ) {
216
 
217
  if ( $_action != 'plugin_information' ) {
218
 
252
  * @param string $url
253
  * @return object $array
254
  */
255
+ public function http_request_args( $args, $url ) {
256
  // If it is an https request and we are performing a package download, disable ssl verification
257
  if ( strpos( $url, 'https://' ) !== false && strpos( $url, 'edd_action=package_download' ) ) {
258
  $args['sslverify'] = false;
299
  'url' => home_url(),
300
  );
301
 
302
+ $cache_key = 'edd_plugin_' . md5( sanitize_key( $api_params['license'] . $this->version ) . '_' . $api_params['edd_action'] );
303
+ $cached_response = get_transient( $cache_key );
304
+ if ( $cached_response !== false ) {
305
+ // if this has been checked within 24 hours, don't check again
306
+ return $cached_response;
307
+ }
308
+
309
  $request = wp_remote_post( $this->api_url, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) );
310
 
311
  if ( ! is_wp_error( $request ) ) {
314
 
315
  if ( $request && isset( $request->sections ) ) {
316
  $request->sections = maybe_unserialize( $request->sections );
317
+ set_transient( $cache_key, $request, DAY_IN_SECONDS );
318
  } else {
319
  $request = false;
320
+ set_transient( $cache_key, 0, DAY_IN_SECONDS );
321
  }
322
 
323
  return $request;
classes/models/FrmAddon.php CHANGED
@@ -5,7 +5,7 @@ if ( ! defined( 'ABSPATH' ) ) {
5
  }
6
 
7
  class FrmAddon {
8
- public $store_url = 'http://formidablepro.com';
9
  public $plugin_file;
10
  public $plugin_name;
11
  public $plugin_slug;
@@ -23,6 +23,12 @@ class FrmAddon {
23
  }
24
 
25
  add_filter( 'frm_installed_addons', array( &$this, 'insert_installed_addon' ) );
 
 
 
 
 
 
26
  }
27
 
28
  public function insert_installed_addon( $plugins ) {
@@ -44,7 +50,9 @@ class FrmAddon {
44
  // retrieve our license key from the DB
45
  $license = trim( get_option( $this->option_name . 'key' ) );
46
 
47
- if ( ! empty( $license ) ) {
 
 
48
  if ( ! class_exists('EDD_SL_Plugin_Updater') ) {
49
  include( dirname( __FILE__ ) . '/EDD_SL_Plugin_Updater.php' );
50
  }
@@ -53,12 +61,20 @@ class FrmAddon {
53
  new EDD_SL_Plugin_Updater( $this->store_url, $this->plugin_file, array(
54
  'version' => $this->version,
55
  'license' => $license,
56
- 'item_name' => $this->plugin_name,
57
  'author' => $this->author,
58
  ) );
59
  }
60
  }
61
 
 
 
 
 
 
 
 
 
 
62
  public static function activate() {
63
  check_ajax_referer( 'frm_ajax', 'nonce' );
64
 
5
  }
6
 
7
  class FrmAddon {
8
+ public $store_url = 'https://formidablepro.com';
9
  public $plugin_file;
10
  public $plugin_name;
11
  public $plugin_slug;
23
  }
24
 
25
  add_filter( 'frm_installed_addons', array( &$this, 'insert_installed_addon' ) );
26
+ $this->edd_plugin_updater();
27
+ }
28
+
29
+ public static function load_hooks() {
30
+ add_filter( 'frm_include_addon_page', '__return_true' );
31
+ new static();
32
  }
33
 
34
  public function insert_installed_addon( $plugins ) {
50
  // retrieve our license key from the DB
51
  $license = trim( get_option( $this->option_name . 'key' ) );
52
 
53
+ if ( empty( $license ) ) {
54
+ add_action( 'after_plugin_row_' . plugin_basename( $this->plugin_file ), array( $this, 'show_license_message' ), 10, 2 );
55
+ } else {
56
  if ( ! class_exists('EDD_SL_Plugin_Updater') ) {
57
  include( dirname( __FILE__ ) . '/EDD_SL_Plugin_Updater.php' );
58
  }
61
  new EDD_SL_Plugin_Updater( $this->store_url, $this->plugin_file, array(
62
  'version' => $this->version,
63
  'license' => $license,
 
64
  'author' => $this->author,
65
  ) );
66
  }
67
  }
68
 
69
+ public function show_license_message( $file, $plugin ) {
70
+ $wp_list_table = _get_list_table( 'WP_Plugins_List_Table' );
71
+ echo '<tr class="plugin-update-tr active"><td colspan="' . esc_attr( $wp_list_table->get_column_count() ) . '" class="plugin-update colspanchange"><div class="update-message">';
72
+ echo sprintf( __( 'Your %1$s license key is missing. Please add it on the %2$slicenses page%3$s.', 'formidable' ), $this->plugin_name, '<a href="' . esc_url( admin_url('admin.php?page=formidable-settings&t=licenses_settings' ) ) . '">', '</a>' );
73
+ $id = sanitize_title( $plugin['Name'] );
74
+ echo '<script type="text/javascript">var d = document.getElementById("' . esc_attr( $id ) . '");if ( d !== null ){ d.className = d.className + " update"; }</script>';
75
+ echo '</div></td></tr>';
76
+ }
77
+
78
  public static function activate() {
79
  check_ajax_referer( 'frm_ajax', 'nonce' );
80
 
classes/models/FrmEntry.php CHANGED
@@ -5,88 +5,37 @@ if ( ! defined('ABSPATH') ) {
5
 
6
  class FrmEntry {
7
 
8
- public static function create( $values ) {
9
- global $wpdb;
10
-
11
- self::sanitize_entry_post( $values );
12
-
13
- $values = apply_filters('frm_pre_create_entry', $values);
 
 
 
 
 
14
 
15
- if ( ! isset( $values['item_key'] ) ) {
16
- $values['item_key'] = '';
 
 
 
 
 
 
 
 
 
 
 
17
  }
18
 
19
- $item_name = self::get_new_entry_name( $values, $values['item_key'] );
20
- $new_values = array(
21
- 'item_key' => FrmAppHelper::get_unique_key($values['item_key'], $wpdb->prefix .'frm_items', 'item_key'),
22
- 'name' => FrmAppHelper::truncate( $item_name, 255, 1, '' ),
23
- 'ip' => FrmAppHelper::get_ip_address(),
24
- 'is_draft' => ( ( isset($values['frm_saving_draft']) && $values['frm_saving_draft'] == 1 ) || ( isset($values['is_draft']) && $values['is_draft'] == 1) ) ? 1 : 0,
25
- 'form_id' => isset($values['form_id']) ? (int) $values['form_id']: null,
26
- 'post_id' => isset( $values['post_id'] ) ? (int) $values['post_id']: 0,
27
- 'parent_item_id' => isset( $values['parent_item_id'] ) ? (int) $values['parent_item_id']: 0,
28
- 'created_at' => isset($values['created_at']) ? $values['created_at'] : current_time('mysql', 1),
29
- 'updated_at' => isset($values['updated_at']) ? $values['updated_at'] : ( isset($values['created_at']) ? $values['created_at'] : current_time('mysql', 1) ),
30
- );
31
-
32
- if ( is_array($new_values['name']) ) {
33
- $new_values['name'] = reset($new_values['name']);
34
- }
35
-
36
- if ( isset($values['description']) && ! empty($values['description']) ) {
37
- $new_values['description'] = maybe_serialize($values['description']);
38
- } else {
39
- $new_values['description'] = serialize( array(
40
- 'browser' => FrmAppHelper::get_server_value( 'HTTP_USER_AGENT' ),
41
- 'referrer' => FrmAppHelper::get_server_value( 'HTTP_REFERER' ),
42
- ) );
43
- }
44
-
45
- //if(isset($values['id']) and is_numeric($values['id']))
46
- // $new_values['id'] = $values['id'];
47
-
48
- if ( isset($values['frm_user_id']) && ( is_numeric($values['frm_user_id']) || FrmAppHelper::is_admin() ) ) {
49
- $new_values['user_id'] = $values['frm_user_id'];
50
- } else {
51
- $user_ID = get_current_user_id();
52
- $new_values['user_id'] = $user_ID ? $user_ID : 0;
53
- }
54
-
55
- $new_values['updated_by'] = isset($values['updated_by']) ? $values['updated_by'] : $new_values['user_id'];
56
-
57
- // don't create duplicate entry
58
- if ( self::is_duplicate($new_values, $values) ) {
59
- return false;
60
- }
61
-
62
- $query_results = $wpdb->insert( $wpdb->prefix .'frm_items', $new_values );
63
-
64
- if ( ! $query_results ) {
65
- return false;
66
- }
67
-
68
- $entry_id = $wpdb->insert_id;
69
-
70
- global $frm_vars;
71
- if ( ! isset($frm_vars['saved_entries']) ) {
72
- $frm_vars['saved_entries'] = array();
73
- }
74
- $frm_vars['saved_entries'][] = (int) $entry_id;
75
-
76
- if ( isset($values['item_meta']) ) {
77
- FrmEntryMeta::update_entry_metas($entry_id, $values['item_meta']);
78
- }
79
 
80
- self::clear_cache();
81
-
82
- // this is a child entry
83
- $is_child = isset( $values['parent_form_id'] ) && isset( $values['parent_nonce'] ) && ! empty( $values['parent_form_id'] ) && wp_verify_nonce( $values['parent_nonce'], 'parent' );
84
-
85
- do_action( 'frm_after_create_entry', $entry_id, $new_values['form_id'], compact( 'is_child' ) );
86
- do_action( 'frm_after_create_entry_'. $new_values['form_id'], $entry_id , compact( 'is_child' ) );
87
-
88
- return $entry_id;
89
- }
90
 
91
  /**
92
  * check for duplicate entries created in the last minute
@@ -185,61 +134,44 @@ class FrmEntry {
185
  return $entry_id;
186
  }
187
 
188
- public static function update( $id, $values ) {
189
- global $wpdb, $frm_vars;
190
- if ( isset($frm_vars['saved_entries']) && is_array($frm_vars['saved_entries']) && in_array( (int) $id, (array) $frm_vars['saved_entries'] ) ) {
191
- return;
192
- }
193
-
194
- $values = apply_filters('frm_pre_update_entry', $values, $id);
195
-
196
- $user_ID = get_current_user_id();
197
-
198
- $item_name = self::get_new_entry_name( $values );
199
- $new_values = array(
200
- 'name' => $item_name,
201
- 'form_id' => isset($values['form_id']) ? (int) $values['form_id'] : null,
202
- 'is_draft' => ( ( isset($values['frm_saving_draft']) && $values['frm_saving_draft'] == 1 ) || ( isset($values['is_draft']) && $values['is_draft'] == 1) ) ? 1 : 0,
203
- 'updated_at' => current_time('mysql', 1),
204
- 'updated_by' => isset($values['updated_by']) ? $values['updated_by'] : $user_ID,
205
- );
206
-
207
- if ( isset($values['post_id']) ) {
208
- $new_values['post_id'] = (int) $values['post_id'];
209
- }
210
-
211
- if ( isset($values['item_key']) ) {
212
- $new_values['item_key'] = FrmAppHelper::get_unique_key($values['item_key'], $wpdb->prefix .'frm_items', 'item_key', $id);
213
- }
214
-
215
- if ( isset($values['parent_item_id']) ) {
216
- $new_values['parent_item_id'] = (int) $values['parent_item_id'];
217
- }
218
 
219
- if ( isset($values['frm_user_id']) && is_numeric($values['frm_user_id']) ) {
220
- $new_values['user_id'] = $values['frm_user_id'];
221
- }
 
 
 
 
 
 
 
 
222
 
223
- $new_values = apply_filters('frm_update_entry', $new_values, $id);
224
- $query_results = $wpdb->update( $wpdb->prefix .'frm_items', $new_values, compact('id') );
 
 
225
 
226
- if ( $query_results ) {
227
- self::clear_cache();
228
- }
229
 
230
- if ( ! isset( $frm_vars['saved_entries'] ) ) {
231
- $frm_vars['saved_entries'] = array();
232
- }
233
 
234
- $frm_vars['saved_entries'][] = (int) $id;
235
 
236
- if ( isset($values['item_meta']) ) {
237
- FrmEntryMeta::update_entry_metas($id, $values['item_meta']);
238
- }
239
- do_action('frm_after_update_entry', $id, $new_values['form_id']);
240
- do_action('frm_after_update_entry_'. $new_values['form_id'], $id);
241
- return $query_results;
242
- }
243
 
244
  public static function &destroy( $id ) {
245
  global $wpdb;
@@ -501,6 +433,46 @@ class FrmEntry {
501
  }
502
  }
503
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
504
  /**
505
  * Sanitize the POST values before we use them
506
  *
@@ -525,6 +497,355 @@ class FrmEntry {
525
  FrmAppHelper::sanitize_request( $sanitize_method, $values );
526
  }
527
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
528
  /**
529
  * @param string $key
530
  * @return int entry_id
5
 
6
  class FrmEntry {
7
 
8
+ /**
9
+ * Create a new entry
10
+ *
11
+ * @param array $values
12
+ * @return int | boolean $entry_id
13
+ */
14
+ public static function create( $values ) {
15
+ $entry_id = self::create_entry( $values, 'standard' );
16
+
17
+ return $entry_id;
18
+ }
19
 
20
+ /**
21
+ * Create a new entry with some differences depending on type
22
+ *
23
+ * @param array $values
24
+ * @param string $type
25
+ * @return int | boolean $entry_id
26
+ */
27
+ private static function create_entry( $values, $type ) {
28
+ $new_values = self::before_insert_entry_in_database( $values, $type );
29
+
30
+ // Don't check XML entries for duplicates
31
+ if ( $type != 'xml' && self::is_duplicate( $new_values, $values ) ) {
32
+ return false;
33
  }
34
 
35
+ $entry_id = self::continue_to_create_entry( $values, $new_values );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
+ return $entry_id;
38
+ }
 
 
 
 
 
 
 
 
39
 
40
  /**
41
  * check for duplicate entries created in the last minute
134
  return $entry_id;
135
  }
136
 
137
+ /**
138
+ * Update an entry (not via XML)
139
+ *
140
+ * @param int $id
141
+ * @param array $values
142
+ * @return boolean|int $update_results
143
+ */
144
+ public static function update( $id, $values ) {
145
+ $update_results = self::update_entry( $id, $values, 'standard' );
146
+
147
+ return $update_results;
148
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
 
150
+ /**
151
+ * Update an entry with some differences depending on the update type
152
+ *
153
+ * @since 2.0.16
154
+ *
155
+ * @param int $id
156
+ * @param array $values
157
+ * @return boolean|int $query_results
158
+ */
159
+ private static function update_entry( $id, $values, $update_type ) {
160
+ global $wpdb;
161
 
162
+ $update = self::before_update_entry( $id, $values, $update_type );
163
+ if ( ! $update ) {
164
+ return false;
165
+ }
166
 
167
+ $new_values = self::package_entry_to_update( $id, $values );
 
 
168
 
169
+ $query_results = $wpdb->update( $wpdb->prefix .'frm_items', $new_values, compact('id') );
 
 
170
 
171
+ self::after_update_entry( $query_results, $id, $values, $new_values );
172
 
173
+ return $query_results;
174
+ }
 
 
 
 
 
175
 
176
  public static function &destroy( $id ) {
177
  global $wpdb;
433
  }
434
  }
435
 
436
+ /**
437
+ * Prepare the data before inserting it into the database
438
+ *
439
+ * @since 2.0.16
440
+ * @param array $values
441
+ * @param string $type
442
+ * @return array $new_values
443
+ */
444
+ private static function before_insert_entry_in_database( &$values, $type ) {
445
+
446
+ self::sanitize_entry_post( $values );
447
+
448
+ if ( $type != 'xml' ) {
449
+ $values = apply_filters('frm_pre_create_entry', $values);
450
+ }
451
+
452
+ $new_values = self::package_entry_data( $values );
453
+
454
+ return $new_values;
455
+ }
456
+
457
+ /**
458
+ * Create an entry and perform after create actions
459
+ *
460
+ * @since 2.0.16
461
+ * @param array $values
462
+ * @param array $new_values
463
+ * @return boolean|int $entry_id
464
+ */
465
+ private static function continue_to_create_entry( $values, $new_values ) {
466
+ $entry_id = self::insert_entry_into_database( $new_values );
467
+ if ( ! $entry_id ) {
468
+ return false;
469
+ }
470
+
471
+ self::after_insert_entry_in_database( $values, $new_values, $entry_id );
472
+
473
+ return $entry_id;
474
+ }
475
+
476
  /**
477
  * Sanitize the POST values before we use them
478
  *
497
  FrmAppHelper::sanitize_request( $sanitize_method, $values );
498
  }
499
 
500
+ /**
501
+ * Prepare the new values for inserting into the database
502
+ *
503
+ * @since 2.0.16
504
+ * @param array $values
505
+ * @return array $new_values
506
+ */
507
+ private static function package_entry_data( &$values ) {
508
+ global $wpdb;
509
+
510
+ if ( ! isset( $values['item_key'] ) ) {
511
+ $values['item_key'] = '';
512
+ }
513
+
514
+ $item_name = self::get_new_entry_name( $values, $values['item_key'] );
515
+ $new_values = array(
516
+ 'item_key' => FrmAppHelper::get_unique_key($values['item_key'], $wpdb->prefix .'frm_items', 'item_key'),
517
+ 'name' => FrmAppHelper::truncate( $item_name, 255, 1, '' ),
518
+ 'ip' => FrmAppHelper::get_ip_address(),
519
+ 'is_draft' => self::get_is_draft_value( $values ),
520
+ 'form_id' => self::get_form_id( $values ),
521
+ 'post_id' => self::get_post_id( $values ),
522
+ 'parent_item_id' => self::get_parent_item_id( $values ),
523
+ 'created_at' => self::get_created_at( $values ),
524
+ 'updated_at' => self::get_updated_at( $values ),
525
+ 'description' => self::get_entry_description( $values ),
526
+ 'user_id' => self::get_entry_user_id( $values ),
527
+ );
528
+
529
+ if ( is_array($new_values['name']) ) {
530
+ $new_values['name'] = reset($new_values['name']);
531
+ }
532
+
533
+ $new_values['updated_by'] = isset($values['updated_by']) ? $values['updated_by'] : $new_values['user_id'];
534
+
535
+ return $new_values;
536
+ }
537
+
538
+ /**
539
+ * Get the is_draft value for a new entry
540
+ *
541
+ * @since 2.0.16
542
+ * @param array $values
543
+ * @return int
544
+ */
545
+ private static function get_is_draft_value( $values ) {
546
+ return ( ( isset( $values['frm_saving_draft'] ) && $values['frm_saving_draft'] == 1 ) || ( isset( $values['is_draft'] ) && $values['is_draft'] == 1 ) ) ? 1 : 0;
547
+ }
548
+
549
+ /**
550
+ * Get the form_id value for a new entry
551
+ *
552
+ * @since 2.0.16
553
+ * @param array $values
554
+ * @return int|null
555
+ */
556
+ private static function get_form_id( $values ) {
557
+ return isset( $values['form_id'] ) ? (int) $values['form_id'] : null;
558
+ }
559
+
560
+ /**
561
+ * Get the post_id value for a new entry
562
+ *
563
+ * @since 2.0.16
564
+ * @param array $values
565
+ * @return int
566
+ */
567
+ private static function get_post_id( $values ) {
568
+ return isset( $values['post_id'] ) ? (int) $values['post_id']: 0;
569
+ }
570
+
571
+ /**
572
+ * Get the parent_item_id value for a new entry
573
+ *
574
+ * @since 2.0.16
575
+ * @param array $values
576
+ * @return int
577
+ */
578
+ private static function get_parent_item_id( $values ) {
579
+ return isset( $values['parent_item_id'] ) ? (int) $values['parent_item_id']: 0;
580
+ }
581
+
582
+ /**
583
+ * Get the created_at value for a new entry
584
+ *
585
+ * @since 2.0.16
586
+ * @param array $values
587
+ * @return string
588
+ */
589
+ private static function get_created_at( $values ) {
590
+ return isset( $values['created_at'] ) ? $values['created_at']: current_time('mysql', 1);
591
+ }
592
+
593
+ /**
594
+ * Get the updated_at value for a new entry
595
+ *
596
+ * @since 2.0.16
597
+ * @param array $values
598
+ * @return string
599
+ */
600
+ private static function get_updated_at( $values ) {
601
+ if ( isset( $values['updated_at'] ) ) {
602
+ $updated_at = $values['updated_at'];
603
+ } else {
604
+ $updated_at = self::get_created_at( $values );
605
+ }
606
+
607
+ return $updated_at;
608
+ }
609
+
610
+ /**
611
+ * Get the description value for a new entry
612
+ *
613
+ * @since 2.0.16
614
+ * @param array $values
615
+ * @return string
616
+ */
617
+ private static function get_entry_description( $values ) {
618
+ if ( isset( $values['description'] ) && ! empty( $values['description'] ) ) {
619
+ $description = maybe_serialize( $values['description'] );
620
+ } else {
621
+ $description = serialize( array(
622
+ 'browser' => FrmAppHelper::get_server_value( 'HTTP_USER_AGENT' ),
623
+ 'referrer' => FrmAppHelper::get_server_value( 'HTTP_REFERER' ),
624
+ ) );
625
+ }
626
+
627
+ return $description;
628
+ }
629
+
630
+ /**
631
+ * Get the user_id value for a new entry
632
+ *
633
+ * @since 2.0.16
634
+ * @param array $values
635
+ * @return int
636
+ */
637
+ private static function get_entry_user_id( $values ) {
638
+ if ( isset( $values['frm_user_id'] ) && ( is_numeric( $values['frm_user_id'] ) || FrmAppHelper::is_admin() ) ) {
639
+ $user_id = $values['frm_user_id'];
640
+ } else {
641
+ $current_user_id = get_current_user_id();
642
+ $user_id = $current_user_id ? $current_user_id : 0;
643
+ }
644
+
645
+ return $user_id;
646
+ }
647
+
648
+ /**
649
+ * Insert new entry into the database
650
+ *
651
+ * @since 2.0.16
652
+ * @param array $new_values
653
+ * @return int | boolean $entry_id
654
+ */
655
+ private static function insert_entry_into_database( $new_values ) {
656
+ global $wpdb;
657
+
658
+ $query_results = $wpdb->insert( $wpdb->prefix .'frm_items', $new_values );
659
+
660
+ if ( ! $query_results ) {
661
+ $entry_id = false;
662
+ } else {
663
+ $entry_id = $wpdb->insert_id;
664
+ }
665
+
666
+ return $entry_id;
667
+ }
668
+
669
+ /**
670
+ * Add the new entry to global $frm_vars
671
+ *
672
+ * @since 2.0.16
673
+ * @param int $entry_id
674
+ */
675
+ private static function add_new_entry_to_frm_vars( $entry_id ) {
676
+ global $frm_vars;
677
+
678
+ if ( ! isset($frm_vars['saved_entries']) ) {
679
+ $frm_vars['saved_entries'] = array();
680
+ }
681
+
682
+ $frm_vars['saved_entries'][] = (int) $entry_id;
683
+ }
684
+
685
+ /**
686
+ * Add entry metas, if there are any
687
+ *
688
+ * @since 2.0.16
689
+ * @param array $values
690
+ * @param int $entry_id
691
+ */
692
+ private static function maybe_add_entry_metas( $values, $entry_id ) {
693
+ if ( isset($values['item_meta']) ) {
694
+ FrmEntryMeta::update_entry_metas( $entry_id, $values['item_meta'] );
695
+ }
696
+ }
697
+
698
+ /**
699
+ * Trigger frm_after_create_entry hooks
700
+ *
701
+ * @since 2.0.16
702
+ * @param int $entry_id
703
+ * @param array $new_values
704
+ */
705
+ private static function after_entry_created_actions( $entry_id, $values, $new_values ) {
706
+ // this is a child entry
707
+ $is_child = isset( $values['parent_form_id'] ) && isset( $values['parent_nonce'] ) && ! empty( $values['parent_form_id'] ) && wp_verify_nonce( $values['parent_nonce'], 'parent' );
708
+
709
+ do_action( 'frm_after_create_entry', $entry_id, $new_values['form_id'], compact( 'is_child' ) );
710
+ do_action( 'frm_after_create_entry_'. $new_values['form_id'], $entry_id , compact( 'is_child' ) );
711
+ }
712
+
713
+ /**
714
+ * Actions to perform immediately after an entry is inserted in the frm_items database
715
+ *
716
+ * @since 2.0.16
717
+ * @param array $values
718
+ * @param array $new_values
719
+ * @param int $entry_id
720
+ */
721
+ private static function after_insert_entry_in_database( $values, $new_values, $entry_id ) {
722
+
723
+ self::add_new_entry_to_frm_vars( $entry_id );
724
+
725
+ self::maybe_add_entry_metas( $values, $entry_id );
726
+
727
+ self::clear_cache();
728
+
729
+ self::after_entry_created_actions( $entry_id, $values, $new_values );
730
+ }
731
+
732
+ /**
733
+ * Perform some actions right before updating an entry
734
+ *
735
+ * @since 2.0.16
736
+ * @param int $id
737
+ * @param array $values
738
+ * @param string $update_type
739
+ * @return boolean $update
740
+ */
741
+ private static function before_update_entry( $id, &$values, $update_type ) {
742
+ $update = true;
743
+
744
+ global $frm_vars;
745
+
746
+ if ( isset( $frm_vars['saved_entries'] ) && is_array( $frm_vars['saved_entries'] ) && in_array( (int) $id, (array) $frm_vars['saved_entries'] ) ) {
747
+ $update = false;
748
+ }
749
+
750
+ if ( $update && $update_type != 'xml' ) {
751
+ $values = apply_filters('frm_pre_update_entry', $values, $id);
752
+ }
753
+
754
+ return $update;
755
+ }
756
+
757
+ /**
758
+ * Package the entry data for updating
759
+ *
760
+ * @since 2.0.16
761
+ * @param int $id
762
+ * @param array $values
763
+ * @return array $new_values
764
+ */
765
+ private static function package_entry_to_update( $id, $values ) {
766
+ global $wpdb;
767
+
768
+ $new_values = array(
769
+ 'name' => self::get_new_entry_name( $values ),
770
+ 'form_id' => self::get_form_id( $values ),
771
+ 'is_draft' => self::get_is_draft_value( $values ),
772
+ 'updated_at' => current_time('mysql', 1),
773
+ 'updated_by' => isset($values['updated_by']) ? $values['updated_by'] : get_current_user_id(),
774
+ 'post_id' => self::get_post_id( $values ),
775
+ 'parent_item_id' => self::get_parent_item_id( $values ),
776
+ );
777
+
778
+ if ( isset($values['item_key']) ) {
779
+ $new_values['item_key'] = FrmAppHelper::get_unique_key($values['item_key'], $wpdb->prefix .'frm_items', 'item_key', $id);
780
+ }
781
+
782
+ if ( isset($values['frm_user_id']) && is_numeric($values['frm_user_id']) ) {
783
+ $new_values['user_id'] = $values['frm_user_id'];
784
+ }
785
+
786
+ $new_values = apply_filters('frm_update_entry', $new_values, $id);
787
+
788
+ return $new_values;
789
+ }
790
+
791
+ /**
792
+ * Perform some actions right after updating an entry
793
+ *
794
+ * @since 2.0.16
795
+ * @param boolean|int $query_results
796
+ * @param int $id
797
+ * @param array $values
798
+ * @param array $new_values
799
+ */
800
+ private static function after_update_entry( $query_results, $id, $values, $new_values ) {
801
+ if ( $query_results ) {
802
+ self::clear_cache();
803
+ }
804
+
805
+ global $frm_vars;
806
+ if ( ! isset( $frm_vars['saved_entries'] ) ) {
807
+ $frm_vars['saved_entries'] = array();
808
+ }
809
+
810
+ $frm_vars['saved_entries'][] = (int) $id;
811
+
812
+ if ( isset( $values['item_meta'] ) ) {
813
+ FrmEntryMeta::update_entry_metas( $id, $values['item_meta'] );
814
+ }
815
+
816
+ do_action('frm_after_update_entry', $id, $new_values['form_id'] );
817
+ do_action('frm_after_update_entry_'. $new_values['form_id'], $id );
818
+ }
819
+
820
+ /**
821
+ * Create entry from an XML import
822
+ * Certain actions aren't necessary when importing (like saving sub entries, checking for duplicates, etc.)
823
+ *
824
+ * @since 2.0.16
825
+ * @param array $values
826
+ * @return int | boolean $entry_id
827
+ */
828
+ public static function create_entry_from_xml( $values ){
829
+ $entry_id = self::create_entry( $values, 'xml' );
830
+
831
+ return $entry_id;
832
+ }
833
+
834
+ /**
835
+ * Update entry from an XML import
836
+ * Certain actions aren't necessary when importing (like saving sub entries and modifying other vals)
837
+ *
838
+ * @since 2.0.16
839
+ * @param int $id
840
+ * @param array $values
841
+ * @return int | boolean $updated
842
+ */
843
+ public static function update_entry_from_xml( $id, $values ) {
844
+ $updated = self::update_entry( $id, $values, 'xml' );
845
+
846
+ return $updated;
847
+ }
848
+
849
  /**
850
  * @param string $key
851
  * @return int entry_id
classes/models/FrmEntryValidate.php CHANGED
@@ -182,7 +182,7 @@ class FrmEntryValidate {
182
 
183
  private static function is_akismet_spam( $values ) {
184
  global $wpcom_api_key;
185
- return ( ( function_exists( 'akismet_http_post' ) || is_callable('Akismet::http_post') ) && ( get_option('wordpress_api_key') || $wpcom_api_key ) && self::akismet( $values ) );
186
  }
187
 
188
  private static function is_akismet_enabled_for_user( $form_id ) {
182
 
183
  private static function is_akismet_spam( $values ) {
184
  global $wpcom_api_key;
185
+ return ( is_callable('Akismet::http_post') && ( get_option('wordpress_api_key') || $wpcom_api_key ) && self::akismet( $values ) );
186
  }
187
 
188
  private static function is_akismet_enabled_for_user( $form_id ) {
classes/models/FrmFormAction.php CHANGED
@@ -457,7 +457,7 @@ class FrmFormAction {
457
  $default_values = $this->get_global_defaults();
458
 
459
  // fill default values
460
- $action->post_content = wp_parse_args( $action->post_content, $default_values);
461
 
462
  foreach ( $default_values as $k => $vals ) {
463
  if ( is_array($vals) && ! empty($vals) ) {
457
  $default_values = $this->get_global_defaults();
458
 
459
  // fill default values
460
+ $action->post_content += $default_values;
461
 
462
  foreach ( $default_values as $k => $vals ) {
463
  if ( is_array($vals) && ! empty($vals) ) {
classes/models/FrmNotification.php CHANGED
@@ -169,7 +169,7 @@ class FrmNotification {
169
  * @since 2.0.1
170
  */
171
  private static function explode_emails( $emails ) {
172
- $emails = ( ! empty( $emails ) ? preg_split( '/(,|;)/', $emails ) : '' );
173
  if ( is_array( $emails ) ) {
174
  $emails = array_map( 'trim', $emails );
175
  } else {
169
  * @since 2.0.1
170
  */
171
  private static function explode_emails( $emails ) {
172
+ $emails = ( ! empty( $emails ) ? preg_split( '/(,|;|\s)/', $emails ) : '' );
173
  if ( is_array( $emails ) ) {
174
  $emails = array_map( 'trim', $emails );
175
  } else {
css/_single_theme.css.php CHANGED
@@ -121,7 +121,7 @@ if ( ! isset( $center_form ) ) {
121
 
122
  .<?php echo esc_html( $style_class ) ?> label.frm_primary_label,
123
  .<?php echo esc_html( $style_class ) ?>.frm_login_form label{
124
- font-family:<?php echo esc_html( stripslashes( $font ) ) ?>;
125
  font-size:<?php echo esc_html( $font_size . $important ) ?>;
126
  color:#<?php echo esc_html( $label_color . $important ) ?>;
127
  font-weight:<?php echo esc_html( $weight . $important ) ?>;
@@ -176,7 +176,7 @@ if ( ! isset( $center_form ) ) {
176
  .<?php echo esc_html( $style_class ) ?> .frm_error{
177
  margin:0;
178
  padding:0;
179
- font-family:<?php echo esc_html( stripslashes($font) . $important ) ?>;
180
  font-size:<?php echo esc_html( $description_font_size . $important ) ?>;
181
  color:#<?php echo esc_html( $description_color . $important ) ?>;
182
  font-weight:<?php echo esc_html( $description_weight . $important ) ?>;
@@ -279,7 +279,7 @@ if ( ! isset( $center_form ) ) {
279
 
280
  .<?php echo esc_html( $style_class ) ?> .frm_scale label{
281
  font-weight:<?php echo esc_html( $check_weight . $important ) ?>;
282
- font-family:<?php echo esc_html( stripslashes($font) . $important ) ?>;
283
  font-size:<?php echo esc_html( $check_font_size . $important ) ?>;
284
  color:#<?php echo esc_html( $check_label_color . $important ) ?>;
285
  }
@@ -299,7 +299,7 @@ if ( ! isset( $center_form ) ) {
299
  .<?php echo esc_html( $style_class ) ?> select,
300
  .<?php echo esc_html( $style_class ) ?> textarea,
301
  .<?php echo esc_html( $style_class ) ?> .chosen-container{
302
- font-family:<?php echo esc_html( stripslashes($font) . $important ) ?>;
303
  font-size:<?php echo esc_html( $field_font_size ) ?>;
304
  margin-bottom:0<?php echo esc_html( $important ) ?>;
305
  }
@@ -374,7 +374,7 @@ if ( ! isset( $center_form ) ) {
374
  .<?php echo esc_html( $style_class ) ?> input[type=file]{
375
  color:#<?php echo esc_html( $text_color . $important ) ?>;
376
  padding:0px;
377
- font-family:<?php echo esc_html( stripslashes( $font ) . $important ) ?>;
378
  font-size:<?php echo esc_html( $field_font_size . $important ) ?>;
379
  }
380
 
@@ -383,7 +383,7 @@ if ( ! isset( $center_form ) ) {
383
  }
384
 
385
  .<?php echo esc_html( $style_class ) ?> .frm_file_names, .<?php echo esc_html( $style_class ) ?> .frm_uploaded_files .frm_remove_link{
386
- font-family:<?php echo esc_html( stripslashes( $font ) . $important ) ?>;
387
  font-size:<?php echo esc_html( $field_font_size . $important ) ?>;
388
  }
389
 
@@ -470,7 +470,7 @@ if ( ! $submit_style ) { ?>
470
  .frm_form_submit_style,
471
  .<?php echo esc_html( $style_class ) ?>.frm_login_form input[type=submit]{
472
  width:<?php echo esc_html( ( $submit_width == '' ? 'auto' : $submit_width ) . $important ) ?>;
473
- font-family:<?php echo esc_html( stripslashes( $font ) ) ?>;
474
  font-size:<?php echo esc_html( $submit_font_size . $important ); ?>;
475
  height:<?php echo esc_html( $submit_height . $important ) ?>;
476
  line-height:normal<?php echo esc_html( $important ) ?>;
@@ -535,13 +535,13 @@ if ( ! $submit_style ) { ?>
535
  ?>
536
 
537
  .<?php echo esc_html( $style_class ) ?> a.frm_save_draft{
538
- font-family:<?php echo esc_html( stripslashes( $font ) ) ?>;
539
  font-size:<?php echo esc_html( $submit_font_size ) ?>;
540
  font-weight:<?php echo esc_html( $submit_weight ) ?>;
541
  }
542
 
543
  .<?php echo esc_html( $style_class ) ?> #frm_field_cptch_number_container{
544
- font-family:<?php echo esc_html( stripslashes( $font ) ) ?>;
545
  font-size:<?php echo esc_html( $font_size . $important ) ?>;
546
  color:#<?php echo esc_html( $label_color . $important ) ?>;
547
  font-weight:<?php echo esc_html( $weight . $important ) ?>;
@@ -574,7 +574,7 @@ if ( ! $submit_style ) { ?>
574
 
575
  .<?php echo esc_html( $style_class ) ?> .frm_radio label,
576
  .<?php echo esc_html( $style_class ) ?> .frm_checkbox label{
577
- font-family:<?php echo esc_html( stripslashes($font) . $important ) ?>;
578
  font-size:<?php echo esc_html( $check_font_size . $important ) ?>;
579
  color:#<?php echo esc_html( $check_label_color . $important ) ?>;
580
  font-weight:<?php echo esc_html( $check_weight . $important ) ?>;
@@ -714,7 +714,7 @@ if ( ! $submit_style ) { ?>
714
  -webkit-border-radius:<?php echo esc_html( $border_radius . $important ) ?>;
715
  border-radius:<?php echo esc_html( $border_radius . $important ) ?>;
716
  font-size:<?php echo esc_html( $submit_font_size . $important ) ?>;
717
- font-family:<?php echo esc_html( stripslashes($font) . $important ) ?>;
718
  font-weight:<?php echo esc_html( $submit_weight . $important ) ?>;
719
  color:#<?php echo esc_html( $submit_text_color . $important ) ?>;
720
  background:#<?php echo esc_html( $submit_bg_color . $important ) ?>;
121
 
122
  .<?php echo esc_html( $style_class ) ?> label.frm_primary_label,
123
  .<?php echo esc_html( $style_class ) ?>.frm_login_form label{
124
+ font-family:<?php echo FrmAppHelper::kses( stripslashes( $font ) ) ?>;
125
  font-size:<?php echo esc_html( $font_size . $important ) ?>;
126
  color:#<?php echo esc_html( $label_color . $important ) ?>;
127
  font-weight:<?php echo esc_html( $weight . $important ) ?>;
176
  .<?php echo esc_html( $style_class ) ?> .frm_error{
177
  margin:0;
178
  padding:0;
179
+ font-family:<?php echo FrmAppHelper::kses( stripslashes($font) . $important ) ?>;
180
  font-size:<?php echo esc_html( $description_font_size . $important ) ?>;
181
  color:#<?php echo esc_html( $description_color . $important ) ?>;
182
  font-weight:<?php echo esc_html( $description_weight . $important ) ?>;
279
 
280
  .<?php echo esc_html( $style_class ) ?> .frm_scale label{
281
  font-weight:<?php echo esc_html( $check_weight . $important ) ?>;
282
+ font-family:<?php echo FrmAppHelper::kses( stripslashes($font) . $important ) ?>;
283
  font-size:<?php echo esc_html( $check_font_size . $important ) ?>;
284
  color:#<?php echo esc_html( $check_label_color . $important ) ?>;
285
  }
299
  .<?php echo esc_html( $style_class ) ?> select,
300
  .<?php echo esc_html( $style_class ) ?> textarea,
301
  .<?php echo esc_html( $style_class ) ?> .chosen-container{
302
+ font-family:<?php echo FrmAppHelper::kses( stripslashes($font) . $important ) ?>;
303
  font-size:<?php echo esc_html( $field_font_size ) ?>;
304
  margin-bottom:0<?php echo esc_html( $important ) ?>;
305
  }
374
  .<?php echo esc_html( $style_class ) ?> input[type=file]{
375
  color:#<?php echo esc_html( $text_color . $important ) ?>;
376
  padding:0px;
377
+ font-family:<?php echo FrmAppHelper::kses( stripslashes( $font ) . $important ) ?>;
378
  font-size:<?php echo esc_html( $field_font_size . $important ) ?>;
379
  }
380
 
383
  }
384
 
385
  .<?php echo esc_html( $style_class ) ?> .frm_file_names, .<?php echo esc_html( $style_class ) ?> .frm_uploaded_files .frm_remove_link{
386
+ font-family:<?php echo FrmAppHelper::kses( stripslashes( $font ) . $important ) ?>;
387
  font-size:<?php echo esc_html( $field_font_size . $important ) ?>;
388
  }
389
 
470
  .frm_form_submit_style,
471
  .<?php echo esc_html( $style_class ) ?>.frm_login_form input[type=submit]{
472
  width:<?php echo esc_html( ( $submit_width == '' ? 'auto' : $submit_width ) . $important ) ?>;
473
+ font-family:<?php echo FrmAppHelper::kses( stripslashes( $font ) ) ?>;
474
  font-size:<?php echo esc_html( $submit_font_size . $important ); ?>;
475
  height:<?php echo esc_html( $submit_height . $important ) ?>;
476
  line-height:normal<?php echo esc_html( $important ) ?>;
535
  ?>
536
 
537
  .<?php echo esc_html( $style_class ) ?> a.frm_save_draft{
538
+ font-family:<?php echo FrmAppHelper::kses( stripslashes( $font ) ) ?>;
539
  font-size:<?php echo esc_html( $submit_font_size ) ?>;
540
  font-weight:<?php echo esc_html( $submit_weight ) ?>;
541
  }
542
 
543
  .<?php echo esc_html( $style_class ) ?> #frm_field_cptch_number_container{
544
+ font-family:<?php echo FrmAppHelper::kses( stripslashes( $font ) ) ?>;
545
  font-size:<?php echo esc_html( $font_size . $important ) ?>;
546
  color:#<?php echo esc_html( $label_color . $important ) ?>;
547
  font-weight:<?php echo esc_html( $weight . $important ) ?>;
574
 
575
  .<?php echo esc_html( $style_class ) ?> .frm_radio label,
576
  .<?php echo esc_html( $style_class ) ?> .frm_checkbox label{
577
+ font-family:<?php echo FrmAppHelper::kses( stripslashes($font) . $important ) ?>;
578
  font-size:<?php echo esc_html( $check_font_size . $important ) ?>;
579
  color:#<?php echo esc_html( $check_label_color . $important ) ?>;
580
  font-weight:<?php echo esc_html( $check_weight . $important ) ?>;
714
  -webkit-border-radius:<?php echo esc_html( $border_radius . $important ) ?>;
715
  border-radius:<?php echo esc_html( $border_radius . $important ) ?>;
716
  font-size:<?php echo esc_html( $submit_font_size . $important ) ?>;
717
+ font-family:<?php echo FrmAppHelper::kses( stripslashes($font) . $important ) ?>;
718
  font-weight:<?php echo esc_html( $submit_weight . $important ) ?>;
719
  color:#<?php echo esc_html( $submit_text_color . $important ) ?>;
720
  background:#<?php echo esc_html( $submit_bg_color . $important ) ?>;
css/frm_admin.css CHANGED
@@ -203,7 +203,6 @@ div.frm_msg_padding{
203
  .frm_forms.with_frm_style{max-width:100%;}
204
  label.frm_primary_label,
205
  #frm_form_editor_container label.frm_primary_label{
206
- font-size:12px;
207
  font-weight:bold;
208
  }
209
  .form-field label.frm_primary_label{
@@ -412,7 +411,7 @@ form label.frm_primary_label input{font-size:12px;}
412
  vertical-align: middle;
413
  }
414
 
415
- .frm_scale{text-align:center;float:left;}
416
  .frm_scale input{display:block;margin:5px}
417
  .frm_form_fields:not(.frm_sample_form) input, .frm_form_fields:not(.frm_sample_form) select, .frm_form_fields:not(.frm_sample_form) textarea{
418
  margin-bottom:0;
@@ -543,8 +542,8 @@ label input[type="checkbox"], label input[type="radio"]{vertical-align:baseline;
543
  height:34px;
544
  }
545
  .frm_form_builder a:hover{text-decoration:underline;}
546
- .frm_38_trigger .widget-title h4 {padding:10px 15px;}
547
- .frm_38_trigger .widget-top a.widget-action:after {padding: 7px 12px 0;}
548
  #postbox-container-1{width:270px;}
549
  #postbox-container-1 .nodrag a{cursor:pointer;}
550
  #postbox-container-1 .frm_field_list #frm-insert-fields{
@@ -887,7 +886,7 @@ li.ui-state-default.selected .frm-show-click.frm_import_options select {
887
  #form_settings_page #post-body-content{min-width:650px;}
888
  #form_settings_page .frm_posttax_row select{max-width:35%;}
889
  select.frm_cancelnew, input.frm_enternew{width:175px;}
890
- .frm_field_box .widget-inside{background:#FBFBFB;}
891
 
892
  /* Global Settings */
893
  .categorydiv .frm_settings_form div.tabs-panel.general_settings{border-top:none;}
@@ -1008,7 +1007,7 @@ select.frm_cancelnew, input.frm_enternew{width:175px;}
1008
  .frm_email_reply_container select,
1009
  .frm_email_reply_container input,
1010
  .form-table td.frm_150_width{
1011
- width:150px;
1012
  }
1013
 
1014
  #frm_notification_settings .frm_no_top_padding{
@@ -1044,8 +1043,11 @@ select.frm_cancelnew, input.frm_enternew{width:175px;}
1044
  #frm_email_addon_menu h3{
1045
  display: inline-block;
1046
  border-bottom:none;
 
1047
  }
1048
  #frm_email_addon_menu h3{
 
 
1049
  margin: 0;
1050
  padding: 10px 15px;
1051
  overflow: hidden;
@@ -1162,15 +1164,9 @@ label.frm_action_events{
1162
  #form_show_entry_page .inside h3{
1163
  border-top:1px solid #eee;
1164
  border-bottom:none;
1165
- margin:15px -15px;
1166
- padding-left:15px;
1167
- }
1168
-
1169
- #poststuff .frm_form_settings .advanced_settings h3,
1170
- #poststuff .frm_form_settings .frm_email_settings .widget-inside h3,
1171
- #form_show_entry_page .inside h3{
1172
- margin-bottom:0;
1173
- padding-bottom:0;
1174
  }
1175
 
1176
  #poststuff .frm_form_settings h3.frm_first_h3,
@@ -1294,7 +1290,7 @@ span.howto{display:inline;}
1294
  .frm_sorting .form-field .widget select,
1295
  #wpcontent .frm_sorting .form-field .widget select,
1296
  .frm_sorting .form-field .widget textarea{
1297
- width:auto;font-size:11px;
1298
  }
1299
 
1300
  .tagchecklist span.no_taglist {
@@ -1415,7 +1411,7 @@ span.howto{display:inline;}
1415
  .frm_sorting > li.ui-state-default,
1416
  .frm_sorting .no_repeat_section li.ui-state-default.edit_field_type_end_divider:hover{
1417
  border:1px solid transparent;
1418
- font-weight:lighter !important;
1419
  background-color:transparent;
1420
  background-image:none;
1421
  padding:5px;
@@ -1486,8 +1482,8 @@ a.frm_button:hover{
1486
  }
1487
  ul.start_divider{
1488
  padding:6px 12px 0;
1489
- border-left:1px solid #D7D7D7;
1490
- border-bottom:1px solid #D7D7D7;
1491
  min-height:100px;
1492
  }
1493
 
@@ -1524,13 +1520,6 @@ ul.start_divider{
1524
  .frm_validation_msg p label{float:left;width:25%;max-width:100px;}
1525
  .frm_sorting .form-field .widget .frm_validation_msg input{width:71%;}
1526
 
1527
- .frm_38_trigger .frm_sorting .widget-inside .form-table td,
1528
- .frm_38_trigger .frm_sorting .widget-inside .form-table td p,
1529
- .frm_38_trigger .frm_sorting .widget-inside .form-wrap label{
1530
- font-size:12px;
1531
- padding:10px;
1532
- }
1533
-
1534
  .frm_38_trigger .frm_sorting .widget-inside .form-table td p,
1535
  .frm_38_trigger .frm_sorting .widget-inside .form-wrap label{
1536
  padding:10px 0;
@@ -1704,8 +1693,12 @@ table td.frm_left_label{
1704
  .frm_sorting li.ui-state-default.frm_not_divider.selected,
1705
  .frm_38_trigger .frm_sorting li.ui-state-default.frm_not_divider.selected,
1706
  .frm_sorting li.ui-state-default.selected.edit_field_type_divider .divider_section_only{
1707
- border:1px solid #e4f3ff;
1708
  background-color: #fbfdff;
 
 
 
 
 
1709
  }
1710
  .start_divider.frm_sorting li.ui-state-default.frm_not_divider.selected {
1711
  border:1px solid #E7E7E7;
203
  .frm_forms.with_frm_style{max-width:100%;}
204
  label.frm_primary_label,
205
  #frm_form_editor_container label.frm_primary_label{
 
206
  font-weight:bold;
207
  }
208
  .form-field label.frm_primary_label{
411
  vertical-align: middle;
412
  }
413
 
414
+ .frm_scale{text-align:center;float:left;margin-right:10px;}
415
  .frm_scale input{display:block;margin:5px}
416
  .frm_form_fields:not(.frm_sample_form) input, .frm_form_fields:not(.frm_sample_form) select, .frm_form_fields:not(.frm_sample_form) textarea{
417
  margin-bottom:0;
542
  height:34px;
543
  }
544
  .frm_form_builder a:hover{text-decoration:underline;}
545
+ .frm_form_builder .frm_38_trigger .widget-title h4 {padding:10px 15px;}
546
+ .frm_form_builder .frm_38_trigger .widget-top a.widget-action:after {padding: 7px 12px 0;}
547
  #postbox-container-1{width:270px;}
548
  #postbox-container-1 .nodrag a{cursor:pointer;}
549
  #postbox-container-1 .frm_field_list #frm-insert-fields{
886
  #form_settings_page #post-body-content{min-width:650px;}
887
  #form_settings_page .frm_posttax_row select{max-width:35%;}
888
  select.frm_cancelnew, input.frm_enternew{width:175px;}
889
+
890
 
891
  /* Global Settings */
892
  .categorydiv .frm_settings_form div.tabs-panel.general_settings{border-top:none;}
1007
  .frm_email_reply_container select,
1008
  .frm_email_reply_container input,
1009
  .form-table td.frm_150_width{
1010
+ width:170px;
1011
  }
1012
 
1013
  #frm_notification_settings .frm_no_top_padding{
1043
  #frm_email_addon_menu h3{
1044
  display: inline-block;
1045
  border-bottom:none;
1046
+ padding: 10px;
1047
  }
1048
  #frm_email_addon_menu h3{
1049
+ font-size: 14px;
1050
+ line-height: 1.4;
1051
  margin: 0;
1052
  padding: 10px 15px;
1053
  overflow: hidden;
1164
  #form_show_entry_page .inside h3{
1165
  border-top:1px solid #eee;
1166
  border-bottom:none;
1167
+ margin:15px -15px 0;
1168
+ padding: 8px 15px;
1169
+ font-size:14px;
 
 
 
 
 
 
1170
  }
1171
 
1172
  #poststuff .frm_form_settings h3.frm_first_h3,
1290
  .frm_sorting .form-field .widget select,
1291
  #wpcontent .frm_sorting .form-field .widget select,
1292
  .frm_sorting .form-field .widget textarea{
1293
+ width:auto;
1294
  }
1295
 
1296
  .tagchecklist span.no_taglist {
1411
  .frm_sorting > li.ui-state-default,
1412
  .frm_sorting .no_repeat_section li.ui-state-default.edit_field_type_end_divider:hover{
1413
  border:1px solid transparent;
1414
+ font-weight:normal !important;
1415
  background-color:transparent;
1416
  background-image:none;
1417
  padding:5px;
1482
  }
1483
  ul.start_divider{
1484
  padding:6px 12px 0;
1485
+ border-left:1px solid #5B9DD9;
1486
+ border-bottom:1px solid #5B9DD9;
1487
  min-height:100px;
1488
  }
1489
 
1520
  .frm_validation_msg p label{float:left;width:25%;max-width:100px;}
1521
  .frm_sorting .form-field .widget .frm_validation_msg input{width:71%;}
1522
 
 
 
 
 
 
 
 
1523
  .frm_38_trigger .frm_sorting .widget-inside .form-table td p,
1524
  .frm_38_trigger .frm_sorting .widget-inside .form-wrap label{
1525
  padding:10px 0;
1693
  .frm_sorting li.ui-state-default.frm_not_divider.selected,
1694
  .frm_38_trigger .frm_sorting li.ui-state-default.frm_not_divider.selected,
1695
  .frm_sorting li.ui-state-default.selected.edit_field_type_divider .divider_section_only{
 
1696
  background-color: #fbfdff;
1697
+ border: 1px solid #5b9dd9;
1698
+ -webkit-box-shadow: 0 0 1px #96B0C7;;
1699
+ box-shadow: 0 0 1px #96B0C7;
1700
+ -webkit-transition: 0.5s border-color ease-in-out;
1701
+ transition: .5s border-color ease-in-out;
1702
  }
1703
  .start_divider.frm_sorting li.ui-state-default.frm_not_divider.selected {
1704
  border:1px solid #E7E7E7;
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.15
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.16
6
  Plugin URI: http://formidablepro.com/
7
  Author URI: http://strategy11.com
8
  Author: Strategy11
js/formidable.js CHANGED
@@ -158,7 +158,7 @@ function frmFrontFormJS(){
158
  var field_id = nameParts[0];
159
  var isRepeating = false;
160
 
161
- if ( nameParts.length === 1 || nameParts[1] == '[form' ) {
162
  return field_id;
163
  }
164
 
@@ -663,49 +663,96 @@ function frmFrontFormJS(){
663
 
664
  /* Show Field Functions */
665
  function routeToShowFieldAndSetVal( hideFieldContainer, f ) {
 
 
 
 
666
  if ( hideFieldContainer.length ) {
667
  // Field is not type=hidden
668
- showFieldAndSetValue( hideFieldContainer );
669
  } else {
670
  // Set field value (don't show it)
671
  var fieldName = getFieldName( f.HideField, f.hideContainerID );
672
  var inputs = jQuery( 'input[name^="' + fieldName + '"]' );
673
- setValForInputs( inputs );
674
  }
675
- removeFromHideFields( f.hideContainerID, f.FormId );
676
  }
677
 
678
- function showFieldAndSetValue( container ) {
679
  var inputs = getInputsInContainer( container );
680
 
681
- setValForInputs( inputs );
682
 
683
  container.show();
684
  }
685
 
686
- function setValForInputs( inputs ){
687
  if ( inputs.length ) {
 
 
 
688
  for ( var i = 0; i < inputs.length; i++ ) {
 
 
 
 
 
689
  setDefaultValue( jQuery( inputs[i] ) );
690
  maybeDoCalcForSingleField( inputs[i] );
691
  }
692
  }
693
  }
694
 
695
- function setDefaultValue( input ) {
696
- var inputLenth = input.length;
697
 
698
- // If the field already has a value (i.e. when form is loaded for editing an entry), don't get the default value
699
- if ( input.is(':checkbox, :radio') ) {
700
- if ( input.is(':checked') ) {
701
- return;
 
 
 
 
 
702
  }
703
- } else if ( input.val() ) {
704
- return;
705
  }
706
 
707
- if ( inputLenth ) {
708
- for ( var i = 0, l = inputLenth; i < l; i++ ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
709
  var field = jQuery(input[i]);
710
  var defaultValue = field.data('frmval');
711
  if ( typeof defaultValue !== 'undefined' ) {
@@ -744,9 +791,11 @@ function frmFrontFormJS(){
744
  function maybeGetDynamicFieldData( hvalue, rec ) {
745
  if ( hvalue.DynamicInfoIndices.length > 0 ) {
746
  var dynamicIndex;
 
747
  for ( var t = 0; t < hvalue.DynamicInfoIndices.length; t++ ) {
748
  dynamicIndex = hvalue.DynamicInfoIndices[ t ];
749
- showField( show_fields[ hvalue.hideContainerID ][ dynamicIndex ], hvalue.FieldName, rec );
 
750
  }
751
  }
752
  }
@@ -788,14 +837,14 @@ function frmFrontFormJS(){
788
  /* If no value, then assume no match */
789
  return 0;
790
  }
791
- return d.indexOf(c) != -1;
792
  },
793
  'not LIKE': function(c,d){
794
  if(!d){
795
  /* If no value, then assume no match */
796
  return 1;
797
  }
798
- return d.indexOf(c) == -1;
799
  }
800
  };
801
  return theOperators[op](a, b);
@@ -858,7 +907,7 @@ function frmFrontFormJS(){
858
  var hiddenInput = jQuery( '#' + f.hideContainerID ).find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]');
859
 
860
  // Get the previously selected field value
861
- var prev = getPrevFieldValue( hiddenInput );
862
 
863
  // Get default value
864
  var defaultValue = hiddenInput.data('frmval');
@@ -899,67 +948,28 @@ function frmFrontFormJS(){
899
  type:'POST',
900
  url:frm_js.ajax_url,
901
  data:{
902
- action:'frm_fields_ajax_data_options', hide_field:field_id,
903
- entry_id:selected, selected_field_id:f.LinkedField, field_id:f.HideField,
904
- default_value:defaultValue, hide_id:f.hideContainerID, nonce:frm_js.nonce
 
905
  },
906
  success:function(html){
907
  $dataField.html(html);
908
- var parentField = $dataField.find('select, input, textarea');
909
- var val = 1;
910
- if ( parentField.attr('type') == 'hidden' ) {
911
- val = parentField.val();
912
- }
913
 
914
- if ( html === '' || val === '' ) {
 
915
  fcont.style.display = 'none';
916
- prev = '';
917
- }else if(f.MatchType != 'all'){
918
  fcont.style.display = '';
919
  }
920
 
921
- if(html !== ''){
922
- if ( prev !== '' ) {
923
- if(!jQuery.isArray(prev)){
924
- var new_prev = [];
925
- new_prev.push(prev);
926
- prev = new_prev;
927
- }
928
-
929
- //select options that were selected previously
930
- jQuery.each(prev, function(ckey,cval){
931
- if ( typeof(cval) === 'undefined' || cval === '' ) {
932
- return;
933
- }
934
- if ( dataType == 'checkbox' || dataType == 'radio' ) {
935
- if ( parentField.length > 1 ) {
936
- parentField.filter('[value="' + cval+ '"]').attr('checked','checked');
937
- } else if ( parentField.val() == cval ){
938
- parentField.attr('checked','checked');
939
- }
940
- } else if ( dataType == 'select' ) {
941
- var selOpt = parentField.children('option[value="'+ cval +'"]');
942
- if(selOpt.length){
943
- selOpt.prop('selected', true);
944
- }else{
945
- //remove options that no longer exist
946
- prev.splice(ckey, 1);
947
- }
948
- }else{
949
- parentField.val(cval);
950
- }
951
- });
952
- } else {
953
- // If no options were selected previously, set to default value
954
- setDefaultValue( getInputsInContainer( $dataField ) );
955
- }
956
- }
957
-
958
- if(parentField.hasClass('frm_chzn') && jQuery().chosen){
959
  jQuery('.frm_chzn').chosen({allow_single_deselect:true});
960
  }
961
 
962
- triggerChange( parentField );
963
  }
964
  });
965
  }
@@ -1148,6 +1158,11 @@ function frmFrontFormJS(){
1148
  return;
1149
  }
1150
 
 
 
 
 
 
1151
  var all_calcs = __FRMCALC;
1152
  var field_key = getFieldKey( field_input.id, field_input.name );
1153
  var triggerField = maybeGetTriggerField( field_input );
@@ -2230,6 +2245,69 @@ function frmFrontFormJS(){
2230
  }
2231
  }
2232
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2233
  /* Fallback functions */
2234
  function addIndexOfFallbackForIE8() {
2235
  if ( !Array.prototype.indexOf ) {
158
  var field_id = nameParts[0];
159
  var isRepeating = false;
160
 
161
+ if ( nameParts.length === 1 || nameParts[1] == '[form' || nameParts[1] == '[id' ) {
162
  return field_id;
163
  }
164
 
663
 
664
  /* Show Field Functions */
665
  function routeToShowFieldAndSetVal( hideFieldContainer, f ) {
666
+ var inSection = isAContainerField( hideFieldContainer );
667
+ var inputAtts = {inSection:inSection, formId:f.FormId};
668
+
669
+ removeFromHideFields( f.hideContainerID, f.FormId );
670
  if ( hideFieldContainer.length ) {
671
  // Field is not type=hidden
672
+ showFieldAndSetValue( hideFieldContainer, inputAtts );
673
  } else {
674
  // Set field value (don't show it)
675
  var fieldName = getFieldName( f.HideField, f.hideContainerID );
676
  var inputs = jQuery( 'input[name^="' + fieldName + '"]' );
677
+ setValForInputs( inputs, inputAtts );
678
  }
 
679
  }
680
 
681
+ function showFieldAndSetValue( container, inputAtts ) {
682
  var inputs = getInputsInContainer( container );
683
 
684
+ setValForInputs( inputs, inputAtts );
685
 
686
  container.show();
687
  }
688
 
689
+ function setValForInputs( inputs, fieldAtts ){
690
  if ( inputs.length ) {
691
+ fieldAtts.valSet = false;
692
+ fieldAtts.isHidden = false;
693
+
694
  for ( var i = 0; i < inputs.length; i++ ) {
695
+
696
+ if ( skipThisInput( inputs, i, fieldAtts ) === true ) {
697
+ continue;
698
+ }
699
+
700
  setDefaultValue( jQuery( inputs[i] ) );
701
  maybeDoCalcForSingleField( inputs[i] );
702
  }
703
  }
704
  }
705
 
706
+ function skipThisInput( inputs, i, fieldAtts ) {
707
+ var goToNextIteration = false;
708
 
709
+ if ( i === 0 || inputs[i-1].name != inputs[i].name ) {
710
+ // This field hasn't been checked yet
711
+
712
+ if ( fieldAtts.inSection && isInputConditionallyHidden( inputs[i], fieldAtts ) ) {
713
+ fieldAtts.isHidden = true;
714
+ fieldAtts.valSet = false;
715
+ } else {
716
+ fieldAtts.isHidden = false;
717
+ fieldAtts.valSet = isValueSet( inputs[i] );
718
  }
 
 
719
  }
720
 
721
+ if ( fieldAtts.valSet || fieldAtts.isHidden ) {
722
+ // If the value is already set or the field should remain hidden, move on
723
+ goToNextIteration = true;
724
+ }
725
+
726
+ return goToNextIteration;
727
+ }
728
+
729
+ // Check if a field already has a value set
730
+ // input is not a jQuery object
731
+ function isValueSet( input ) {
732
+ var valueSet = false;
733
+
734
+ if ( input.type == 'checkbox' || input.type == 'radio' ) {
735
+
736
+ var radioVals = document.getElementsByName( input.name );
737
+ var l = radioVals.length;
738
+ for ( var i=0; i<l; i++ ) {
739
+ if ( radioVals[i].checked ) {
740
+ valueSet = true;
741
+ break;
742
+ }
743
+ }
744
+ } else if ( input.value ) {
745
+ valueSet = true;
746
+ }
747
+
748
+ return valueSet;
749
+ }
750
+
751
+ function setDefaultValue( input ) {
752
+ var inputLength = input.length;
753
+
754
+ if ( inputLength ) {
755
+ for ( var i = 0, l = inputLength; i < l; i++ ) {
756
  var field = jQuery(input[i]);
757
  var defaultValue = field.data('frmval');
758
  if ( typeof defaultValue !== 'undefined' ) {
791
  function maybeGetDynamicFieldData( hvalue, rec ) {
792
  if ( hvalue.DynamicInfoIndices.length > 0 ) {
793
  var dynamicIndex;
794
+ var parentField;
795
  for ( var t = 0; t < hvalue.DynamicInfoIndices.length; t++ ) {
796
  dynamicIndex = hvalue.DynamicInfoIndices[ t ];
797
+ parentField = show_fields[ hvalue.hideContainerID ][ dynamicIndex ].f.FieldName;
798
+ showField( show_fields[ hvalue.hideContainerID ][ dynamicIndex ], parentField, rec );
799
  }
800
  }
801
  }
837
  /* If no value, then assume no match */
838
  return 0;
839
  }
840
+ return d.toLowerCase().indexOf( c.toLowerCase() ) != -1;
841
  },
842
  'not LIKE': function(c,d){
843
  if(!d){
844
  /* If no value, then assume no match */
845
  return 1;
846
  }
847
+ return d.toLowerCase().indexOf( c.toLowerCase() ) == -1;
848
  }
849
  };
850
  return theOperators[op](a, b);
907
  var hiddenInput = jQuery( '#' + f.hideContainerID ).find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]');
908
 
909
  // Get the previously selected field value
910
+ var prev_val = getPrevFieldValue( hiddenInput );
911
 
912
  // Get default value
913
  var defaultValue = hiddenInput.data('frmval');
948
  type:'POST',
949
  url:frm_js.ajax_url,
950
  data:{
951
+ action:'frm_fields_ajax_data_options', trigger_field_id:field_id,
952
+ entry_id:selected, linked_field_id:f.LinkedField, field_id:f.HideField,
953
+ default_value:defaultValue, container_id:f.hideContainerID, prev_val:prev_val,
954
+ nonce:frm_js.nonce
955
  },
956
  success:function(html){
957
  $dataField.html(html);
958
+ var $dynamicFieldInputs = $dataField.find('select, input, textarea');
 
 
 
 
959
 
960
+ if ( html === '' || ( $dynamicFieldInputs.length == 1 && $dynamicFieldInputs.attr('type') == 'hidden' ) ) {
961
+ // Hide the Dynamic field
962
  fcont.style.display = 'none';
963
+ } else if ( f.MatchType != 'all' ) {
964
+ // Show the Dynamic field
965
  fcont.style.display = '';
966
  }
967
 
968
+ if( $dynamicFieldInputs.hasClass('frm_chzn') && jQuery().chosen){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
969
  jQuery('.frm_chzn').chosen({allow_single_deselect:true});
970
  }
971
 
972
+ triggerChange( $dynamicFieldInputs );
973
  }
974
  });
975
  }
1158
  return;
1159
  }
1160
 
1161
+ // Exit now if field is a type that can't do calculations
1162
+ if ( field_input.type != 'text' && field_input.type != 'hidden' ) {
1163
+ return;
1164
+ }
1165
+
1166
  var all_calcs = __FRMCALC;
1167
  var field_key = getFieldKey( field_input.id, field_input.name );
1168
  var triggerField = maybeGetTriggerField( field_input );
2245
  }
2246
  }
2247
 
2248
+ // Check if field is a section or embedded form
2249
+ function isAContainerField( hideFieldContainer ) {
2250
+ var inSection = false;
2251
+ if ( hideFieldContainer.hasClass( 'frm_section_heading' ) || hideFieldContainer.hasClass( 'frm_embed_form_container' ) ) {
2252
+ inSection = true;
2253
+ }
2254
+
2255
+ return inSection;
2256
+ }
2257
+
2258
+ function isInputConditionallyHidden( input, fieldAtts ) {
2259
+ var isHidden = false;
2260
+ if ( typeof input.name !== 'undefined' ) {
2261
+ var containerHtmlId;
2262
+ var nameParts = input.name.replace( /\]/g, '' ).split( '[' );
2263
+ if ( nameParts.length < 4 ) {
2264
+ if ( nameParts.length == 3 && nameParts[2] == 'form' ) {
2265
+ return true;
2266
+ }
2267
+
2268
+ // Non-repeating input
2269
+ containerHtmlId = 'frm_field_' + nameParts[1] + '_container';
2270
+
2271
+ } else {
2272
+ if ( nameParts[3] == 0 ) {
2273
+ return true;
2274
+ }
2275
+
2276
+ // Repeating or embedded form inputs
2277
+ containerHtmlId = 'frm_field_' + nameParts[3] + '-' + nameParts[1] + '-' + nameParts[2] + '_container';
2278
+ }
2279
+
2280
+ isHidden = isContainerConditionallyHidden( containerHtmlId, fieldAtts );
2281
+
2282
+ } else {
2283
+ isHidden = true;
2284
+ }
2285
+
2286
+ return isHidden;
2287
+ }
2288
+
2289
+ function isContainerConditionallyHidden( containerHtmlId, fieldAtts ) {
2290
+ var isHidden = false;
2291
+ var hiddenFields;
2292
+
2293
+ if ( typeof fieldAtts.hiddenFields !== 'undefined' ) {
2294
+ hiddenFields = fieldAtts.hiddenFields;
2295
+ } else {
2296
+ var frmHideFieldsInput = document.getElementById('frm_hide_fields_' + fieldAtts.formId);
2297
+ hiddenFields = frmHideFieldsInput.value;
2298
+ fieldAtts.hiddenFields = hiddenFields;
2299
+ }
2300
+
2301
+ if ( hiddenFields ) {
2302
+ hiddenFields = JSON.parse( hiddenFields );
2303
+ if ( hiddenFields.indexOf( containerHtmlId ) > -1 ) {
2304
+ isHidden = true;
2305
+ }
2306
+ }
2307
+
2308
+ return isHidden;
2309
+ }
2310
+
2311
  /* Fallback functions */
2312
  function addIndexOfFallbackForIE8() {
2313
  if ( !Array.prototype.indexOf ) {
js/formidable.min.js CHANGED
@@ -1,74 +1,75 @@
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 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 r(){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,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 y(a){var b=z(this);if(b&&"undefined"!==typeof b){var c="reset";if(a.frmTriggered){if(a.frmTriggered==b)return;c="persist"}t(b,null,jQuery(this),c);K(b,jQuery(this))}}function z(a,b){var c="",c=a instanceof jQuery?a.attr("name"):a.name;if(""==c)return 0;c=c.replace("item_meta[",
5
- "").replace("[]","").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])return d;jQuery('input[name="item_meta['+d+'][form]"]').length&&(d=c[2].replace("[",""),f=!0);"other"===d&&(d=f?c[3].replace("[",""):c[1].replace("[",""));!0===b&&(d=d+"-"+c[0]+"-"+c[1].replace("[",""));return d}function t(a,b,c,d){var f;if("undefined"===typeof __FRMRULES||"undefined"===typeof __FRMRULES[a])f=void 0;else{f=__FRMRULES[a];for(var e=[],g=0,k=f.length;g<
6
- k;g++){var h=f[g];if("undefined"!==typeof h)for(var m=0,q=h.Conditions.length;m<q;m++){var l=h.Conditions[m];l.HideField=h.Setting.FieldName;l.MatchType=h.MatchType;l.Show=h.Show;l.FormId=h.FormId;e.push(l)}}f=e}if("undefined"!==typeof f){if("undefined"===typeof b||null===b)b="go";"persist"!==d&&(n=[],F=[]);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"),"undefined"!==typeof e&&"undefined"!==typeof e.attr("id")&&
7
- (B=e.attr("id"),d=!0));e={};g=0;for(k=f.length;g<k;g++)if(m=h=f[g].HideField,q=e,q[m]=m in q?q[m]+1:0,f[g].FieldName===a?v(e[h],f[g],b,c):v(e[h],f[g],b),g===k-1){a:for(m in h=b,m=q=void 0,D){q=D[m];delete D[m];if("undefined"===typeof q)break a;var l=jQuery("#"+q.hideContainerID),p=q.show;if("any"===q.match&&-1===jQuery.inArray(!0,n[q.hideContainerID])||"all"===q.match&&-1<jQuery.inArray(!1,n[q.hideContainerID]))p="show"===q.show?"hide":"show";if("show"===p){if(S(l,q),l=h,0<q.DynamicInfoIndices.length)for(var p=
8
- void 0,r=0;r<q.DynamicInfoIndices.length;r++)p=q.DynamicInfoIndices[r],T(n[q.hideContainerID][p],q.FieldName,l)}else U(l,q)}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";if(""!==B)d=B,L(b.FieldName)&&(b.inputName=M(b.FieldName,d),b.containerID=V(b.FieldName,d)),b.hideContainerID=V(b.HideField,d),d=x(b),A(b),H(a,b,d),I(a,b,
9
- 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=M(b.FieldName,d[f].id);b.containerID=d[f].id;b.hideContainerID=d[f].id.replace(b.FieldName,b.HideField);var e=x(b);A(b);H(a,b,e);I(a,b,c)}return}d=x(b);if(L(b.HideField))for(f=document.getElementsByClassName("frm_field_"+
10
- 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=ja(a.containerID,a.inputName),b=a.length?a:"";b=jQuery('input[name="'+a.inputName+'"][type="hidden"]').val();if("undefined"!==typeof b)return b;b="radio"==a.Type||"data-radio"===a.Type?jQuery('input[name="'+a.inputName+'"]:checked').val():"select"===a.Type||"data-select"===a.Type?jQuery('select[name^="'+
11
- a.inputName+'"]').val():jQuery('input[name="'+a.inputName+'"]').val();"undefined"===typeof b&&(b="");return b}function A(a){"undefined"===typeof n[a.hideContainerID]&&(n[a.hideContainerID]=[])}function H(a,b,c){n[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=n[b.hideContainerID][a]=!1;if(""!==c){"!="===b.Condition&&(n[b.hideContainerID][a]=!0);for(var f=0;f<c.length;f++)d=
12
- C(b.Condition,b.Value,c[f]),"!="===b.Condition?!0===n[b.hideContainerID][a]&&!1===d&&(n[b.hideContainerID][a]=!1):!1===n[b.hideContainerID][a]&&d&&(n[b.hideContainerID][a]=!0)}else d=C(b.Condition,b.Value,""),!1===n[b.hideContainerID][a]&&d&&(n[b.hideContainerID][a]=!0)}else if("undefined"!==typeof b.LinkedField&&0===b.Type.indexOf("data-")){if("undefined"===typeof b.DataType||"data"===b.DataType)""===c?W(b.hideContainerID,b.HideField,"hide"):"data-radio"===b.Type?n[b.hideContainerID][a]="undefined"===
13
- 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?(W(b.hideContainerID,b.HideField,"show"),n[b.hideContainerID][a]=!0,X(b,c,0)):"data-select"===b.Type&&(n[b.hideContainerID][a]={funcName:"getData",f:b,sel:c}))}else"undefined"===typeof b.Value&&0===b.Type.indexOf("data")?(b.Value=""===c?"1":c,n[b.hideContainerID][a]=C(b.Condition,b.Value,c),b.Value=void 0):n[b.hideContainerID][a]=
14
- C(b.Condition,b.Value,c)}function I(a,b,c){if("all"===b.MatchType||!1===n[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;var d=!1;!1!==n[b][a]&&!0!==n[b][a]&&(d=a);!1!==d&&D[b].DynamicInfoIndices.push(d)}else{d="none";if("show"===b.Show){if(!0!==n[b.hideContainerID][a]){T(n[b.hideContainerID][a],b.FieldName,c);
15
- return}d=""}a=jQuery(document.getElementById(b.hideContainerID));"none"==d?U(a,b):S(a,b)}}function U(a,b){if(a.length){if(a.hide(),-1===jQuery.inArray(a.attr("id"),F)){F[b.HideField]=a.attr("id");var c=N(a);c.length&&Y(c)}}else c=Z(b.HideField,b.hideContainerID),c=jQuery('input[name^="'+c+'"]'),Y(c);var c=b.hideContainerID,d=document.getElementById("frm_hide_fields_"+b.FormId),f=d.value,f=f?JSON.parse(f):[];-1<f.indexOf(c)||(f.push(c),f=JSON.stringify(f),d.value=f)}function Y(a){a.prop("checked",
16
- !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");(!1===b||0>["checkbox","radio"].indexOf(this.type))&&E(jQuery(this));b=!0})}function W(a,b,c){-1===jQuery.inArray(a,F)&&(F[b]=a,a=jQuery(document.getElementById(a)),"hide"===c&&a.hide(),a.find(".frm_data_field_container").empty())}function S(a,b){if(a.length){var c=N(a);aa(c);a.show()}else c=
17
- Z(b.HideField,b.hideContainerID),c=jQuery('input[name^="'+c+'"]'),aa(c);var d=b.hideContainerID,c=document.getElementById("frm_hide_fields_"+b.FormId),f=c.value;f&&(f=JSON.parse(f),d=f.indexOf(d),-1<d&&(f.splice(d,1),f=JSON.stringify(f),c.value=f))}function aa(a){if(a.length)for(var b=0;b<a.length;b++){ba(jQuery(a[b]));var c=a[b];if("undefined"!==typeof __FRMCALC){var d=__FRMCALC,f;f=c.name;var e=c.id.replace("field_","");if(O(f)){f=e.split("-");for(var e="",g=0;g<f.length-1;g++)e=""==e?f[g]:e+"-"+
18
- f[g]}f=e;e=null;O(c.name)&&(e="hidden"!=c.type?jQuery(c).closest(".frm_form_field"):jQuery(c));c=e;void 0!==d.calc[f]&&ca(d,f,[],c)}}}function ba(a){var b=a.length;if(a.is(":checkbox, :radio")){if(a.is(":checked"))return}else if(a.val())return;if(b)for(var c=0;c<b;c++){var d=jQuery(a[c]),f=d.data("frmval");if("undefined"!==typeof f)if(!d.is(":checkbox, :radio"))d.val(f),E(d);else if(d.val()==f||jQuery.isArray(f)&&-1!==jQuery.inArray(d.val(),f))d.prop("checked",!0),E(d)}}function E(a,b){"undefined"===
19
- 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!=b},"<":function(a,b){return a>b},">":function(a,b){return a<
20
- b},LIKE:function(a,b){return b?-1!=b.indexOf(a):0},"not LIKE":function(a,b){return b?-1==b.indexOf(a):1}}[a](b,c)}function T(a,b,c){"getDataOpts"==a.funcName?ka(a.f,a.sel,b,c):"getData"==a.funcName&&X(a.f,a.sel,0)}function X(a,b,c){var d=document.getElementById(a.hideContainerID),f=jQuery(d).find(".frm_data_field_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,
21
- 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"),k=b.val();d.style.display=""===a&&!c||""===k?"none":"";E(b);return!0}})}function ka(a,b,c,d){if(!("stop"==d&&-1<jQuery.inArray(a.HideField,P)&&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=la(f),g=f.data("frmval");if("select"!=
22
- a.DataType||"stop"!=d&&!jQuery("#"+a.hideContainerID+" .frm-loading-img").length||!(-1<jQuery.inArray(a.HideField,P))){P.push(a.HideField);var k=document.getElementById(a.hideContainerID),h=jQuery(k).find(".frm_data_field_container");if(0===h.length&&f.length)return t(a.HideField,"stop",f),!1;if(""!==a.Value&&!C(a.Condition,a.Value,b))return k.style.display="none",h.html(""),t(a.HideField,"stop",f),!1;h.html('<span class="frm-loading-img" style="visibility:visible;display:inline;"></span>');var m=
23
- a.DataType;jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_fields_ajax_data_options",hide_field:c,entry_id:b,selected_field_id:a.LinkedField,field_id:a.HideField,default_value:g,hide_id:a.hideContainerID,nonce:frm_js.nonce},success:function(b){h.html(b);var c=h.find("select, input, textarea"),d=1;"hidden"==c.attr("type")&&(d=c.val());""===b||""===d?(k.style.display="none",e=""):"all"!=a.MatchType&&(k.style.display="");""!==b&&(""!==e?(jQuery.isArray(e)||(b=[],b.push(e),e=b),jQuery.each(e,
24
- function(a,b){if("undefined"!==typeof b&&""!==b)if("checkbox"==m||"radio"==m)1<c.length?c.filter('[value="'+b+'"]').attr("checked","checked"):c.val()==b&&c.attr("checked","checked");else if("select"==m){var d=c.children('option[value="'+b+'"]');d.length?d.prop("selected",!0):e.splice(a,1)}else c.val(b)})):ba(N(h)));c.hasClass("frm_chzn")&&jQuery().chosen&&jQuery(".frm_chzn").chosen({allow_single_deselect:!0});E(c)}})}}}function la(a){var b=[],c="";a.each(function(){c=this.value;"radio"===this.type||
25
- "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"!==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 k;var h=c.calc[d[e]],m=b.attr("name");k=h.field_id;var l=h.form_id;if(h=document.getElementById("frm_hide_fields_"+l).value){var h=JSON.parse(h),n=k;O(m)&&(m=m.replace("item_meta","").replace(/\[/g,"").split("]"),n=k+"-"+m[0]+"-"+m[1]);-1<h.indexOf("frm_field_"+
26
- n+"_container")?k=!0:(m=void 0,k=(m=l=(l=document.getElementById("frm_helpers_"+l).value)?JSON.parse(l):[])&&null!==m[k]&&-1<h.indexOf("frm_field_"+m[k]+"_container")?!0:!1)}else k=!1;k||ca(c,d[e],f,b)}}}function O(a){var b=!1;4<=a.split("[").length&&(b=!0);return b}function ca(a,b,c,d){var f=a.calc[b],e=f.calc,g=jQuery(document.getElementById("field_"+b)),k={triggerField:d,inSection:!1,thisFieldCall:'input[id^="field_'+b+'-"]'};1>g.length&&"undefined"!==typeof d&&(k.inSection=!0,k.thisFieldId=ma(a.fieldsWithCalc,
27
- b),g=da(k));e=na(f,e,a,c,k);a=f.calc_dec;e.indexOf(").toFixed(")&&(c=e.split(").toFixed("),ea(c[1])&&(a=c[1],e=e.replace(").toFixed("+a,"")));e=parseFloat(eval(e));"undefined"===typeof e&&(e=0);ea(a)&&(e=e.toFixed(a));g.val()!=e&&(g.val(e),E(g,b))}function na(a,b,c,d,f){for(var e=0,g=a.fields.length;e<g;e++){var k={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]]},
28
- h=c;"checkbox"==k.thisField.type||"select"==k.thisField.type?k.thisFieldCall=k.thisFieldCall+":checked,select"+h.fieldKeys[k.thisFieldId]+" option:selected,"+k.thisFieldCall+"[type=hidden]":"radio"==k.thisField.type||"scale"==k.thisField.type?k.thisFieldCall=k.thisFieldCall+":checked,"+k.thisFieldCall+"[type=hidden]":"textarea"==k.thisField.type&&(k.thisFieldCall=k.thisFieldCall+",textarea"+h.fieldKeys[k.thisFieldId]);d=oa(k,c,d);if("undefined"===typeof d[k.valKey]||isNaN(d[k.valKey]))d[k.valKey]=
29
- 0;h="["+k.thisFieldId+"]";h=h.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1");b=b.replace(new RegExp(h,"g"),d[k.valKey])}return b}function oa(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=da(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)""!==Q(this)&&(d=!0);else if("select"==
30
- e.type){var g=this.className;g&&-1<g.indexOf("frm_other_trigger")&&(d=!0)}else("checkbox"==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=Q(this))):d=jQuery(this).closest(".frm_other_container").find(".frm_other_input").val():"checkbox"!=e.type&&"radio"!=e.type||"hidden"==this.type||(d=Q(this)),e=d):e="checkbox"!==this.type&&"radio"!==this.type||!this.checked?
31
- jQuery(this).val():this.value;"undefined"===typeof e&&(e="");d=e;if("date"==a.thisField.type){e=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 k,h;k=g=h="";for(var m=0;m<e.length;m++)if("y"==e[m])k=((new Date).getFullYear()+15).toString().substr(2,2),k=d[m]>k?"19"+d[m]:"20"+d[m];else if("yy"==e[m])k=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])h=d[m],2>h.length&&(h="0"+h);g=
32
- Date.parse(k+"-"+g+"-"+h)}else g=jQuery.datepicker.parseDate(e,d);e=g;null!==e&&(c[a.valKey]=Math.ceil(e/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 da(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}
33
- function Q(a){var b="";a=document.getElementById(a.id+"-otext");null!==a&&""!==a.value&&(b=a.value);return b}function fa(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,
 
34
  "");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")},2E3));b=jQuery(a).find(".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="'+
35
  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);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"]');
36
- 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");f=!0;jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");var e="",g=!1,k=null,h;for(h in b)if(k=jQuery(a).find(jQuery(document.getElementById("frm_field_"+h+"_container"))),k.length){if(!k.is(":visible")){var m=
37
- k.closest(".frm_toggle_container");m.length&&m.prev(".frm_trigger").click()}k.is(":visible")&&(f=!1,""===e&&(frmFrontForm.scrollMsg(h,a,!0),e="#frm_field_"+h+"_container"),jQuery(a).find("#frm_field_"+h+"_container .g-recaptcha").length&&(g=!0,grecaptcha.reset()),ga(k,h,b))}else if("redirect"==h){window.location=b[h];return}!0!==g&&jQuery(a).find(".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");
38
- a.submit()}})}function ga(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 pa(){ha(jQuery(this),"clear")}function qa(){ha(jQuery(this),"replace")}function ha(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):
39
- d==c&&a.removeClass("frm_default").val("")}function ra(){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 sa(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",
40
- a.options.fields)&&(d=!0,c.addColumn("number",frm_js.id));for(var f=a.fields.length,e="string",g=0,k=f;g<k;g++){var h=a.fields[g],e=ia(h);c.addColumn(e,h.name)}g=!1;a.options.edit_link&&(g=!0,c.addColumn("string",a.options.edit_link));k=!1;a.options.delete_link&&(k=!0,c.addColumn("string",a.options.delete_link));h=0;if(null!==a.entries){var m=a.entries.length;c.addRows(m);for(var l=0,n=0;n<m;n++){var h=0,p=a.entries[n];d&&(c.setCell(l,h,p.id),h++);for(var r=0,t=f;r<t;r++){var u=a.fields[r],e=ia(u),
41
- u=p.metas[u.id];"number"!=e||null!==u&&""!==u?"boolean"==e&&(u=null===u||"false"==u||!1===u?!1:!0):u=0;c.setCell(l,h,u);h++}g&&("undefined"!==typeof p.editLink?c.setCell(l,h,'<a href="'+p.editLink+'">'+a.options.edit_link+"</a>"):c.setCell(l,h,""),h++);k&&("undefined"!==typeof p.deleteLink?c.setCell(l,h,'<a href="'+p.deleteLink+'" class="frm_delete_link" data-frmconfirm="'+a.options.confirm+'">'+a.options.delete_link+"</a>"):c.setCell(l,h,""));l++}}else for(c.addRows(1),g=h=0,k=f;g<k;g++)0<h?c.setCell(0,
42
- h,""):c.setCell(0,h,a.options.no_entries),h++;(new google.visualization.Table(document.getElementById("frm_google_table_"+a.options.form_id))).draw(c,a.graphOpts)}else ta(a)}})}function ia(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 ta(a){var b=new google.visualization.DataTable,c=!1,d=!1,f=a.rows.length;
43
- 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"!=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 k=Object.keys(a.rows[g]).map(function(b){return a.rows[g][b]});a.rows[g]=k;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);
44
- 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 ua(){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");
45
- 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 va(){wa(jQuery(this).parent(".frm_uploaded_files"))}function xa(){jQuery(this).parent(".frm_file_names").replaceWith("");return!1}function ya(){var a="frm_section_"+jQuery(this).data("parent")+"-"+jQuery(this).data("key"),b=jQuery(document.getElementById(a)),
46
- c=b.find("input, select, textarea");b.fadeOut("slow",function(){b.remove();c.each(function(){if("file"!=this.type){var a=z(this,!1);K(a,jQuery(this))}});"function"==typeof frmThemeOverride_frmRemoveRow&&frmThemeOverride_frmRemoveRow(a,b)});return!1}function za(){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",
47
- 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,f=jQuery(d).hide().fadeIn("slow");jQuery(".frm_repeat_"+a+":last").after(f);var e=["other"],g,k,h="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)&&0!=this.id&&(k=jQuery("#"+this.id),e.push(g),t(g,
48
- null,k,h),K(g,k),h="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_"+b.logic.check[f]+"_container").length&&(t(b.logic.check[f],null,null,h),h="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=
49
- !1}});return!1}function Aa(){var a=jQuery(this),b=a.data("entryid"),c=a.data("prefix"),d=a.data("pageid"),f=a.data("formid"),e=a.data("cancel"),g=a.data("fields"),k=a.data("excludefields"),h=jQuery(document.getElementById(c+b)),l=h.html();h.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,
50
- fields:g,exclude_fields:k},success:function(b){h.children(".frm-loading-img").replaceWith(b);a.removeClass("frm_inplace_edit").addClass("frm_cancel_edit");a.html(e)}});return!1}function Ba(){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");
51
- a.html(d);return!1}function Ca(){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_"+c)).fadeOut("slow")):jQuery(document.getElementById("frm_delete_"+
52
- c)).replaceWith(a)}})}return!1}function wa(a){a.fadeOut("slow",function(){a.remove()})}function Da(){var a=jQuery(this).data("frmconfirm");return confirm(a)}function Ea(){var a=jQuery(this).data("frmtoggle");jQuery(a).is(":visible")?jQuery(a).slideUp("fast"):jQuery(a).slideDown("fast");return!1}function ma(a,b){for(var c in a)if(a.hasOwnProperty(c)&&a[c]===b)return c;return null}function ea(a){return!jQuery.isArray(a)&&0<=a-parseFloat(a)+1}function N(a){return a.find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]')}
53
- function Z(a,b){var c="item_meta["+a+"]";L(a)&&(c=M(a,b));return c}function M(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 V(a,b){var c=b.replace("frm_section_","").split("-");return"frm_field_"+a+"-"+c[0]+"-"+c[1]+"_container"}function L(a){var b=document.getElementById("frm_field_"+a+"_container");
54
- 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 Fa(){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 Ga(){"function"!==typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,
55
- "")})}function Ha(){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 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 Ia(){Object.keys||(Object.keys=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push(c);return b})}function ja(a,b){var c=[];if("undefined"==typeof document.querySelector)jQuery("#"+a+' input[type=checkbox]:checked, input[type=hidden][name^="'+
56
- 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 n=[],D={},F=[],P=[],B="",J=!1,R="",G=[];return{init:function(){jQuery(document).on("click",".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)?
57
- 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",pa);jQuery(document).on("blur",".frm_toggle_default",qa);jQuery(".frm_toggle_default").blur();jQuery(document.getElementById("frm_resend_email")).click(ra);jQuery(document).on("change",".frm_multiple_file",ua);jQuery(document).on("click",".frm_clear_file_link",
58
- xa);jQuery(document).on("click",".frm_remove_link",va);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"]',y);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",
59
- '.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",r);jQuery(document).on("click",".frm_remove_form_row",ya);jQuery(document).on("click",".frm_add_form_row",za);jQuery(document).on("click","a[data-frmconfirm]",Da);jQuery("a[data-frmtoggle]").click(Ea);jQuery(".frm_edit_link_container").on("click","a.frm_inplace_edit",Aa);jQuery(".frm_edit_link_container").on("click",
60
- "a.frm_cancel_edit",Ba);jQuery(".frm_ajax_delete").click(Ca);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())});Fa();Ga();
61
- Ha();Ia()},submitForm:function(a){a.preventDefault();jQuery(this).find(".wp-editor-wrap").length&&"undefined"!=typeof tinyMCE&&tinyMCE.triggerSave();R=jQuery(this).find('input[name="frm_action"]').val();G=[];frmFrontForm.getAjaxFormErrors(this);if(0===Object.keys(G).length)fa(this,R);else{jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");for(var b in G)a=jQuery(this).find(jQuery("#frm_field_"+b+"_container")),ga(a,b,G)}},getAjaxFormErrors:function(a){"function"==
62
- typeof frmThemeOverride_jsErrors&&(G=frmThemeOverride_jsErrors(R,a))},checkFormErrors:function(a,b){fa(a,b)},scrollToID:function(a){a=jQuery(document.getElementById(a).offset());window.scrollTo(a.left,a.top)},scrollMsg:function(a,b,c){var d="";if(d="undefined"==typeof b?jQuery(document.getElementById("frm_form_"+a+"_container")).offset().top:jQuery(b).find(document.getElementById("frm_field_"+a+"_container")).offset().top){d-=frm_js.offset;a=jQuery("html").css("margin-top");b=jQuery("body").css("margin-top");
63
  if(a||b)d=d-parseInt(a)-parseInt(b);if(d&&window.innerHeight&&(a=document.documentElement.scrollTop||document.body.scrollTop,d>a+window.innerHeight||d<a))return"undefined"===typeof c?jQuery(window).scrollTop(d):jQuery("html,body").animate({scrollTop:d},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="none":jQuery(".frm_field_"+a[b]+"_container").hide()}},checkDependent:function(a){a=
64
- JSON.parse(a);for(var b="reset",c=0,d=a.length;c<d;c++)t(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++)sa(d[e],f);else setTimeout(frmFrontForm.loadGoogle,30)},removeUsedTimes:function(a,b){var c=jQuery(a).parents("form:first").find('input[name="id"]');jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"json",data:{action:"frm_fields_ajax_time_options",
65
  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,"&#039;")},invisible:function(a){jQuery(a).css("visibility","hidden")},visible:function(a){jQuery(a).css("visibility",
66
- "visible")}}}var frmFrontForm=frmFrontFormJS();jQuery(document).ready(function(l){frmFrontForm.init()});
67
- function frmUpdateField(l,p,r,w,y){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:r,nonce:frm_js.nonce},success:function(){""===w.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById("frm_update_field_"+l+"_"+p+"_"+y)).fadeOut("slow"):jQuery(document.getElementById("frm_update_field_"+l+"_"+p+"_"+y)).replaceWith(w)}})}
68
- function frmEditEntry(l,p,r,w,y,z){console.warn("DEPRECATED: function frmEditEntry in v2.0.13 use frmFrontForm.editEntry");var t=jQuery(document.getElementById("frm_edit_"+l)),v=t.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:r,entry_id:l,id:w,nonce:frm_js.nonce},
69
- success:function(A){x.children(".frm-loading-img").replaceWith(A);t.replaceWith('<span id="frm_edit_'+l+'"><a onclick="frmCancelEdit('+l+",'"+p+"','"+frmFrontForm.escapeHtml(v)+"',"+r+","+w+",'"+z+'\')" class="'+z+'">'+y+"</a></span>")}})}
70
- function frmCancelEdit(l,p,r,w,y,z){console.warn("DEPRECATED: function frmCancelEdit in v2.0.13 use frmFrontForm.cancelEdit");var t=jQuery(document.getElementById("frm_edit_"+l)),v=t.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"));t.replaceWith('<a id="frm_edit_'+l+'" class="frm_edit_link '+z+'" href="javascript:frmEditEntry('+l+",'"+
71
- p+"',"+w+","+y+",'"+frmFrontForm.escapeHtml(x)+"','"+z+"')\">"+r+"</a>")}
72
- 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(r){"success"==r.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById(p+l)).fadeOut("slow"):jQuery(document.getElementById("frm_delete_"+
73
- l)).replaceWith(r)}})}function frmOnSubmit(l){console.warn("DEPRECATED: function frmOnSubmit in v2.0 use frmFrontForm.submitForm");frmFrontForm.submitForm(l,this)}
74
- 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 m(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 q(){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 t(){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 x(a){var b=y(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);J(b,jQuery(this))}}function y(a,b){var c="",c=a instanceof jQuery?a.attr("name"):a.name;if(""==c)return 0;c=c.replace("item_meta[",
5
+ "").replace("[]","").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;jQuery('input[name="item_meta['+d+'][form]"]').length&&(d=c[2].replace("[",""),f=!0);"other"===d&&(d=f?c[3].replace("[",""):c[1].replace("[",""));!0===b&&(d=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=void 0;else{f=__FRMRULES[a];for(var e=
6
+ [],k=0,g=f.length;k<g;k++){var h=f[k];if("undefined"!==typeof h)for(var l=0,n=h.Conditions.length;l<n;l++){var m=h.Conditions[l];m.HideField=h.Setting.FieldName;m.MatchType=h.MatchType;m.Show=h.Show;m.FormId=h.FormId;e.push(m)}}f=e}if("undefined"!==typeof f){if("undefined"===typeof b||null===b)b="go";"persist"!==d&&(p=[],E=[]);e=c;d=!1;""===A&&"undefined"!==typeof e&&null!==e&&(1<e.length&&(e=e.eq(0)),e=e.closest(".frm_repeat_sec, .frm_repeat_inline, .frm_repeat_grid"),"undefined"!==typeof e&&"undefined"!==
7
+ typeof e.attr("id")&&(A=e.attr("id"),d=!0));e={};k=0;for(g=f.length;k<g;k++)if(l=h=f[k].HideField,n=e,n[l]=l in n?n[l]+1:0,f[k].FieldName===a?u(e[h],f[k],b,c):u(e[h],f[k],b),k===g-1){a:for(l in h=b,l=n=void 0,C){n=C[l];delete C[l];if("undefined"===typeof n)break a;var m=jQuery("#"+n.hideContainerID),q=n.show;if("any"===n.match&&-1===jQuery.inArray(!0,p[n.hideContainerID])||"all"===n.match&&-1<jQuery.inArray(!1,p[n.hideContainerID]))q="show"===n.show?"hide":"show";if("show"===q){if(Q(m,n),m=h,0<n.DynamicInfoIndices.length)for(var t=
8
+ q=void 0,r=0;r<n.DynamicInfoIndices.length;r++)q=n.DynamicInfoIndices[r],t=p[n.hideContainerID][q].f.FieldName,R(p[n.hideContainerID][q],t,m)}else S(m,n)}d&&(A="")}}}function u(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";if(""!==A)d=A,K(b.FieldName)&&(b.inputName=L(b.FieldName,d),b.containerID=T(b.FieldName,d)),b.hideContainerID=T(b.HideField,
9
+ d),d=w(b),z(b),G(a,b,d),H(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=L(b.FieldName,d[f].id);b.containerID=d[f].id;b.hideContainerID=d[f].id.replace(b.FieldName,b.HideField);var e=w(b);z(b);G(a,b,e);H(a,b,c)}return}d=w(b);if(K(b.HideField))for(f=document.getElementsByClassName("frm_field_"+
10
+ b.HideField+"_container"),e=0;e<f.length;e++)b.hideContainerID=f[e].id,z(b),G(a,b,d),H(a,b,c);else z(b),G(a,b,d),H(a,b,c)}}function w(a){var b="";if("checkbox"===a.Type||"data-checkbox"===a.Type)return a=ha(a.containerID,a.inputName),b=a.length?a:"";b=jQuery('input[name="'+a.inputName+'"][type="hidden"]').val();if("undefined"!==typeof b)return b;b="radio"==a.Type||"data-radio"===a.Type?jQuery('input[name="'+a.inputName+'"]:checked').val():"select"===a.Type||"data-select"===a.Type?jQuery('select[name^="'+
11
+ a.inputName+'"]').val():jQuery('input[name="'+a.inputName+'"]').val();"undefined"===typeof b&&(b="");return b}function z(a){"undefined"===typeof p[a.hideContainerID]&&(p[a.hideContainerID]=[])}function G(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"===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=
12
+ B(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=B(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"===typeof b.DataType||"data"===b.DataType)""===c?U(b.hideContainerID,b.HideField,"hide"):"data-radio"===b.Type?p[b.hideContainerID][a]="undefined"===
13
+ typeof b.DataType?B(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?(U(b.hideContainerID,b.HideField,"show"),p[b.hideContainerID][a]=!0,V(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=""===c?"1":c,p[b.hideContainerID][a]=B(b.Condition,b.Value,c),b.Value=void 0):p[b.hideContainerID][a]=
14
+ B(b.Condition,b.Value,c)}function H(a,b,c){if("all"===b.MatchType||!1===p[b.hideContainerID][a]){b.hideContainerID in C||(C[b.hideContainerID]={show:b.Show,match:b.MatchType,FieldName:b.FieldName,HideField:b.HideField,hideContainerID:b.hideContainerID,FormId:b.FormId,DynamicInfoIndices:[]});b=b.hideContainerID;var d=!1;!1!==p[b][a]&&!0!==p[b][a]&&(d=a);!1!==d&&C[b].DynamicInfoIndices.push(d)}else{d="none";if("show"===b.Show){if(!0!==p[b.hideContainerID][a]){R(p[b.hideContainerID][a],b.FieldName,c);
15
+ return}d=""}a=jQuery(document.getElementById(b.hideContainerID));"none"==d?S(a,b):Q(a,b)}}function S(a,b){if(a.length){if(a.hide(),-1===jQuery.inArray(a.attr("id"),E)){E[b.HideField]=a.attr("id");var c=W(a);c.length&&X(c)}}else c=Y(b.HideField,b.hideContainerID),c=jQuery('input[name^="'+c+'"]'),X(c);var c=b.hideContainerID,d=document.getElementById("frm_hide_fields_"+b.FormId),f=d.value,f=f?JSON.parse(f):[];-1<f.indexOf(c)||(f.push(c),f=JSON.stringify(f),d.value=f)}function X(a){a.prop("checked",
16
+ !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");(!1===b||0>["checkbox","radio"].indexOf(this.type))&&D(jQuery(this));b=!0})}function U(a,b,c){-1===jQuery.inArray(a,E)&&(E[b]=a,a=jQuery(document.getElementById(a)),"hide"===c&&a.hide(),a.find(".frm_data_field_container").empty())}function Q(a,b){var c=!1;if(a.hasClass("frm_section_heading")||
17
+ a.hasClass("frm_embed_form_container"))c=!0;c={inSection:c,formId:b.FormId};var d=b.hideContainerID,f=document.getElementById("frm_hide_fields_"+b.FormId),e=f.value;e&&(e=JSON.parse(e),d=e.indexOf(d),-1<d&&(e.splice(d,1),e=JSON.stringify(e),f.value=e));a.length?(f=W(a),Z(f,c),a.show()):(f=Y(b.HideField,b.hideContainerID),f=jQuery('input[name^="'+f+'"]'),Z(f,c))}function Z(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,k=!1;if(0===f||d[f-1].name!=d[f].name){var g;
18
+ if(g=e.inSection)a:{var h=d[f];g=e;var l=!1;if("undefined"!==typeof h.name){l=void 0;h=h.name.replace(/\]/g,"").split("[");if(4>h.length){if(3==h.length&&"form"==h[2]){g=!0;break a}l="frm_field_"+h[1]+"_container"}else{if(0==h[3]){g=!0;break a}l="frm_field_"+h[3]+"-"+h[1]+"-"+h[2]+"_container"}var h=l,l=!1,n=void 0;"undefined"!==typeof g.hiddenFields?n=g.hiddenFields:(n=document.getElementById("frm_hide_fields_"+g.formId).value,g.hiddenFields=n);n&&(n=JSON.parse(n),-1<n.indexOf(h)&&(l=!0))}else l=
19
+ !0;g=l}if(g)e.isHidden=!0,e.valSet=!1;else{e.isHidden=!1;g=e;f=d[f];d=!1;if("checkbox"==f.type||"radio"==f.type)for(f=document.getElementsByName(f.name),h=f.length,l=0;l<h;l++){if(f[l].checked){d=!0;break}}else f.value&&(d=!0);g.valSet=d}}if(e.valSet||e.isHidden)k=!0;if(!0!==k){e=jQuery(a[c]);if(d=e.length)for(k=0;k<d;k++)if(f=jQuery(e[k]),g=f.data("frmval"),"undefined"!==typeof g)if(!f.is(":checkbox, :radio"))f.val(g),D(f);else if(f.val()==g||jQuery.isArray(g)&&-1!==jQuery.inArray(f.val(),g))f.prop("checked",
20
+ !0),D(f);k=a[c];if("undefined"!==typeof __FRMCALC&&("text"==k.type||"hidden"==k.type)){e=__FRMCALC;d=k.name;f=k.id.replace("field_","");if(M(d))for(d=f.split("-"),f="",g=0;g<d.length-1;g++)f=""==f?d[g]:f+"-"+d[g];d=f;f=null;M(k.name)&&(f="hidden"!=k.type?jQuery(k).closest(".frm_form_field"):jQuery(k));k=f;void 0!==e.calc[d]&&aa(e,d,[],k)}}}}}function D(a,b){"undefined"===typeof b&&(b="dependent");1<a.length&&(a=a.eq(0));a.trigger({type:"change",selfTriggered:!0,frmTriggered:b})}function B(a,b,c){"undefined"===
21
+ 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;")&&B(a,b.replace("&quot;",'"'),c)?!0:{"==":function(a,b){return a==b},"!=":function(a,b){return a!=b},"<":function(a,b){return a>b},">":function(a,b){return a<b},LIKE:function(a,b){return b?-1!=b.toLowerCase().indexOf(a.toLowerCase()):0},"not LIKE":function(a,b){return b?-1==b.toLowerCase().indexOf(a.toLowerCase()):
22
+ 1}}[a](b,c)}function R(a,b,c){"getDataOpts"==a.funcName?ia(a.f,a.sel,b,c):"getData"==a.funcName&&V(a.f,a.sel,0)}function V(a,b,c){var d=document.getElementById(a.hideContainerID),f=jQuery(d).find(".frm_data_field_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?
23
+ f.append(a):f.html(a);var b=f.children("input"),g=b.val();d.style.display=""===a&&!c||""===g?"none":"";D(b);return!0}})}function ia(a,b,c,d){if(!("stop"==d&&-1<jQuery.inArray(a.HideField,N)&&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=ja(f),k=f.data("frmval");if("select"!=a.DataType||"stop"!=d&&!jQuery("#"+a.hideContainerID+" .frm-loading-img").length||!(-1<jQuery.inArray(a.HideField,
24
+ N))){N.push(a.HideField);var g=document.getElementById(a.hideContainerID),h=jQuery(g).find(".frm_data_field_container");if(0===h.length&&f.length)return r(a.HideField,"stop",f),!1;if(""!==a.Value&&!B(a.Condition,a.Value,b))return g.style.display="none",h.html(""),r(a.HideField,"stop",f),!1;h.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,
25
+ linked_field_id:a.LinkedField,field_id:a.HideField,default_value:k,container_id:a.hideContainerID,prev_val:e,nonce:frm_js.nonce},success:function(b){h.html(b);var c=h.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});D(c)}})}}}function ja(a){var b=[],c="";a.each(function(){c=this.value;"radio"===this.type||"checkbox"===
26
+ this.type?!0===this.checked&&b.push(c):""!==c&&b.push(c)});0===b.length&&(b="");return b}function J(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,k=d.length;e<k;e++){var g;var h=c.calc[d[e]],l=b.attr("name");g=h.field_id;var n=h.form_id;if(h=document.getElementById("frm_hide_fields_"+n).value){var h=JSON.parse(h),m=g;M(l)&&(l=l.replace("item_meta","").replace(/\[/g,"").split("]"),m=g+"-"+l[0]+"-"+l[1]);-1<h.indexOf("frm_field_"+
27
+ m+"_container")?g=!0:(l=void 0,g=(l=n=(n=document.getElementById("frm_helpers_"+n).value)?JSON.parse(n):[])&&null!==l[g]&&-1<h.indexOf("frm_field_"+l[g]+"_container")?!0:!1)}else g=!1;g||aa(c,d[e],f,b)}}}function M(a){var b=!1;4<=a.split("[").length&&(b=!0);return b}function aa(a,b,c,d){var f=a.calc[b],e=f.calc,k=jQuery(document.getElementById("field_"+b)),g={triggerField:d,inSection:!1,thisFieldCall:'input[id^="field_'+b+'-"]'};1>k.length&&"undefined"!==typeof d&&(g.inSection=!0,g.thisFieldId=ka(a.fieldsWithCalc,
28
+ b),k=ba(g));e=la(f,e,a,c,g);a=f.calc_dec;e.indexOf(").toFixed(")&&(c=e.split(").toFixed("),ca(c[1])&&(a=c[1],e=e.replace(").toFixed("+a,"")));e=parseFloat(eval(e));"undefined"===typeof e&&(e=0);ca(a)&&(e=e.toFixed(a));k.val()!=e&&(k.val(e),D(k,b))}function la(a,b,c,d,f){for(var e=0,k=a.fields.length;e<k;e++){var g={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]]},
29
+ h=c;"checkbox"==g.thisField.type||"select"==g.thisField.type?g.thisFieldCall=g.thisFieldCall+":checked,select"+h.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"+h.fieldKeys[g.thisFieldId]);d=ma(g,c,d);if("undefined"===typeof d[g.valKey]||isNaN(d[g.valKey]))d[g.valKey]=
30
+ 0;h="["+g.thisFieldId+"]";h=h.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1");b=b.replace(new RegExp(h,"g"),d[g.valKey])}return b}function ma(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=ba(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)""!==O(this)&&(d=!0);else if("select"==
31
+ e.type){var k=this.className;k&&-1<k.indexOf("frm_other_trigger")&&(d=!0)}else("checkbox"==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=O(this))):d=jQuery(this).closest(".frm_other_container").find(".frm_other_input").val():"checkbox"!=e.type&&"radio"!=e.type||"hidden"==this.type||(d=O(this)),e=d):e="checkbox"!==this.type&&"radio"!==this.type||!this.checked?
32
+ jQuery(this).val():this.value;"undefined"===typeof e&&(e="");d=e;if("date"==a.thisField.type){e=b.date;k=0;if(d)if("undefined"===typeof jQuery.datepicker){k="-";-1<e.indexOf("/")&&(k="/");e=e.split(k);d=d.split(k);var g,h;g=k=h="";for(var l=0;l<e.length;l++)if("y"==e[l])g=((new Date).getFullYear()+15).toString().substr(2,2),g=d[l]>g?"19"+d[l]:"20"+d[l];else if("yy"==e[l])g=d[l];else if("m"==e[l]||"mm"==e[l])k=d[l],2>k.length&&(k="0"+k);else if("d"==e[l]||"dd"==e[l])h=d[l],2>h.length&&(h="0"+h);k=
33
+ Date.parse(g+"-"+k+"-"+h)}else k=jQuery.datepicker.parseDate(e,d);e=k;null!==e&&(c[a.valKey]=Math.ceil(e/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 ba(a){if("undefined"===typeof a.triggerField)return null;var b=a.triggerField.closest(".frm_repeat_sec, .frm_repeat_inline, .frm_repeat_grid");return b.length?(a=a.thisFieldCall.replace("[id=","[id^="),b.find(a)):null}
34
+ function O(a){var b="";a=document.getElementById(a.id+"-otext");null!==a&&""!==a.value&&(b=a.value);return b}function da(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,
35
  "");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")},2E3));b=jQuery(a).find(".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="'+
36
  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);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"]');
37
+ 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");f=!0;jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");var e="",k=!1,g=null,h;for(h in b)if(g=jQuery(a).find(jQuery(document.getElementById("frm_field_"+h+"_container"))),g.length){if(!g.is(":visible")){var l=
38
+ g.closest(".frm_toggle_container");l.length&&l.prev(".frm_trigger").click()}g.is(":visible")&&(f=!1,""===e&&(frmFrontForm.scrollMsg(h,a,!0),e="#frm_field_"+h+"_container"),jQuery(a).find("#frm_field_"+h+"_container .g-recaptcha").length&&(k=!0,grecaptcha.reset()),ea(g,h,b))}else if("redirect"==h){window.location=b[h];return}!0!==k&&jQuery(a).find(".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");
39
+ a.submit()}})}function ea(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(){fa(jQuery(this),"clear")}function oa(){fa(jQuery(this),"replace")}function fa(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):
40
+ d==c&&a.removeClass("frm_default").val("")}function pa(){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 qa(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",
41
+ a.options.fields)&&(d=!0,c.addColumn("number",frm_js.id));for(var f=a.fields.length,e="string",k=0,g=f;k<g;k++){var h=a.fields[k],e=ga(h);c.addColumn(e,h.name)}k=!1;a.options.edit_link&&(k=!0,c.addColumn("string",a.options.edit_link));g=!1;a.options.delete_link&&(g=!0,c.addColumn("string",a.options.delete_link));h=0;if(null!==a.entries){var l=a.entries.length;c.addRows(l);for(var n=0,m=0;m<l;m++){var h=0,p=a.entries[m];d&&(c.setCell(n,h,p.id),h++);for(var q=0,t=f;q<t;q++){var r=a.fields[q],e=ga(r),
42
+ r=p.metas[r.id];"number"!=e||null!==r&&""!==r?"boolean"==e&&(r=null===r||"false"==r||!1===r?!1:!0):r=0;c.setCell(n,h,r);h++}k&&("undefined"!==typeof p.editLink?c.setCell(n,h,'<a href="'+p.editLink+'">'+a.options.edit_link+"</a>"):c.setCell(n,h,""),h++);g&&("undefined"!==typeof p.deleteLink?c.setCell(n,h,'<a href="'+p.deleteLink+'" class="frm_delete_link" data-frmconfirm="'+a.options.confirm+'">'+a.options.delete_link+"</a>"):c.setCell(n,h,""));n++}}else for(c.addRows(1),k=h=0,g=f;k<g;k++)0<h?c.setCell(0,
43
+ h,""):c.setCell(0,h,a.options.no_entries),h++;(new google.visualization.Table(document.getElementById("frm_google_table_"+a.options.form_id))).draw(c,a.graphOpts)}else ra(a)}})}function ga(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 ra(a){var b=new google.visualization.DataTable,c=!1,d=!1,f=a.rows.length;
44
+ 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"!=typeof a.rows[0].tooltip)for(var d=c=!0,k=0;k<f;k++){e=a.rows[k].tooltip;delete a.rows[k].tooltip;var g=Object.keys(a.rows[k]).map(function(b){return a.rows[k][b]});a.rows[k]=g;a.rows[k].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);
45
+ 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 sa(){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");
46
+ 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 ta(){ua(jQuery(this).parent(".frm_uploaded_files"))}function va(){jQuery(this).parent(".frm_file_names").replaceWith("");return!1}function wa(){var a="frm_section_"+jQuery(this).data("parent")+"-"+jQuery(this).data("key"),b=jQuery(document.getElementById(a)),
47
+ c=b.find("input, select, textarea");b.fadeOut("slow",function(){b.remove();c.each(function(){if("file"!=this.type){var a=y(this,!1);J(a,jQuery(this))}});"function"==typeof frmThemeOverride_frmRemoveRow&&frmThemeOverride_frmRemoveRow(a,b)});return!1}function xa(){if(!0===I)return!1;I=!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",
48
+ 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,f=jQuery(d).hide().fadeIn("slow");jQuery(".frm_repeat_"+a+":last").after(f);var e=["other"],k,g,h="reset";A=f.attr("id");jQuery(d).find("input, select, textarea").each(function(){if("file"!=this.type){if(""==this.name)return!0;k=this.name.replace("item_meta[","").split("]")[2].replace("[","");-1==jQuery.inArray(k,e)&&0!=this.id&&(g=jQuery("#"+this.id),e.push(k),r(k,
49
+ null,g,h),J(k,g),h="persist")}});A="";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_"+b.logic.check[f]+"_container").length&&(r(b.logic.check[f],null,null,h),h="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);I=!1},error:function(){I=
50
+ !1}});return!1}function ya(){var a=jQuery(this),b=a.data("entryid"),c=a.data("prefix"),d=a.data("pageid"),f=a.data("formid"),e=a.data("cancel"),k=a.data("fields"),g=a.data("excludefields"),h=jQuery(document.getElementById(c+b)),l=h.html();h.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,
51
+ fields:k,exclude_fields:g},success:function(b){h.children(".frm-loading-img").replaceWith(b);a.removeClass("frm_inplace_edit").addClass("frm_cancel_edit");a.html(e)}});return!1}function za(){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");
52
+ a.html(d);return!1}function Aa(){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_"+c)).fadeOut("slow")):jQuery(document.getElementById("frm_delete_"+
53
+ c)).replaceWith(a)}})}return!1}function ua(a){a.fadeOut("slow",function(){a.remove()})}function Ba(){var a=jQuery(this).data("frmconfirm");return confirm(a)}function Ca(){var a=jQuery(this).data("frmtoggle");jQuery(a).is(":visible")?jQuery(a).slideUp("fast"):jQuery(a).slideDown("fast");return!1}function ka(a,b){for(var c in a)if(a.hasOwnProperty(c)&&a[c]===b)return c;return null}function ca(a){return!jQuery.isArray(a)&&0<=a-parseFloat(a)+1}function W(a){return a.find('select[name^="item_meta"], textarea[name^="item_meta"], input[name^="item_meta"]')}
54
+ function Y(a,b){var c="item_meta["+a+"]";K(a)&&(c=L(a,b));return c}function L(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 T(a,b){var c=b.replace("frm_section_","").split("-");return"frm_field_"+a+"-"+c[0]+"-"+c[1]+"_container"}function K(a){var b=document.getElementById("frm_field_"+a+"_container");
55
+ 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 Da(){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 Ea(){"function"!==typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,
56
+ "")})}function Fa(){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 f=[],e=0;e<d;e++)if(e in c){var k=c[e];a.call(b,k,e,c)&&f.push(k)}return f})}function Ga(){Object.keys||(Object.keys=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push(c);return b})}function ha(a,b){var c=[];if("undefined"==typeof document.querySelector)jQuery("#"+a+' input[type=checkbox]:checked, input[type=hidden][name^="'+
57
+ 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=[],C={},E=[],N=[],A="",I=!1,P="",F=[];return{init:function(){jQuery(document).on("click",".frm_trigger",q);var a=jQuery(".frm_blank_field");a.length&&a.closest(".frm_toggle_container").prev(".frm_trigger").click();jQuery.isFunction(jQuery.fn.placeholder)?
58
+ 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",na);jQuery(document).on("blur",".frm_toggle_default",oa);jQuery(".frm_toggle_default").blur();jQuery(document.getElementById("frm_resend_email")).click(pa);jQuery(document).on("change",".frm_multiple_file",sa);jQuery(document).on("click",".frm_clear_file_link",
59
+ va);jQuery(document).on("click",".frm_remove_link",ta);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"]',x);jQuery(document).on("click",'.frm-show-form input[type="submit"], .frm-show-form input[name="frm_prev_page"], .frm-show-form .frm_save_draft',m);jQuery(document).on("change",
60
+ '.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",t);jQuery(document).on("click",".frm_remove_form_row",wa);jQuery(document).on("click",".frm_add_form_row",xa);jQuery(document).on("click","a[data-frmconfirm]",Ba);jQuery("a[data-frmtoggle]").click(Ca);jQuery(".frm_edit_link_container").on("click","a.frm_inplace_edit",ya);jQuery(".frm_edit_link_container").on("click",
61
+ "a.frm_cancel_edit",za);jQuery(".frm_ajax_delete").click(Aa);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())});Da();Ea();
62
+ Fa();Ga()},submitForm:function(a){a.preventDefault();jQuery(this).find(".wp-editor-wrap").length&&"undefined"!=typeof tinyMCE&&tinyMCE.triggerSave();P=jQuery(this).find('input[name="frm_action"]').val();F=[];frmFrontForm.getAjaxFormErrors(this);if(0===Object.keys(F).length)da(this,P);else{jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");for(var b in F)a=jQuery(this).find(jQuery("#frm_field_"+b+"_container")),ea(a,b,F)}},getAjaxFormErrors:function(a){"function"==
63
+ typeof frmThemeOverride_jsErrors&&(F=frmThemeOverride_jsErrors(P,a))},checkFormErrors:function(a,b){da(a,b)},scrollToID:function(a){a=jQuery(document.getElementById(a).offset());window.scrollTo(a.left,a.top)},scrollMsg:function(a,b,c){var d="";if(d="undefined"==typeof b?jQuery(document.getElementById("frm_form_"+a+"_container")).offset().top:jQuery(b).find(document.getElementById("frm_field_"+a+"_container")).offset().top){d-=frm_js.offset;a=jQuery("html").css("margin-top");b=jQuery("body").css("margin-top");
64
  if(a||b)d=d-parseInt(a)-parseInt(b);if(d&&window.innerHeight&&(a=document.documentElement.scrollTop||document.body.scrollTop,d>a+window.innerHeight||d<a))return"undefined"===typeof c?jQuery(window).scrollTop(d):jQuery("html,body").animate({scrollTop:d},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="none":jQuery(".frm_field_"+a[b]+"_container").hide()}},checkDependent:function(a){a=
65
+ 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++)qa(d[e],f);else setTimeout(frmFrontForm.loadGoogle,30)},removeUsedTimes:function(a,b){var c=jQuery(a).parents("form:first").find('input[name="id"]');jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"json",data:{action:"frm_fields_ajax_time_options",
66
  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,"&#039;")},invisible:function(a){jQuery(a).css("visibility","hidden")},visible:function(a){jQuery(a).css("visibility",
67
+ "visible")}}}var frmFrontForm=frmFrontFormJS();jQuery(document).ready(function(m){frmFrontForm.init()});
68
+ function frmUpdateField(m,q,t,v,x){jQuery(document.getElementById("frm_update_field_"+m+"_"+q)).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:m,field_id:q,value:t,nonce:frm_js.nonce},success:function(){""===v.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById("frm_update_field_"+m+"_"+q+"_"+x)).fadeOut("slow"):jQuery(document.getElementById("frm_update_field_"+m+"_"+q+"_"+x)).replaceWith(v)}})}
69
+ function frmEditEntry(m,q,t,v,x,y){console.warn("DEPRECATED: function frmEditEntry in v2.0.13 use frmFrontForm.editEntry");var r=jQuery(document.getElementById("frm_edit_"+m)),u=r.html(),w=jQuery(document.getElementById(q+m)),z=w.html();w.html('<span class="frm-loading-img" id="'+q+m+'"></span><div class="frm_orig_content" style="display:none">'+z+"</div>");jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"html",data:{action:"frm_entries_edit_entry_ajax",post_id:t,entry_id:m,id:v,nonce:frm_js.nonce},
70
+ success:function(z){w.children(".frm-loading-img").replaceWith(z);r.replaceWith('<span id="frm_edit_'+m+'"><a onclick="frmCancelEdit('+m+",'"+q+"','"+frmFrontForm.escapeHtml(u)+"',"+t+","+v+",'"+y+'\')" class="'+y+'">'+x+"</a></span>")}})}
71
+ function frmCancelEdit(m,q,t,v,x,y){console.warn("DEPRECATED: function frmCancelEdit in v2.0.13 use frmFrontForm.cancelEdit");var r=jQuery(document.getElementById("frm_edit_"+m)),u=r.find("a"),w=u.html();u.hasClass("frm_ajax_edited")||(u=jQuery(document.getElementById(q+m)),u.children(".frm_forms").replaceWith(""),u.children(".frm_orig_content").fadeIn("slow").removeClass("frm_orig_content"));r.replaceWith('<a id="frm_edit_'+m+'" class="frm_edit_link '+y+'" href="javascript:frmEditEntry('+m+",'"+
72
+ q+"',"+v+","+x+",'"+frmFrontForm.escapeHtml(w)+"','"+y+"')\">"+t+"</a>")}
73
+ function frmDeleteEntry(m,q){console.warn("DEPRECATED: function frmDeleteEntry in v2.0.13 use frmFrontForm.deleteEntry");jQuery(document.getElementById("frm_delete_"+m)).replaceWith('<span class="frm-loading-img" id="frm_delete_'+m+'"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:{action:"frm_entries_destroy",entry:m,nonce:frm_js.nonce},success:function(t){"success"==t.replace(/^\s+|\s+$/g,"")?jQuery(document.getElementById(q+m)).fadeOut("slow"):jQuery(document.getElementById("frm_delete_"+
74
+ m)).replaceWith(t)}})}function frmOnSubmit(m){console.warn("DEPRECATED: function frmOnSubmit in v2.0 use frmFrontForm.submitForm");frmFrontForm.submitForm(m,this)}
75
+ function frm_resend_email(m,q){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:m,form_id:q,nonce:frm_js.nonce},success:function(m){$link.replaceWith(m)}})};
languages/formidable-en_US.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Formidable v2.0.15\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2010-12-20\n"
6
- "PO-Revision-Date: 2015-10-23 22:02:26+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -255,7 +255,7 @@ msgstr ""
255
  msgid "You do not have permission to do that"
256
  msgstr ""
257
 
258
- #: pro/classes/controllers/FrmProEddController.php:122
259
  #@ formidable
260
  msgid "ERROR"
261
  msgstr ""
@@ -385,14 +385,14 @@ msgstr ""
385
  msgid "Update"
386
  msgstr ""
387
 
388
- #: pro/classes/controllers/FrmProEddController.php:173
389
  #@ formidable
390
  msgid "or"
391
  msgstr ""
392
 
393
  #: classes/helpers/FrmAppHelper.php:1731
394
  #: classes/views/frm-forms/_publish_box.php:75
395
- #: pro/classes/controllers/FrmProEddController.php:175
396
  #: pro/classes/controllers/FrmProEntriesController.php:2029
397
  #: pro/classes/views/frmpro-entries/sidebar-new.php:14
398
  #: pro/classes/views/frmpro-form-actions/_custom_field_row.php:31
@@ -442,7 +442,7 @@ msgstr ""
442
  msgid "Field Name"
443
  msgstr ""
444
 
445
- #: classes/controllers/FrmStylesController.php:318
446
  #: classes/views/frm-forms/mb_html_tab.php:9
447
  #@ formidable
448
  msgid "Field Description"
@@ -1694,7 +1694,7 @@ msgstr ""
1694
  msgid "Export"
1695
  msgstr ""
1696
 
1697
- #: classes/controllers/FrmStylesController.php:316
1698
  #: classes/views/frm-forms/settings.php:32
1699
  #: classes/views/frm-settings/form.php:18
1700
  #@ formidable
@@ -1793,12 +1793,12 @@ msgstr ""
1793
  msgid "Formidable uses CSS3 border-radius for corner rounding, which is not currently supported by Internet Explorer."
1794
  msgstr ""
1795
 
1796
- #: classes/controllers/FrmStylesController.php:320
1797
  #@ formidable
1798
  msgid "Field Settings"
1799
  msgstr ""
1800
 
1801
- #: classes/controllers/FrmStylesController.php:319
1802
  #@ formidable
1803
  msgid "Field Colors"
1804
  msgstr ""
@@ -1871,7 +1871,7 @@ msgstr ""
1871
  msgid "Margin"
1872
  msgstr ""
1873
 
1874
- #: classes/models/EDD_SL_Plugin_Updater.php:332
1875
  #: classes/views/styles/_field-colors.php:10
1876
  #: classes/views/styles/_form-messages.php:7
1877
  #@ edd
@@ -2450,1207 +2450,1207 @@ msgstr ""
2450
  msgid "Bottom Margin"
2451
  msgstr ""
2452
 
2453
- #: classes/helpers/FrmFieldsHelper.php:1302
2454
  #@ formidable
2455
  msgid "Countries"
2456
  msgstr ""
2457
 
2458
- #: classes/helpers/FrmFieldsHelper.php:1311
2459
  #@ formidable
2460
  msgid "U.S. States"
2461
  msgstr ""
2462
 
2463
- #: classes/helpers/FrmFieldsHelper.php:1307
2464
  #@ formidable
2465
  msgid "U.S. State Abbreviations"
2466
  msgstr ""
2467
 
2468
- #: classes/helpers/FrmFieldsHelper.php:1314
2469
  #@ formidable
2470
  msgid "Age"
2471
  msgstr ""
2472
 
2473
- #: classes/helpers/FrmFieldsHelper.php:1315
2474
  #@ formidable
2475
  msgid "Under 18"
2476
  msgstr ""
2477
 
2478
- #: classes/helpers/FrmFieldsHelper.php:1315
2479
  #@ formidable
2480
  msgid "18-24"
2481
  msgstr ""
2482
 
2483
- #: classes/helpers/FrmFieldsHelper.php:1315
2484
  #@ formidable
2485
  msgid "25-34"
2486
  msgstr ""
2487
 
2488
- #: classes/helpers/FrmFieldsHelper.php:1316
2489
  #@ formidable
2490
  msgid "35-44"
2491
  msgstr ""
2492
 
2493
- #: classes/helpers/FrmFieldsHelper.php:1316
2494
  #@ formidable
2495
  msgid "45-54"
2496
  msgstr ""
2497
 
2498
- #: classes/helpers/FrmFieldsHelper.php:1316
2499
  #@ formidable
2500
  msgid "55-64"
2501
  msgstr ""
2502
 
2503
- #: classes/helpers/FrmFieldsHelper.php:1317
2504
  #@ formidable
2505
  msgid "65 or Above"
2506
  msgstr ""
2507
 
2508
- #: classes/helpers/FrmFieldsHelper.php:1317
2509
  #@ formidable
2510
  msgid "Prefer Not to Answer"
2511
  msgstr ""
2512
 
2513
- #: classes/helpers/FrmFieldsHelper.php:1320
2514
  #@ formidable
2515
  msgid "Satisfaction"
2516
  msgstr ""
2517
 
2518
- #: classes/helpers/FrmFieldsHelper.php:1321
2519
  #@ formidable
2520
  msgid "Very Satisfied"
2521
  msgstr ""
2522
 
2523
- #: classes/helpers/FrmFieldsHelper.php:1321
2524
  #@ formidable
2525
  msgid "Satisfied"
2526
  msgstr ""
2527
 
2528
- #: classes/helpers/FrmFieldsHelper.php:1321
2529
  #: classes/helpers/FrmFieldsHelper.php:1326
2530
  #: classes/helpers/FrmFieldsHelper.php:1331
 
2531
  #@ formidable
2532
  msgid "Neutral"
2533
  msgstr ""
2534
 
2535
- #: classes/helpers/FrmFieldsHelper.php:1322
2536
  #@ formidable
2537
  msgid "Unsatisfied"
2538
  msgstr ""
2539
 
2540
- #: classes/helpers/FrmFieldsHelper.php:1322
2541
  #@ formidable
2542
  msgid "Very Unsatisfied"
2543
  msgstr ""
2544
 
2545
- #: classes/helpers/FrmFieldsHelper.php:1322
2546
  #: classes/helpers/FrmFieldsHelper.php:1327
2547
  #: classes/helpers/FrmFieldsHelper.php:1332
 
2548
  #: pro/classes/controllers/FrmProDisplaysController.php:194
2549
  #@ formidable
2550
  msgid "N/A"
2551
  msgstr ""
2552
 
2553
- #: classes/helpers/FrmFieldsHelper.php:1325
2554
  #@ formidable
2555
  msgid "Importance"
2556
  msgstr ""
2557
 
2558
- #: classes/helpers/FrmFieldsHelper.php:1326
2559
  #@ formidable
2560
  msgid "Very Important"
2561
  msgstr ""
2562
 
2563
- #: classes/helpers/FrmFieldsHelper.php:1326
2564
  #@ formidable
2565
  msgid "Important"
2566
  msgstr ""
2567
 
2568
- #: classes/helpers/FrmFieldsHelper.php:1327
2569
  #@ formidable
2570
  msgid "Somewhat Important"
2571
  msgstr ""
2572
 
2573
- #: classes/helpers/FrmFieldsHelper.php:1327
2574
  #@ formidable
2575
  msgid "Not at all Important"
2576
  msgstr ""
2577
 
2578
- #: classes/helpers/FrmFieldsHelper.php:1330
2579
  #@ formidable
2580
  msgid "Agreement"
2581
  msgstr ""
2582
 
2583
- #: classes/helpers/FrmFieldsHelper.php:1331
2584
  #@ formidable
2585
  msgid "Strongly Agree"
2586
  msgstr ""
2587
 
2588
- #: classes/helpers/FrmFieldsHelper.php:1331
2589
  #@ formidable
2590
  msgid "Agree"
2591
  msgstr ""
2592
 
2593
- #: classes/helpers/FrmFieldsHelper.php:1332
2594
  #@ formidable
2595
  msgid "Disagree"
2596
  msgstr ""
2597
 
2598
- #: classes/helpers/FrmFieldsHelper.php:1332
2599
  #@ formidable
2600
  msgid "Strongly Disagree"
2601
  msgstr ""
2602
 
2603
- #: classes/helpers/FrmFieldsHelper.php:1225
2604
  #@ formidable
2605
  msgid "Afghanistan"
2606
  msgstr ""
2607
 
2608
- #: classes/helpers/FrmFieldsHelper.php:1225
2609
  #@ formidable
2610
  msgid "Albania"
2611
  msgstr ""
2612
 
2613
- #: classes/helpers/FrmFieldsHelper.php:1225
2614
  #@ formidable
2615
  msgid "Algeria"
2616
  msgstr ""
2617
 
2618
- #: classes/helpers/FrmFieldsHelper.php:1226
2619
  #@ formidable
2620
  msgid "American Samoa"
2621
  msgstr ""
2622
 
2623
- #: classes/helpers/FrmFieldsHelper.php:1226
2624
  #@ formidable
2625
  msgid "Andorra"
2626
  msgstr ""
2627
 
2628
- #: classes/helpers/FrmFieldsHelper.php:1226
2629
  #@ formidable
2630
  msgid "Angola"
2631
  msgstr ""
2632
 
2633
- #: classes/helpers/FrmFieldsHelper.php:1227
2634
  #@ formidable
2635
  msgid "Anguilla"
2636
  msgstr ""
2637
 
2638
- #: classes/helpers/FrmFieldsHelper.php:1227
2639
  #@ formidable
2640
  msgid "Antarctica"
2641
  msgstr ""
2642
 
2643
- #: classes/helpers/FrmFieldsHelper.php:1227
2644
  #@ formidable
2645
  msgid "Antigua and Barbuda"
2646
  msgstr ""
2647
 
2648
- #: classes/helpers/FrmFieldsHelper.php:1228
2649
  #@ formidable
2650
  msgid "Argentina"
2651
  msgstr ""
2652
 
2653
- #: classes/helpers/FrmFieldsHelper.php:1228
2654
  #@ formidable
2655
  msgid "Armenia"
2656
  msgstr ""
2657
 
2658
- #: classes/helpers/FrmFieldsHelper.php:1228
2659
  #@ formidable
2660
  msgid "Aruba"
2661
  msgstr ""
2662
 
2663
- #: classes/helpers/FrmFieldsHelper.php:1229
2664
  #@ formidable
2665
  msgid "Australia"
2666
  msgstr ""
2667
 
2668
- #: classes/helpers/FrmFieldsHelper.php:1229
2669
  #@ formidable
2670
  msgid "Austria"
2671
  msgstr ""
2672
 
2673
- #: classes/helpers/FrmFieldsHelper.php:1229
2674
  #@ formidable
2675
  msgid "Azerbaijan"
2676
  msgstr ""
2677
 
2678
- #: classes/helpers/FrmFieldsHelper.php:1230
2679
  #@ formidable
2680
  msgid "Bahamas"
2681
  msgstr ""
2682
 
2683
- #: classes/helpers/FrmFieldsHelper.php:1230
2684
  #@ formidable
2685
  msgid "Bahrain"
2686
  msgstr ""
2687
 
2688
- #: classes/helpers/FrmFieldsHelper.php:1230
2689
  #@ formidable
2690
  msgid "Bangladesh"
2691
  msgstr ""
2692
 
2693
- #: classes/helpers/FrmFieldsHelper.php:1231
2694
  #@ formidable
2695
  msgid "Barbados"
2696
  msgstr ""
2697
 
2698
- #: classes/helpers/FrmFieldsHelper.php:1231
2699
  #@ formidable
2700
  msgid "Belarus"
2701
  msgstr ""
2702
 
2703
- #: classes/helpers/FrmFieldsHelper.php:1231
2704
  #@ formidable
2705
  msgid "Belgium"
2706
  msgstr ""
2707
 
2708
- #: classes/helpers/FrmFieldsHelper.php:1232
2709
  #@ formidable
2710
  msgid "Belize"
2711
  msgstr ""
2712
 
2713
- #: classes/helpers/FrmFieldsHelper.php:1232
2714
  #@ formidable
2715
  msgid "Benin"
2716
  msgstr ""
2717
 
2718
- #: classes/helpers/FrmFieldsHelper.php:1232
2719
  #@ formidable
2720
  msgid "Bermuda"
2721
  msgstr ""
2722
 
2723
- #: classes/helpers/FrmFieldsHelper.php:1233
2724
  #@ formidable
2725
  msgid "Bhutan"
2726
  msgstr ""
2727
 
2728
- #: classes/helpers/FrmFieldsHelper.php:1233
2729
  #@ formidable
2730
  msgid "Bolivia"
2731
  msgstr ""
2732
 
2733
- #: classes/helpers/FrmFieldsHelper.php:1233
2734
  #@ formidable
2735
  msgid "Bosnia and Herzegovina"
2736
  msgstr ""
2737
 
2738
- #: classes/helpers/FrmFieldsHelper.php:1234
2739
  #@ formidable
2740
  msgid "Botswana"
2741
  msgstr ""
2742
 
2743
- #: classes/helpers/FrmFieldsHelper.php:1234
2744
  #@ formidable
2745
  msgid "Brazil"
2746
  msgstr ""
2747
 
2748
- #: classes/helpers/FrmFieldsHelper.php:1234
2749
  #@ formidable
2750
  msgid "Brunei"
2751
  msgstr ""
2752
 
2753
- #: classes/helpers/FrmFieldsHelper.php:1235
2754
  #@ formidable
2755
  msgid "Bulgaria"
2756
  msgstr ""
2757
 
2758
- #: classes/helpers/FrmFieldsHelper.php:1235
2759
  #@ formidable
2760
  msgid "Burkina Faso"
2761
  msgstr ""
2762
 
2763
- #: classes/helpers/FrmFieldsHelper.php:1235
2764
  #@ formidable
2765
  msgid "Burundi"
2766
  msgstr ""
2767
 
2768
- #: classes/helpers/FrmFieldsHelper.php:1236
2769
  #@ formidable
2770
  msgid "Cambodia"
2771
  msgstr ""
2772
 
2773
- #: classes/helpers/FrmFieldsHelper.php:1236
2774
  #@ formidable
2775
  msgid "Cameroon"
2776
  msgstr ""
2777
 
2778
- #: classes/helpers/FrmFieldsHelper.php:1236
2779
  #@ formidable
2780
  msgid "Canada"
2781
  msgstr ""
2782
 
2783
- #: classes/helpers/FrmFieldsHelper.php:1237
2784
  #@ formidable
2785
  msgid "Cape Verde"
2786
  msgstr ""
2787
 
2788
- #: classes/helpers/FrmFieldsHelper.php:1237
2789
  #@ formidable
2790
  msgid "Cayman Islands"
2791
  msgstr ""
2792
 
2793
- #: classes/helpers/FrmFieldsHelper.php:1237
2794
  #@ formidable
2795
  msgid "Central African Republic"
2796
  msgstr ""
2797
 
2798
- #: classes/helpers/FrmFieldsHelper.php:1238
2799
  #@ formidable
2800
  msgid "Chad"
2801
  msgstr ""
2802
 
2803
- #: classes/helpers/FrmFieldsHelper.php:1238
2804
  #@ formidable
2805
  msgid "Chile"
2806
  msgstr ""
2807
 
2808
- #: classes/helpers/FrmFieldsHelper.php:1238
2809
  #@ formidable
2810
  msgid "China"
2811
  msgstr ""
2812
 
2813
- #: classes/helpers/FrmFieldsHelper.php:1239
2814
  #@ formidable
2815
  msgid "Colombia"
2816
  msgstr ""
2817
 
2818
- #: classes/helpers/FrmFieldsHelper.php:1239
2819
  #@ formidable
2820
  msgid "Comoros"
2821
  msgstr ""
2822
 
2823
- #: classes/helpers/FrmFieldsHelper.php:1239
2824
  #@ formidable
2825
  msgid "Congo"
2826
  msgstr ""
2827
 
2828
- #: classes/helpers/FrmFieldsHelper.php:1240
2829
  #@ formidable
2830
  msgid "Costa Rica"
2831
  msgstr ""
2832
 
2833
- #: classes/helpers/FrmFieldsHelper.php:1240
2834
  #@ formidable
2835
  msgid "C&ocirc;te d'Ivoire"
2836
  msgstr ""
2837
 
2838
- #: classes/helpers/FrmFieldsHelper.php:1240
2839
  #@ formidable
2840
  msgid "Croatia"
2841
  msgstr ""
2842
 
2843
- #: classes/helpers/FrmFieldsHelper.php:1241
2844
  #@ formidable
2845
  msgid "Cuba"
2846
  msgstr ""
2847
 
2848
- #: classes/helpers/FrmFieldsHelper.php:1241
2849
  #@ formidable
2850
  msgid "Cyprus"
2851
  msgstr ""
2852
 
2853
- #: classes/helpers/FrmFieldsHelper.php:1241
2854
  #@ formidable
2855
  msgid "Czech Republic"
2856
  msgstr ""
2857
 
2858
- #: classes/helpers/FrmFieldsHelper.php:1242
2859
  #@ formidable
2860
  msgid "Denmark"
2861
  msgstr ""
2862
 
2863
- #: classes/helpers/FrmFieldsHelper.php:1242
2864
  #@ formidable
2865
  msgid "Djibouti"
2866
  msgstr ""
2867
 
2868
- #: classes/helpers/FrmFieldsHelper.php:1242
2869
  #@ formidable
2870
  msgid "Dominica"
2871
  msgstr ""
2872
 
2873
- #: classes/helpers/FrmFieldsHelper.php:1243
2874
  #@ formidable
2875
  msgid "Dominican Republic"
2876
  msgstr ""
2877
 
2878
- #: classes/helpers/FrmFieldsHelper.php:1243
2879
  #@ formidable
2880
  msgid "East Timor"
2881
  msgstr ""
2882
 
2883
- #: classes/helpers/FrmFieldsHelper.php:1243
2884
  #@ formidable
2885
  msgid "Ecuador"
2886
  msgstr ""
2887
 
2888
- #: classes/helpers/FrmFieldsHelper.php:1244
2889
  #@ formidable
2890
  msgid "Egypt"
2891
  msgstr ""
2892
 
2893
- #: classes/helpers/FrmFieldsHelper.php:1244
2894
  #@ formidable
2895
  msgid "El Salvador"
2896
  msgstr ""
2897
 
2898
- #: classes/helpers/FrmFieldsHelper.php:1244
2899
  #@ formidable
2900
  msgid "Equatorial Guinea"
2901
  msgstr ""
2902
 
2903
- #: classes/helpers/FrmFieldsHelper.php:1245
2904
  #@ formidable
2905
  msgid "Eritrea"
2906
  msgstr ""
2907
 
2908
- #: classes/helpers/FrmFieldsHelper.php:1245
2909
  #@ formidable
2910
  msgid "Estonia"
2911
  msgstr ""
2912
 
2913
- #: classes/helpers/FrmFieldsHelper.php:1245
2914
  #@ formidable
2915
  msgid "Ethiopia"
2916
  msgstr ""
2917
 
2918
- #: classes/helpers/FrmFieldsHelper.php:1246
2919
  #@ formidable
2920
  msgid "Fiji"
2921
  msgstr ""
2922
 
2923
- #: classes/helpers/FrmFieldsHelper.php:1246
2924
  #@ formidable
2925
  msgid "Finland"
2926
  msgstr ""
2927
 
2928
- #: classes/helpers/FrmFieldsHelper.php:1246
2929
  #@ formidable
2930
  msgid "France"
2931
  msgstr ""
2932
 
2933
- #: classes/helpers/FrmFieldsHelper.php:1247
2934
  #@ formidable
2935
  msgid "French Guiana"
2936
  msgstr ""
2937
 
2938
- #: classes/helpers/FrmFieldsHelper.php:1247
2939
  #@ formidable
2940
  msgid "French Polynesia"
2941
  msgstr ""
2942
 
2943
- #: classes/helpers/FrmFieldsHelper.php:1247
2944
  #@ formidable
2945
  msgid "Gabon"
2946
  msgstr ""
2947
 
2948
- #: classes/helpers/FrmFieldsHelper.php:1248
2949
  #@ formidable
2950
  msgid "Gambia"
2951
  msgstr ""
2952
 
2953
- #: classes/helpers/FrmFieldsHelper.php:1248
2954
  #@ formidable
2955
  msgid "Georgia"
2956
  msgstr ""
2957
 
2958
- #: classes/helpers/FrmFieldsHelper.php:1248
2959
  #@ formidable
2960
  msgid "Germany"
2961
  msgstr ""
2962
 
2963
- #: classes/helpers/FrmFieldsHelper.php:1249
2964
  #@ formidable
2965
  msgid "Ghana"
2966
  msgstr ""
2967
 
2968
- #: classes/helpers/FrmFieldsHelper.php:1249
2969
  #@ formidable
2970
  msgid "Gibraltar"
2971
  msgstr ""
2972
 
2973
- #: classes/helpers/FrmFieldsHelper.php:1249
2974
  #@ formidable
2975
  msgid "Greece"
2976
  msgstr ""
2977
 
2978
- #: classes/helpers/FrmFieldsHelper.php:1250
2979
  #@ formidable
2980
  msgid "Greenland"
2981
  msgstr ""
2982
 
2983
- #: classes/helpers/FrmFieldsHelper.php:1250
2984
  #@ formidable
2985
  msgid "Grenada"
2986
  msgstr ""
2987
 
2988
- #: classes/helpers/FrmFieldsHelper.php:1250
2989
  #@ formidable
2990
  msgid "Guam"
2991
  msgstr ""
2992
 
2993
- #: classes/helpers/FrmFieldsHelper.php:1251
2994
  #@ formidable
2995
  msgid "Guatemala"
2996
  msgstr ""
2997
 
2998
- #: classes/helpers/FrmFieldsHelper.php:1251
2999
  #@ formidable
3000
  msgid "Guinea"
3001
  msgstr ""
3002
 
3003
- #: classes/helpers/FrmFieldsHelper.php:1251
3004
  #@ formidable
3005
  msgid "Guinea-Bissau"
3006
  msgstr ""
3007
 
3008
- #: classes/helpers/FrmFieldsHelper.php:1252
3009
  #@ formidable
3010
  msgid "Guyana"
3011
  msgstr ""
3012
 
3013
- #: classes/helpers/FrmFieldsHelper.php:1252
3014
  #@ formidable
3015
  msgid "Haiti"
3016
  msgstr ""
3017
 
3018
- #: classes/helpers/FrmFieldsHelper.php:1252
3019
  #@ formidable
3020
  msgid "Honduras"
3021
  msgstr ""
3022
 
3023
- #: classes/helpers/FrmFieldsHelper.php:1253
3024
  #@ formidable
3025
  msgid "Hong Kong"
3026
  msgstr ""
3027
 
3028
- #: classes/helpers/FrmFieldsHelper.php:1253
3029
  #@ formidable
3030
  msgid "Hungary"
3031
  msgstr ""
3032
 
3033
- #: classes/helpers/FrmFieldsHelper.php:1253
3034
  #@ formidable
3035
  msgid "Iceland"
3036
  msgstr ""
3037
 
3038
- #: classes/helpers/FrmFieldsHelper.php:1254
3039
  #@ formidable
3040
  msgid "India"
3041
  msgstr ""
3042
 
3043
- #: classes/helpers/FrmFieldsHelper.php:1254
3044
  #@ formidable
3045
  msgid "Indonesia"
3046
  msgstr ""
3047
 
3048
- #: classes/helpers/FrmFieldsHelper.php:1254
3049
  #@ formidable
3050
  msgid "Iran"
3051
  msgstr ""
3052
 
3053
- #: classes/helpers/FrmFieldsHelper.php:1255
3054
  #@ formidable
3055
  msgid "Iraq"
3056
  msgstr ""
3057
 
3058
- #: classes/helpers/FrmFieldsHelper.php:1255
3059
  #@ formidable
3060
  msgid "Ireland"
3061
  msgstr ""
3062
 
3063
- #: classes/helpers/FrmFieldsHelper.php:1255
3064
  #@ formidable
3065
  msgid "Israel"
3066
  msgstr ""
3067
 
3068
- #: classes/helpers/FrmFieldsHelper.php:1256
3069
  #@ formidable
3070
  msgid "Italy"
3071
  msgstr ""
3072
 
3073
- #: classes/helpers/FrmFieldsHelper.php:1256
3074
  #@ formidable
3075
  msgid "Jamaica"
3076
  msgstr ""
3077
 
3078
- #: classes/helpers/FrmFieldsHelper.php:1256
3079
  #@ formidable
3080
  msgid "Japan"
3081
  msgstr ""
3082
 
3083
- #: classes/helpers/FrmFieldsHelper.php:1257
3084
  #@ formidable
3085
  msgid "Jordan"
3086
  msgstr ""
3087
 
3088
- #: classes/helpers/FrmFieldsHelper.php:1257
3089
  #@ formidable
3090
  msgid "Kazakhstan"
3091
  msgstr ""
3092
 
3093
- #: classes/helpers/FrmFieldsHelper.php:1257
3094
  #@ formidable
3095
  msgid "Kenya"
3096
  msgstr ""
3097
 
3098
- #: classes/helpers/FrmFieldsHelper.php:1258
3099
  #@ formidable
3100
  msgid "Kiribati"
3101
  msgstr ""
3102
 
3103
- #: classes/helpers/FrmFieldsHelper.php:1258
3104
  #@ formidable
3105
  msgid "North Korea"
3106
  msgstr ""
3107
 
3108
- #: classes/helpers/FrmFieldsHelper.php:1258
3109
  #@ formidable
3110
  msgid "South Korea"
3111
  msgstr ""
3112
 
3113
- #: classes/helpers/FrmFieldsHelper.php:1259
3114
  #@ formidable
3115
  msgid "Kuwait"
3116
  msgstr ""
3117
 
3118
- #: classes/helpers/FrmFieldsHelper.php:1259
3119
  #@ formidable
3120
  msgid "Kyrgyzstan"
3121
  msgstr ""
3122
 
3123
- #: classes/helpers/FrmFieldsHelper.php:1259
3124
  #@ formidable
3125
  msgid "Laos"
3126
  msgstr ""
3127
 
3128
- #: classes/helpers/FrmFieldsHelper.php:1260
3129
  #@ formidable
3130
  msgid "Latvia"
3131
  msgstr ""
3132
 
3133
- #: classes/helpers/FrmFieldsHelper.php:1260
3134
  #@ formidable
3135
  msgid "Lebanon"
3136
  msgstr ""
3137
 
3138
- #: classes/helpers/FrmFieldsHelper.php:1260
3139
  #@ formidable
3140
  msgid "Lesotho"
3141
  msgstr ""
3142
 
3143
- #: classes/helpers/FrmFieldsHelper.php:1261
3144
  #@ formidable
3145
  msgid "Liberia"
3146
  msgstr ""
3147
 
3148
- #: classes/helpers/FrmFieldsHelper.php:1261
3149
  #@ formidable
3150
  msgid "Libya"
3151
  msgstr ""
3152
 
3153
- #: classes/helpers/FrmFieldsHelper.php:1261
3154
  #@ formidable
3155
  msgid "Liechtenstein"
3156
  msgstr ""
3157
 
3158
- #: classes/helpers/FrmFieldsHelper.php:1262
3159
  #@ formidable
3160
  msgid "Lithuania"
3161
  msgstr ""
3162
 
3163
- #: classes/helpers/FrmFieldsHelper.php:1262
3164
  #@ formidable
3165
  msgid "Luxembourg"
3166
  msgstr ""
3167
 
3168
- #: classes/helpers/FrmFieldsHelper.php:1262
3169
  #@ formidable
3170
  msgid "Macedonia"
3171
  msgstr ""
3172
 
3173
- #: classes/helpers/FrmFieldsHelper.php:1263
3174
  #@ formidable
3175
  msgid "Madagascar"
3176
  msgstr ""
3177
 
3178
- #: classes/helpers/FrmFieldsHelper.php:1263
3179
  #@ formidable
3180
  msgid "Malawi"
3181
  msgstr ""
3182
 
3183
- #: classes/helpers/FrmFieldsHelper.php:1263
3184
  #@ formidable
3185
  msgid "Malaysia"
3186
  msgstr ""
3187
 
3188
- #: classes/helpers/FrmFieldsHelper.php:1264
3189
  #@ formidable
3190
  msgid "Maldives"
3191
  msgstr ""
3192
 
3193
- #: classes/helpers/FrmFieldsHelper.php:1264
3194
  #@ formidable
3195
  msgid "Mali"
3196
  msgstr ""
3197
 
3198
- #: classes/helpers/FrmFieldsHelper.php:1264
3199
  #@ formidable
3200
  msgid "Malta"
3201
  msgstr ""
3202
 
3203
- #: classes/helpers/FrmFieldsHelper.php:1265
3204
  #@ formidable
3205
  msgid "Marshall Islands"
3206
  msgstr ""
3207
 
3208
- #: classes/helpers/FrmFieldsHelper.php:1265
3209
  #@ formidable
3210
  msgid "Mauritania"
3211
  msgstr ""
3212
 
3213
- #: classes/helpers/FrmFieldsHelper.php:1265
3214
  #@ formidable
3215
  msgid "Mauritius"
3216
  msgstr ""
3217
 
3218
- #: classes/helpers/FrmFieldsHelper.php:1266
3219
  #@ formidable
3220
  msgid "Mexico"
3221
  msgstr ""
3222
 
3223
- #: classes/helpers/FrmFieldsHelper.php:1266
3224
  #@ formidable
3225
  msgid "Micronesia"
3226
  msgstr ""
3227
 
3228
- #: classes/helpers/FrmFieldsHelper.php:1266
3229
  #@ formidable
3230
  msgid "Moldova"
3231
  msgstr ""
3232
 
3233
- #: classes/helpers/FrmFieldsHelper.php:1267
3234
  #@ formidable
3235
  msgid "Monaco"
3236
  msgstr ""
3237
 
3238
- #: classes/helpers/FrmFieldsHelper.php:1267
3239
  #@ formidable
3240
  msgid "Mongolia"
3241
  msgstr ""
3242
 
3243
- #: classes/helpers/FrmFieldsHelper.php:1267
3244
  #@ formidable
3245
  msgid "Montenegro"
3246
  msgstr ""
3247
 
3248
- #: classes/helpers/FrmFieldsHelper.php:1268
3249
  #@ formidable
3250
  msgid "Montserrat"
3251
  msgstr ""
3252
 
3253
- #: classes/helpers/FrmFieldsHelper.php:1268
3254
  #@ formidable
3255
  msgid "Morocco"
3256
  msgstr ""
3257
 
3258
- #: classes/helpers/FrmFieldsHelper.php:1268
3259
  #@ formidable
3260
  msgid "Mozambique"
3261
  msgstr ""
3262
 
3263
- #: classes/helpers/FrmFieldsHelper.php:1269
3264
  #@ formidable
3265
  msgid "Myanmar"
3266
  msgstr ""
3267
 
3268
- #: classes/helpers/FrmFieldsHelper.php:1269
3269
  #@ formidable
3270
  msgid "Namibia"
3271
  msgstr ""
3272
 
3273
- #: classes/helpers/FrmFieldsHelper.php:1269
3274
  #@ formidable
3275
  msgid "Nauru"
3276
  msgstr ""
3277
 
3278
- #: classes/helpers/FrmFieldsHelper.php:1270
3279
  #@ formidable
3280
  msgid "Nepal"
3281
  msgstr ""
3282
 
3283
- #: classes/helpers/FrmFieldsHelper.php:1270
3284
  #@ formidable
3285
  msgid "Netherlands"
3286
  msgstr ""
3287
 
3288
- #: classes/helpers/FrmFieldsHelper.php:1270
3289
  #@ formidable
3290
  msgid "New Zealand"
3291
  msgstr ""
3292
 
3293
- #: classes/helpers/FrmFieldsHelper.php:1271
3294
  #@ formidable
3295
  msgid "Nicaragua"
3296
  msgstr ""
3297
 
3298
- #: classes/helpers/FrmFieldsHelper.php:1271
3299
  #@ formidable
3300
  msgid "Niger"
3301
  msgstr ""
3302
 
3303
- #: classes/helpers/FrmFieldsHelper.php:1271
3304
  #@ formidable
3305
  msgid "Nigeria"
3306
  msgstr ""
3307
 
3308
- #: classes/helpers/FrmFieldsHelper.php:1272
3309
  #@ formidable
3310
  msgid "Norway"
3311
  msgstr ""
3312
 
3313
- #: classes/helpers/FrmFieldsHelper.php:1272
3314
  #@ formidable
3315
  msgid "Northern Mariana Islands"
3316
  msgstr ""
3317
 
3318
- #: classes/helpers/FrmFieldsHelper.php:1272
3319
  #@ formidable
3320
  msgid "Oman"
3321
  msgstr ""
3322
 
3323
- #: classes/helpers/FrmFieldsHelper.php:1273
3324
  #@ formidable
3325
  msgid "Pakistan"
3326
  msgstr ""
3327
 
3328
- #: classes/helpers/FrmFieldsHelper.php:1273
3329
  #@ formidable
3330
  msgid "Palau"
3331
  msgstr ""
3332
 
3333
- #: classes/helpers/FrmFieldsHelper.php:1273
3334
  #@ formidable
3335
  msgid "Palestine"
3336
  msgstr ""
3337
 
3338
- #: classes/helpers/FrmFieldsHelper.php:1274
3339
  #@ formidable
3340
  msgid "Panama"
3341
  msgstr ""
3342
 
3343
- #: classes/helpers/FrmFieldsHelper.php:1274
3344
  #@ formidable
3345
  msgid "Papua New Guinea"
3346
  msgstr ""
3347
 
3348
- #: classes/helpers/FrmFieldsHelper.php:1274
3349
  #@ formidable
3350
  msgid "Paraguay"
3351
  msgstr ""
3352
 
3353
- #: classes/helpers/FrmFieldsHelper.php:1275
3354
  #@ formidable
3355
  msgid "Peru"
3356
  msgstr ""
3357
 
3358
- #: classes/helpers/FrmFieldsHelper.php:1275
3359
  #@ formidable
3360
  msgid "Philippines"
3361
  msgstr ""
3362
 
3363
- #: classes/helpers/FrmFieldsHelper.php:1275
3364
  #@ formidable
3365
  msgid "Poland"
3366
  msgstr ""
3367
 
3368
- #: classes/helpers/FrmFieldsHelper.php:1276
3369
  #@ formidable
3370
  msgid "Portugal"
3371
  msgstr ""
3372
 
3373
- #: classes/helpers/FrmFieldsHelper.php:1276
3374
  #@ formidable
3375
  msgid "Puerto Rico"
3376
  msgstr ""
3377
 
3378
- #: classes/helpers/FrmFieldsHelper.php:1276
3379
  #@ formidable
3380
  msgid "Qatar"
3381
  msgstr ""
3382
 
3383
- #: classes/helpers/FrmFieldsHelper.php:1277
3384
  #@ formidable
3385
  msgid "Romania"
3386
  msgstr ""
3387
 
3388
- #: classes/helpers/FrmFieldsHelper.php:1277
3389
  #@ formidable
3390
  msgid "Russia"
3391
  msgstr ""
3392
 
3393
- #: classes/helpers/FrmFieldsHelper.php:1277
3394
  #@ formidable
3395
  msgid "Rwanda"
3396
  msgstr ""
3397
 
3398
- #: classes/helpers/FrmFieldsHelper.php:1278
3399
  #@ formidable
3400
  msgid "Saint Kitts and Nevis"
3401
  msgstr ""
3402
 
3403
- #: classes/helpers/FrmFieldsHelper.php:1278
3404
  #@ formidable
3405
  msgid "Saint Lucia"
3406
  msgstr ""
3407
 
3408
- #: classes/helpers/FrmFieldsHelper.php:1279
3409
  #@ formidable
3410
  msgid "Saint Vincent and the Grenadines"
3411
  msgstr ""
3412
 
3413
- #: classes/helpers/FrmFieldsHelper.php:1279
3414
  #@ formidable
3415
  msgid "Samoa"
3416
  msgstr ""
3417
 
3418
- #: classes/helpers/FrmFieldsHelper.php:1280
3419
  #@ formidable
3420
  msgid "San Marino"
3421
  msgstr ""
3422
 
3423
- #: classes/helpers/FrmFieldsHelper.php:1280
3424
  #@ formidable
3425
  msgid "Sao Tome and Principe"
3426
  msgstr ""
3427
 
3428
- #: classes/helpers/FrmFieldsHelper.php:1280
3429
  #@ formidable
3430
  msgid "Saudi Arabia"
3431
  msgstr ""
3432
 
3433
- #: classes/helpers/FrmFieldsHelper.php:1281
3434
  #@ formidable
3435
  msgid "Senegal"
3436
  msgstr ""
3437
 
3438
- #: classes/helpers/FrmFieldsHelper.php:1281
3439
  #@ formidable
3440
  msgid "Serbia and Montenegro"
3441
  msgstr ""
3442
 
3443
- #: classes/helpers/FrmFieldsHelper.php:1281
3444
  #@ formidable
3445
  msgid "Seychelles"
3446
  msgstr ""
3447
 
3448
- #: classes/helpers/FrmFieldsHelper.php:1282
3449
  #@ formidable
3450
  msgid "Sierra Leone"
3451
  msgstr ""
3452
 
3453
- #: classes/helpers/FrmFieldsHelper.php:1282
3454
  #@ formidable
3455
  msgid "Singapore"
3456
  msgstr ""
3457
 
3458
- #: classes/helpers/FrmFieldsHelper.php:1282
3459
  #@ formidable
3460
  msgid "Slovakia"
3461
  msgstr ""
3462
 
3463
- #: classes/helpers/FrmFieldsHelper.php:1283
3464
  #@ formidable
3465
  msgid "Slovenia"
3466
  msgstr ""
3467
 
3468
- #: classes/helpers/FrmFieldsHelper.php:1283
3469
  #@ formidable
3470
  msgid "Solomon Islands"
3471
  msgstr ""
3472
 
3473
- #: classes/helpers/FrmFieldsHelper.php:1283
3474
  #@ formidable
3475
  msgid "Somalia"
3476
  msgstr ""
3477
 
3478
- #: classes/helpers/FrmFieldsHelper.php:1284
3479
  #@ formidable
3480
  msgid "South Africa"
3481
  msgstr ""
3482
 
3483
- #: classes/helpers/FrmFieldsHelper.php:1285
3484
  #@ formidable
3485
  msgid "Spain"
3486
  msgstr ""
3487
 
3488
- #: classes/helpers/FrmFieldsHelper.php:1285
3489
  #@ formidable
3490
  msgid "Sri Lanka"
3491
  msgstr ""
3492
 
3493
- #: classes/helpers/FrmFieldsHelper.php:1286
3494
  #@ formidable
3495
  msgid "Sudan"
3496
  msgstr ""
3497
 
3498
- #: classes/helpers/FrmFieldsHelper.php:1286
3499
  #@ formidable
3500
  msgid "Suriname"
3501
  msgstr ""
3502
 
3503
- #: classes/helpers/FrmFieldsHelper.php:1286
3504
  #@ formidable
3505
  msgid "Swaziland"
3506
  msgstr ""
3507
 
3508
- #: classes/helpers/FrmFieldsHelper.php:1287
3509
  #@ formidable
3510
  msgid "Sweden"
3511
  msgstr ""
3512
 
3513
- #: classes/helpers/FrmFieldsHelper.php:1287
3514
  #@ formidable
3515
  msgid "Switzerland"
3516
  msgstr ""
3517
 
3518
- #: classes/helpers/FrmFieldsHelper.php:1287
3519
  #@ formidable
3520
  msgid "Syria"
3521
  msgstr ""
3522
 
3523
- #: classes/helpers/FrmFieldsHelper.php:1288
3524
  #@ formidable
3525
  msgid "Taiwan"
3526
  msgstr ""
3527
 
3528
- #: classes/helpers/FrmFieldsHelper.php:1288
3529
  #@ formidable
3530
  msgid "Tajikistan"
3531
  msgstr ""
3532
 
3533
- #: classes/helpers/FrmFieldsHelper.php:1288
3534
  #@ formidable
3535
  msgid "Tanzania"
3536
  msgstr ""
3537
 
3538
- #: classes/helpers/FrmFieldsHelper.php:1289
3539
  #@ formidable
3540
  msgid "Thailand"
3541
  msgstr ""
3542
 
3543
- #: classes/helpers/FrmFieldsHelper.php:1289
3544
  #@ formidable
3545
  msgid "Togo"
3546
  msgstr ""
3547
 
3548
- #: classes/helpers/FrmFieldsHelper.php:1289
3549
  #@ formidable
3550
  msgid "Tonga"
3551
  msgstr ""
3552
 
3553
- #: classes/helpers/FrmFieldsHelper.php:1290
3554
  #@ formidable
3555
  msgid "Trinidad and Tobago"
3556
  msgstr ""
3557
 
3558
- #: classes/helpers/FrmFieldsHelper.php:1290
3559
  #@ formidable
3560
  msgid "Tunisia"
3561
  msgstr ""
3562
 
3563
- #: classes/helpers/FrmFieldsHelper.php:1290
3564
  #@ formidable
3565
  msgid "Turkey"
3566
  msgstr ""
3567
 
3568
- #: classes/helpers/FrmFieldsHelper.php:1291
3569
  #@ formidable
3570
  msgid "Turkmenistan"
3571
  msgstr ""
3572
 
3573
- #: classes/helpers/FrmFieldsHelper.php:1291
3574
  #@ formidable
3575
  msgid "Tuvalu"
3576
  msgstr ""
3577
 
3578
- #: classes/helpers/FrmFieldsHelper.php:1291
3579
  #@ formidable
3580
  msgid "Uganda"
3581
  msgstr ""
3582
 
3583
- #: classes/helpers/FrmFieldsHelper.php:1292
3584
  #@ formidable
3585
  msgid "Ukraine"
3586
  msgstr ""
3587
 
3588
- #: classes/helpers/FrmFieldsHelper.php:1292
3589
  #@ formidable
3590
  msgid "United Arab Emirates"
3591
  msgstr ""
3592
 
3593
- #: classes/helpers/FrmFieldsHelper.php:1292
3594
  #@ formidable
3595
  msgid "United Kingdom"
3596
  msgstr ""
3597
 
3598
- #: classes/helpers/FrmFieldsHelper.php:1293
3599
  #@ formidable
3600
  msgid "United States"
3601
  msgstr ""
3602
 
3603
- #: classes/helpers/FrmFieldsHelper.php:1293
3604
  #@ formidable
3605
  msgid "Uruguay"
3606
  msgstr ""
3607
 
3608
- #: classes/helpers/FrmFieldsHelper.php:1293
3609
  #@ formidable
3610
  msgid "Uzbekistan"
3611
  msgstr ""
3612
 
3613
- #: classes/helpers/FrmFieldsHelper.php:1294
3614
  #@ formidable
3615
  msgid "Vanuatu"
3616
  msgstr ""
3617
 
3618
- #: classes/helpers/FrmFieldsHelper.php:1294
3619
  #@ formidable
3620
  msgid "Vatican City"
3621
  msgstr ""
3622
 
3623
- #: classes/helpers/FrmFieldsHelper.php:1294
3624
  #@ formidable
3625
  msgid "Venezuela"
3626
  msgstr ""
3627
 
3628
- #: classes/helpers/FrmFieldsHelper.php:1295
3629
  #@ formidable
3630
  msgid "Vietnam"
3631
  msgstr ""
3632
 
3633
- #: classes/helpers/FrmFieldsHelper.php:1295
3634
  #@ formidable
3635
  msgid "Virgin Islands, British"
3636
  msgstr ""
3637
 
3638
- #: classes/helpers/FrmFieldsHelper.php:1296
3639
  #@ formidable
3640
  msgid "Virgin Islands, U.S."
3641
  msgstr ""
3642
 
3643
- #: classes/helpers/FrmFieldsHelper.php:1296
3644
  #@ formidable
3645
  msgid "Yemen"
3646
  msgstr ""
3647
 
3648
- #: classes/helpers/FrmFieldsHelper.php:1296
3649
  #@ formidable
3650
  msgid "Zambia"
3651
  msgstr ""
3652
 
3653
- #: classes/helpers/FrmFieldsHelper.php:1297
3654
  #@ formidable
3655
  msgid "Zimbabwe"
3656
  msgstr ""
@@ -3774,7 +3774,7 @@ msgstr ""
3774
  msgid "There was a problem with your submission. Please try again."
3775
  msgstr ""
3776
 
3777
- #: pro/classes/controllers/FrmProEddController.php:119
3778
  #@ formidable
3779
  msgid "Your Pro installation is now active. Enjoy!"
3780
  msgstr ""
@@ -3940,7 +3940,7 @@ msgstr ""
3940
  msgid "Template was Successfully Updated"
3941
  msgstr ""
3942
 
3943
- #: classes/helpers/FrmXMLHelper.php:766
3944
  #@ formidable
3945
  msgid "Create Posts"
3946
  msgstr ""
@@ -4177,7 +4177,7 @@ msgstr ""
4177
  msgid "Are you sure you want to delete that?"
4178
  msgstr ""
4179
 
4180
- #: pro/classes/controllers/FrmProEddController.php:145
4181
  #@ formidable
4182
  msgid "Account"
4183
  msgstr ""
@@ -4282,7 +4282,7 @@ msgstr ""
4282
  msgid "There was an error deleting that entry"
4283
  msgstr ""
4284
 
4285
- #: pro/classes/controllers/FrmProEddController.php:140
4286
  #@ formidable
4287
  msgid "Deauthorize this site"
4288
  msgstr ""
@@ -4801,7 +4801,7 @@ msgstr ""
4801
  msgid "There are no options"
4802
  msgstr ""
4803
 
4804
- #: classes/helpers/FrmStylesHelper.php:79
4805
  #@ formidable
4806
  msgid "Custom CSS"
4807
  msgstr ""
@@ -4870,7 +4870,7 @@ msgstr ""
4870
  msgid "Delete Field"
4871
  msgstr ""
4872
 
4873
- #: classes/controllers/FrmStylesController.php:494
4874
  #: classes/views/frm-forms/mb_insert_fields.php:2
4875
  #@ formidable
4876
  msgid "Click to toggle"
@@ -4906,34 +4906,34 @@ msgstr ""
4906
  msgid "Logged-out Users"
4907
  msgstr ""
4908
 
4909
- #: pro/classes/controllers/FrmProEddController.php:28
4910
  #: pro/classes/controllers/FrmUpdatesController.php:28
4911
  #@ formidable
4912
  msgid "Your Formidable Pro License was Invalid"
4913
  msgstr ""
4914
 
4915
  #: classes/views/frm-settings/license_box.php:8
4916
- #: pro/classes/controllers/FrmProEddController.php:132
4917
  #@ formidable
4918
  msgid "Click here"
4919
  msgstr ""
4920
 
4921
- #: pro/classes/controllers/FrmProEddController.php:138
4922
  #@ formidable
4923
  msgid "Formidable Pro is Installed"
4924
  msgstr ""
4925
 
4926
- #: pro/classes/controllers/FrmProEddController.php:139
4927
  #@ formidable
4928
  msgid "Enter new license"
4929
  msgstr ""
4930
 
4931
- #: pro/classes/controllers/FrmProEddController.php:168
4932
  #@ formidable
4933
  msgid "Use this license to enable Formidable Pro site-wide"
4934
  msgstr ""
4935
 
4936
- #: pro/classes/controllers/FrmProEddController.php:171
4937
  #@ formidable
4938
  msgid "Save License"
4939
  msgstr ""
@@ -4960,8 +4960,8 @@ msgstr ""
4960
  msgid "An update is available, but your license is %s."
4961
  msgstr ""
4962
 
4963
- #: classes/models/FrmAddon.php:163
4964
- #: pro/classes/controllers/FrmProEddController.php:407
4965
  #: pro/classes/controllers/FrmUpdatesController.php:356
4966
  #@ formidable
4967
  msgid "Your License Key was invalid"
@@ -5200,14 +5200,14 @@ msgstr ""
5200
  msgid "Add dynamic default values as default text to fields in your form"
5201
  msgstr ""
5202
 
5203
- #: pro/classes/controllers/FrmProEddController.php:409
5204
  #: pro/classes/controllers/FrmUpdatesController.php:337
5205
  #, php-format
5206
  #@ formidable
5207
  msgid "You had an error communicating with Strategy11's API. %1$sClick here%2$s for more information."
5208
  msgstr ""
5209
 
5210
- #: pro/classes/controllers/FrmProEddController.php:415
5211
  #: pro/classes/controllers/FrmUpdatesController.php:342
5212
  #@ formidable
5213
  msgid "You had an HTTP error connecting to Strategy11's API"
@@ -5307,25 +5307,25 @@ msgid "Update Button Text"
5307
  msgstr ""
5308
 
5309
  #: classes/helpers/FrmAppHelper.php:1736
5310
- #: classes/helpers/FrmFieldsHelper.php:1160
5311
  #@ formidable
5312
  msgid "Default value will NOT pass form validation"
5313
  msgstr ""
5314
 
5315
  #: classes/helpers/FrmAppHelper.php:1735
5316
- #: classes/helpers/FrmFieldsHelper.php:1160
5317
  #@ formidable
5318
  msgid "Default value will pass form validation"
5319
  msgstr ""
5320
 
5321
  #: classes/helpers/FrmAppHelper.php:1733
5322
- #: classes/helpers/FrmFieldsHelper.php:1151
5323
  #@ formidable
5324
  msgid "Clear default value when typing"
5325
  msgstr ""
5326
 
5327
  #: classes/helpers/FrmAppHelper.php:1734
5328
- #: classes/helpers/FrmFieldsHelper.php:1151
5329
  #@ formidable
5330
  msgid "Do not clear default value when typing"
5331
  msgstr ""
@@ -5341,8 +5341,8 @@ msgstr ""
5341
  msgid "Views"
5342
  msgstr ""
5343
 
5344
- #: classes/models/FrmAddon.php:159
5345
- #: pro/classes/controllers/FrmProEddController.php:425
5346
  #: pro/classes/controllers/FrmUpdatesController.php:352
5347
  #, php-format
5348
  #@ formidable
@@ -5512,7 +5512,7 @@ msgstr ""
5512
  msgid "Are you sure?"
5513
  msgstr ""
5514
 
5515
- #: pro/classes/controllers/FrmProEddController.php:163
5516
  #@ formidable
5517
  msgid "Enter your license number here"
5518
  msgstr ""
@@ -5684,17 +5684,17 @@ msgstr ""
5684
  msgid "Edit Forms"
5685
  msgstr ""
5686
 
5687
- #: classes/helpers/FrmXMLHelper.php:668
5688
  #@ formidable
5689
  msgid "Imported"
5690
  msgstr ""
5691
 
5692
- #: classes/helpers/FrmXMLHelper.php:669
5693
  #@ formidable
5694
  msgid "Updated"
5695
  msgstr ""
5696
 
5697
- #: classes/helpers/FrmXMLHelper.php:706
5698
  #, php-format
5699
  #@ formidable
5700
  msgid "%1$s Form"
@@ -5702,7 +5702,7 @@ msgid_plural "%1$s Forms"
5702
  msgstr[0] ""
5703
  msgstr[1] ""
5704
 
5705
- #: classes/helpers/FrmXMLHelper.php:707
5706
  #, php-format
5707
  #@ formidable
5708
  msgid "%1$s Field"
@@ -5710,7 +5710,7 @@ msgid_plural "%1$s Fields"
5710
  msgstr[0] ""
5711
  msgstr[1] ""
5712
 
5713
- #: classes/helpers/FrmXMLHelper.php:708
5714
  #, php-format
5715
  #@ formidable
5716
  msgid "%1$s Entry"
@@ -5718,7 +5718,7 @@ msgid_plural "%1$s Entries"
5718
  msgstr[0] ""
5719
  msgstr[1] ""
5720
 
5721
- #: classes/helpers/FrmXMLHelper.php:709
5722
  #, php-format
5723
  #@ formidable
5724
  msgid "%1$s View"
@@ -5726,7 +5726,7 @@ msgid_plural "%1$s Views"
5726
  msgstr[0] ""
5727
  msgstr[1] ""
5728
 
5729
- #: classes/helpers/FrmXMLHelper.php:710
5730
  #, php-format
5731
  #@ formidable
5732
  msgid "%1$s Post"
@@ -5734,7 +5734,7 @@ msgid_plural "%1$s Posts"
5734
  msgstr[0] ""
5735
  msgstr[1] ""
5736
 
5737
- #: classes/helpers/FrmXMLHelper.php:712
5738
  #, php-format
5739
  #@ formidable
5740
  msgid "%1$s Term"
@@ -5742,7 +5742,7 @@ msgid_plural "%1$s Terms"
5742
  msgstr[0] ""
5743
  msgstr[1] ""
5744
 
5745
- #: classes/helpers/FrmXMLHelper.php:694
5746
  #@ formidable
5747
  msgid "Nothing was imported or updated"
5748
  msgstr ""
@@ -5919,7 +5919,7 @@ msgstr ""
5919
  #: pro/classes/views/frmpro-form-actions/post_options.php:69
5920
  #: pro/classes/views/frmpro-form-actions/post_options.php:77
5921
  #: pro/classes/views/frmpro-forms/_logic_row.php:3
5922
- #: pro/classes/views/styles/_style_switcher.php:12
5923
  #@ default
5924
  #@ formidable
5925
  msgid "&mdash; Select &mdash;"
@@ -6072,13 +6072,13 @@ msgstr ""
6072
  msgid "You are running an outdated version of Formidable. This plugin may not work correctly if you do not update Formidable."
6073
  msgstr ""
6074
 
6075
- #: classes/helpers/FrmFieldsHelper.php:582
6076
  #, php-format
6077
  #@ formidable
6078
  msgid "Please add options from the WordPress \"%1$s\" page"
6079
  msgstr ""
6080
 
6081
- #: classes/helpers/FrmFieldsHelper.php:583
6082
  #@ default
6083
  msgid "Categories"
6084
  msgstr ""
@@ -6258,48 +6258,48 @@ msgstr ""
6258
  msgid "create multiple styling templates"
6259
  msgstr ""
6260
 
6261
- #: classes/controllers/FrmStylesController.php:168
6262
- #: classes/controllers/FrmStylesController.php:252
6263
  #@ formidable
6264
  msgid "Your styling settings have been saved."
6265
  msgstr ""
6266
 
6267
- #: classes/controllers/FrmStylesController.php:227
6268
  #@ formidable
6269
  msgid "Your form styles have been saved."
6270
  msgstr ""
6271
 
6272
- #: classes/controllers/FrmStylesController.php:317
6273
  #@ formidable
6274
  msgid "Field Labels"
6275
  msgstr ""
6276
 
6277
- #: classes/controllers/FrmStylesController.php:321
6278
  #@ formidable
6279
  msgid "Check Box & Radio Fields"
6280
  msgstr ""
6281
 
6282
- #: classes/controllers/FrmStylesController.php:322
6283
  #@ formidable
6284
  msgid "Section Fields"
6285
  msgstr ""
6286
 
6287
- #: classes/controllers/FrmStylesController.php:323
6288
  #@ formidable
6289
  msgid "Date Fields"
6290
  msgstr ""
6291
 
6292
- #: classes/controllers/FrmStylesController.php:324
6293
  #@ formidable
6294
  msgid "Buttons"
6295
  msgstr ""
6296
 
6297
- #: classes/controllers/FrmStylesController.php:325
6298
  #@ formidable
6299
  msgid "Form Messages"
6300
  msgstr ""
6301
 
6302
- #: classes/helpers/FrmFieldsHelper.php:1284
6303
  #@ formidable
6304
  msgid "South Sudan"
6305
  msgstr ""
@@ -6458,17 +6458,17 @@ msgstr ""
6458
  msgid "Custom"
6459
  msgstr ""
6460
 
6461
- #: classes/helpers/FrmStylesHelper.php:77
6462
  #@ formidable
6463
  msgid "Edit Styles"
6464
  msgstr ""
6465
 
6466
- #: classes/helpers/FrmStylesHelper.php:78
6467
  #@ formidable
6468
  msgid "Manage Form Styles"
6469
  msgstr ""
6470
 
6471
- #: classes/helpers/FrmXMLHelper.php:875
6472
  #: classes/views/frm-form-actions/email_action.php:16
6473
  #@ formidable
6474
  msgid "Email Notification"
@@ -6743,7 +6743,7 @@ msgstr ""
6743
 
6744
  #: classes/views/frm-forms/settings.php:142
6745
  #: classes/views/styles/manage.php:36
6746
- #: pro/classes/views/styles/_style_switcher.php:14
6747
  #@ formidable
6748
  msgid "default"
6749
  msgstr ""
@@ -6928,28 +6928,16 @@ msgstr ""
6928
  msgid "Styling disabled"
6929
  msgstr ""
6930
 
6931
- #: pro/classes/views/styles/_style_switcher.php:5
6932
- #, php-format
6933
- #@ formidable
6934
- msgid "Edit your style below, or %1$screate a new style%2$s."
6935
- msgstr ""
6936
-
6937
- #: pro/classes/views/styles/_style_switcher.php:10
6938
  #@ formidable
6939
  msgid "Select a style to edit:"
6940
  msgstr ""
6941
 
6942
- #: pro/classes/views/styles/_style_switcher.php:18
6943
  #@ formidable
6944
  msgid "Select"
6945
  msgstr ""
6946
 
6947
- #: pro/classes/views/styles/_style_switcher.php:21
6948
- #, php-format
6949
- #@ formidable
6950
- msgid "or %1$screate a new style%2$s."
6951
- msgstr ""
6952
-
6953
  #: classes/views/styles/show.php:33
6954
  #@ formidable
6955
  msgid "Style Name"
@@ -7244,7 +7232,7 @@ msgstr ""
7244
  msgid "No Data"
7245
  msgstr ""
7246
 
7247
- #: pro/classes/controllers/FrmProStylesController.php:42
7248
  #@ formidable
7249
  msgid "Your styling settings have been deleted."
7250
  msgstr ""
@@ -7637,7 +7625,7 @@ msgstr ""
7637
  msgid "Empty Trash"
7638
  msgstr ""
7639
 
7640
- #: classes/helpers/FrmXMLHelper.php:711
7641
  #, php-format
7642
  #@ formidable
7643
  msgid "%1$s Style"
@@ -7645,7 +7633,7 @@ msgid_plural "%1$s Styles"
7645
  msgstr[0] ""
7646
  msgstr[1] ""
7647
 
7648
- #: classes/helpers/FrmXMLHelper.php:713
7649
  #, php-format
7650
  #@ formidable
7651
  msgid "%1$s Form Action"
@@ -8157,48 +8145,48 @@ msgstr ""
8157
  msgid "There is a new version of %1$s available. %2$sView version %3$s details%4$s or %5$supdate now%6$s."
8158
  msgstr ""
8159
 
8160
- #: classes/models/EDD_SL_Plugin_Updater.php:332
8161
  #@ edd
8162
  msgid "You do not have permission to install plugin updates"
8163
  msgstr ""
8164
 
8165
- #: classes/models/FrmAddon.php:66
8166
- #: pro/classes/controllers/FrmProEddController.php:210
8167
  #@ formidable
8168
  msgid "Oops! You forgot to enter your license number."
8169
  msgstr ""
8170
 
8171
- #: classes/models/FrmAddon.php:82
8172
- #: pro/classes/controllers/FrmProEddController.php:224
8173
  #@ formidable
8174
  msgid "Enjoy!"
8175
  msgstr ""
8176
 
8177
- #: classes/models/FrmAddon.php:84
8178
- #: pro/classes/controllers/FrmProEddController.php:219
8179
  #@ formidable
8180
  msgid "That license is invalid"
8181
  msgstr ""
8182
 
8183
- #: classes/models/FrmAddon.php:109
8184
- #: pro/classes/controllers/FrmProEddController.php:256
8185
  #@ helpdesk
8186
  msgid "That license was removed successfully"
8187
  msgstr ""
8188
 
8189
- #: classes/models/FrmAddon.php:111
8190
- #: pro/classes/controllers/FrmProEddController.php:258
8191
  #@ formidable
8192
  msgid "There was an error deactivating your license."
8193
  msgstr ""
8194
 
8195
- #: classes/models/FrmAddon.php:143
8196
  #, php-format
8197
  #@ formidable
8198
  msgid "You had an error communicating with Formidable Pro's API. %1$sClick here%2$s for more information."
8199
  msgstr ""
8200
 
8201
- #: classes/models/FrmAddon.php:149
8202
  #@ formidable
8203
  msgid "You had an HTTP error connecting to Formidable Pro's API"
8204
  msgstr ""
@@ -8304,13 +8292,47 @@ msgstr ""
8304
  msgid "Compact"
8305
  msgstr ""
8306
 
8307
- #: pro/classes/controllers/FrmProEddController.php:229
8308
  #@ formidable
8309
  msgid "That license is expired"
8310
  msgstr ""
8311
 
8312
- #: pro/classes/controllers/FrmProEddController.php:433
8313
  #@ formidable
8314
  msgid "Your license is invalid or expired."
8315
  msgstr ""
8316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Formidable v2.0.16\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2010-12-20\n"
6
+ "PO-Revision-Date: 2015-11-12 19:22:02+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
255
  msgid "You do not have permission to do that"
256
  msgstr ""
257
 
258
+ #: pro/classes/controllers/FrmProEddController.php:130
259
  #@ formidable
260
  msgid "ERROR"
261
  msgstr ""
385
  msgid "Update"
386
  msgstr ""
387
 
388
+ #: pro/classes/controllers/FrmProEddController.php:181
389
  #@ formidable
390
  msgid "or"
391
  msgstr ""
392
 
393
  #: classes/helpers/FrmAppHelper.php:1731
394
  #: classes/views/frm-forms/_publish_box.php:75
395
+ #: pro/classes/controllers/FrmProEddController.php:183
396
  #: pro/classes/controllers/FrmProEntriesController.php:2029
397
  #: pro/classes/views/frmpro-entries/sidebar-new.php:14
398
  #: pro/classes/views/frmpro-form-actions/_custom_field_row.php:31
442
  msgid "Field Name"
443
  msgstr ""
444
 
445
+ #: classes/controllers/FrmStylesController.php:323
446
  #: classes/views/frm-forms/mb_html_tab.php:9
447
  #@ formidable
448
  msgid "Field Description"
1694
  msgid "Export"
1695
  msgstr ""
1696
 
1697
+ #: classes/controllers/FrmStylesController.php:321
1698
  #: classes/views/frm-forms/settings.php:32
1699
  #: classes/views/frm-settings/form.php:18
1700
  #@ formidable
1793
  msgid "Formidable uses CSS3 border-radius for corner rounding, which is not currently supported by Internet Explorer."
1794
  msgstr ""
1795
 
1796
+ #: classes/controllers/FrmStylesController.php:325
1797
  #@ formidable
1798
  msgid "Field Settings"
1799
  msgstr ""
1800
 
1801
+ #: classes/controllers/FrmStylesController.php:324
1802
  #@ formidable
1803
  msgid "Field Colors"
1804
  msgstr ""
1871
  msgid "Margin"
1872
  msgstr ""
1873
 
1874
+ #: classes/models/EDD_SL_Plugin_Updater.php:341
1875
  #: classes/views/styles/_field-colors.php:10
1876
  #: classes/views/styles/_form-messages.php:7
1877
  #@ edd
2450
  msgid "Bottom Margin"
2451
  msgstr ""
2452
 
2453
+ #: classes/helpers/FrmFieldsHelper.php:1307
2454
  #@ formidable
2455
  msgid "Countries"
2456
  msgstr ""
2457
 
2458
+ #: classes/helpers/FrmFieldsHelper.php:1316
2459
  #@ formidable
2460
  msgid "U.S. States"
2461
  msgstr ""
2462
 
2463
+ #: classes/helpers/FrmFieldsHelper.php:1312
2464
  #@ formidable
2465
  msgid "U.S. State Abbreviations"
2466
  msgstr ""
2467
 
2468
+ #: classes/helpers/FrmFieldsHelper.php:1319
2469
  #@ formidable
2470
  msgid "Age"
2471
  msgstr ""
2472
 
2473
+ #: classes/helpers/FrmFieldsHelper.php:1320
2474
  #@ formidable
2475
  msgid "Under 18"
2476
  msgstr ""
2477
 
2478
+ #: classes/helpers/FrmFieldsHelper.php:1320
2479
  #@ formidable
2480
  msgid "18-24"
2481
  msgstr ""
2482
 
2483
+ #: classes/helpers/FrmFieldsHelper.php:1320
2484
  #@ formidable
2485
  msgid "25-34"
2486
  msgstr ""
2487
 
2488
+ #: classes/helpers/FrmFieldsHelper.php:1321
2489
  #@ formidable
2490
  msgid "35-44"
2491
  msgstr ""
2492
 
2493
+ #: classes/helpers/FrmFieldsHelper.php:1321
2494
  #@ formidable
2495
  msgid "45-54"
2496
  msgstr ""
2497
 
2498
+ #: classes/helpers/FrmFieldsHelper.php:1321
2499
  #@ formidable
2500
  msgid "55-64"
2501
  msgstr ""
2502
 
2503
+ #: classes/helpers/FrmFieldsHelper.php:1322
2504
  #@ formidable
2505
  msgid "65 or Above"
2506
  msgstr ""
2507
 
2508
+ #: classes/helpers/FrmFieldsHelper.php:1322
2509
  #@ formidable
2510
  msgid "Prefer Not to Answer"
2511
  msgstr ""
2512
 
2513
+ #: classes/helpers/FrmFieldsHelper.php:1325
2514
  #@ formidable
2515
  msgid "Satisfaction"
2516
  msgstr ""
2517
 
2518
+ #: classes/helpers/FrmFieldsHelper.php:1326
2519
  #@ formidable
2520
  msgid "Very Satisfied"
2521
  msgstr ""
2522
 
2523
+ #: classes/helpers/FrmFieldsHelper.php:1326
2524
  #@ formidable
2525
  msgid "Satisfied"
2526
  msgstr ""
2527
 
 
2528
  #: classes/helpers/FrmFieldsHelper.php:1326
2529
  #: classes/helpers/FrmFieldsHelper.php:1331
2530
+ #: classes/helpers/FrmFieldsHelper.php:1336
2531
  #@ formidable
2532
  msgid "Neutral"
2533
  msgstr ""
2534
 
2535
+ #: classes/helpers/FrmFieldsHelper.php:1327
2536
  #@ formidable
2537
  msgid "Unsatisfied"
2538
  msgstr ""
2539
 
2540
+ #: classes/helpers/FrmFieldsHelper.php:1327
2541
  #@ formidable
2542
  msgid "Very Unsatisfied"
2543
  msgstr ""
2544
 
 
2545
  #: classes/helpers/FrmFieldsHelper.php:1327
2546
  #: classes/helpers/FrmFieldsHelper.php:1332
2547
+ #: classes/helpers/FrmFieldsHelper.php:1337
2548
  #: pro/classes/controllers/FrmProDisplaysController.php:194
2549
  #@ formidable
2550
  msgid "N/A"
2551
  msgstr ""
2552
 
2553
+ #: classes/helpers/FrmFieldsHelper.php:1330
2554
  #@ formidable
2555
  msgid "Importance"
2556
  msgstr ""
2557
 
2558
+ #: classes/helpers/FrmFieldsHelper.php:1331
2559
  #@ formidable
2560
  msgid "Very Important"
2561
  msgstr ""
2562
 
2563
+ #: classes/helpers/FrmFieldsHelper.php:1331
2564
  #@ formidable
2565
  msgid "Important"
2566
  msgstr ""
2567
 
2568
+ #: classes/helpers/FrmFieldsHelper.php:1332
2569
  #@ formidable
2570
  msgid "Somewhat Important"
2571
  msgstr ""
2572
 
2573
+ #: classes/helpers/FrmFieldsHelper.php:1332
2574
  #@ formidable
2575
  msgid "Not at all Important"
2576
  msgstr ""
2577
 
2578
+ #: classes/helpers/FrmFieldsHelper.php:1335
2579
  #@ formidable
2580
  msgid "Agreement"
2581
  msgstr ""
2582
 
2583
+ #: classes/helpers/FrmFieldsHelper.php:1336
2584
  #@ formidable
2585
  msgid "Strongly Agree"
2586
  msgstr ""
2587
 
2588
+ #: classes/helpers/FrmFieldsHelper.php:1336
2589
  #@ formidable
2590
  msgid "Agree"
2591
  msgstr ""
2592
 
2593
+ #: classes/helpers/FrmFieldsHelper.php:1337
2594
  #@ formidable
2595
  msgid "Disagree"
2596
  msgstr ""
2597
 
2598
+ #: classes/helpers/FrmFieldsHelper.php:1337
2599
  #@ formidable
2600
  msgid "Strongly Disagree"
2601
  msgstr ""
2602
 
2603
+ #: classes/helpers/FrmFieldsHelper.php:1230
2604
  #@ formidable
2605
  msgid "Afghanistan"
2606
  msgstr ""
2607
 
2608
+ #: classes/helpers/FrmFieldsHelper.php:1230
2609
  #@ formidable
2610
  msgid "Albania"
2611
  msgstr ""
2612
 
2613
+ #: classes/helpers/FrmFieldsHelper.php:1230
2614
  #@ formidable
2615
  msgid "Algeria"
2616
  msgstr ""
2617
 
2618
+ #: classes/helpers/FrmFieldsHelper.php:1231
2619
  #@ formidable
2620
  msgid "American Samoa"
2621
  msgstr ""
2622
 
2623
+ #: classes/helpers/FrmFieldsHelper.php:1231
2624
  #@ formidable
2625
  msgid "Andorra"
2626
  msgstr ""
2627
 
2628
+ #: classes/helpers/FrmFieldsHelper.php:1231
2629
  #@ formidable
2630
  msgid "Angola"
2631
  msgstr ""
2632
 
2633
+ #: classes/helpers/FrmFieldsHelper.php:1232
2634
  #@ formidable
2635
  msgid "Anguilla"
2636
  msgstr ""
2637
 
2638
+ #: classes/helpers/FrmFieldsHelper.php:1232
2639
  #@ formidable
2640
  msgid "Antarctica"
2641
  msgstr ""
2642
 
2643
+ #: classes/helpers/FrmFieldsHelper.php:1232
2644
  #@ formidable
2645
  msgid "Antigua and Barbuda"
2646
  msgstr ""
2647
 
2648
+ #: classes/helpers/FrmFieldsHelper.php:1233
2649
  #@ formidable
2650
  msgid "Argentina"
2651
  msgstr ""
2652
 
2653
+ #: classes/helpers/FrmFieldsHelper.php:1233
2654
  #@ formidable
2655
  msgid "Armenia"
2656
  msgstr ""
2657
 
2658
+ #: classes/helpers/FrmFieldsHelper.php:1233
2659
  #@ formidable
2660
  msgid "Aruba"
2661
  msgstr ""
2662
 
2663
+ #: classes/helpers/FrmFieldsHelper.php:1234
2664
  #@ formidable
2665
  msgid "Australia"
2666
  msgstr ""
2667
 
2668
+ #: classes/helpers/FrmFieldsHelper.php:1234
2669
  #@ formidable
2670
  msgid "Austria"
2671
  msgstr ""
2672
 
2673
+ #: classes/helpers/FrmFieldsHelper.php:1234
2674
  #@ formidable
2675
  msgid "Azerbaijan"
2676
  msgstr ""
2677
 
2678
+ #: classes/helpers/FrmFieldsHelper.php:1235
2679
  #@ formidable
2680
  msgid "Bahamas"
2681
  msgstr ""
2682
 
2683
+ #: classes/helpers/FrmFieldsHelper.php:1235
2684
  #@ formidable
2685
  msgid "Bahrain"
2686
  msgstr ""
2687
 
2688
+ #: classes/helpers/FrmFieldsHelper.php:1235
2689
  #@ formidable
2690
  msgid "Bangladesh"
2691
  msgstr ""
2692
 
2693
+ #: classes/helpers/FrmFieldsHelper.php:1236
2694
  #@ formidable
2695
  msgid "Barbados"
2696
  msgstr ""
2697
 
2698
+ #: classes/helpers/FrmFieldsHelper.php:1236
2699
  #@ formidable
2700
  msgid "Belarus"
2701
  msgstr ""
2702
 
2703
+ #: classes/helpers/FrmFieldsHelper.php:1236
2704
  #@ formidable
2705
  msgid "Belgium"
2706
  msgstr ""
2707
 
2708
+ #: classes/helpers/FrmFieldsHelper.php:1237
2709
  #@ formidable
2710
  msgid "Belize"
2711
  msgstr ""
2712
 
2713
+ #: classes/helpers/FrmFieldsHelper.php:1237
2714
  #@ formidable
2715
  msgid "Benin"
2716
  msgstr ""
2717
 
2718
+ #: classes/helpers/FrmFieldsHelper.php:1237
2719
  #@ formidable
2720
  msgid "Bermuda"
2721
  msgstr ""
2722
 
2723
+ #: classes/helpers/FrmFieldsHelper.php:1238
2724
  #@ formidable
2725
  msgid "Bhutan"
2726
  msgstr ""
2727
 
2728
+ #: classes/helpers/FrmFieldsHelper.php:1238
2729
  #@ formidable
2730
  msgid "Bolivia"
2731
  msgstr ""
2732
 
2733
+ #: classes/helpers/FrmFieldsHelper.php:1238
2734
  #@ formidable
2735
  msgid "Bosnia and Herzegovina"
2736
  msgstr ""
2737
 
2738
+ #: classes/helpers/FrmFieldsHelper.php:1239
2739
  #@ formidable
2740
  msgid "Botswana"
2741
  msgstr ""
2742
 
2743
+ #: classes/helpers/FrmFieldsHelper.php:1239
2744
  #@ formidable
2745
  msgid "Brazil"
2746
  msgstr ""
2747
 
2748
+ #: classes/helpers/FrmFieldsHelper.php:1239
2749
  #@ formidable
2750
  msgid "Brunei"
2751
  msgstr ""
2752
 
2753
+ #: classes/helpers/FrmFieldsHelper.php:1240
2754
  #@ formidable
2755
  msgid "Bulgaria"
2756
  msgstr ""
2757
 
2758
+ #: classes/helpers/FrmFieldsHelper.php:1240
2759
  #@ formidable
2760
  msgid "Burkina Faso"
2761
  msgstr ""
2762
 
2763
+ #: classes/helpers/FrmFieldsHelper.php:1240
2764
  #@ formidable
2765
  msgid "Burundi"
2766
  msgstr ""
2767
 
2768
+ #: classes/helpers/FrmFieldsHelper.php:1241
2769
  #@ formidable
2770
  msgid "Cambodia"
2771
  msgstr ""
2772
 
2773
+ #: classes/helpers/FrmFieldsHelper.php:1241
2774
  #@ formidable
2775
  msgid "Cameroon"
2776
  msgstr ""
2777
 
2778
+ #: classes/helpers/FrmFieldsHelper.php:1241
2779
  #@ formidable
2780
  msgid "Canada"
2781
  msgstr ""
2782
 
2783
+ #: classes/helpers/FrmFieldsHelper.php:1242
2784
  #@ formidable
2785
  msgid "Cape Verde"
2786
  msgstr ""
2787
 
2788
+ #: classes/helpers/FrmFieldsHelper.php:1242
2789
  #@ formidable
2790
  msgid "Cayman Islands"
2791
  msgstr ""
2792
 
2793
+ #: classes/helpers/FrmFieldsHelper.php:1242
2794
  #@ formidable
2795
  msgid "Central African Republic"
2796
  msgstr ""
2797
 
2798
+ #: classes/helpers/FrmFieldsHelper.php:1243
2799
  #@ formidable
2800
  msgid "Chad"
2801
  msgstr ""
2802
 
2803
+ #: classes/helpers/FrmFieldsHelper.php:1243
2804
  #@ formidable
2805
  msgid "Chile"
2806
  msgstr ""
2807
 
2808
+ #: classes/helpers/FrmFieldsHelper.php:1243
2809
  #@ formidable
2810
  msgid "China"
2811
  msgstr ""
2812
 
2813
+ #: classes/helpers/FrmFieldsHelper.php:1244
2814
  #@ formidable
2815
  msgid "Colombia"
2816
  msgstr ""
2817
 
2818
+ #: classes/helpers/FrmFieldsHelper.php:1244
2819
  #@ formidable
2820
  msgid "Comoros"
2821
  msgstr ""
2822
 
2823
+ #: classes/helpers/FrmFieldsHelper.php:1244
2824
  #@ formidable
2825
  msgid "Congo"
2826
  msgstr ""
2827
 
2828
+ #: classes/helpers/FrmFieldsHelper.php:1245
2829
  #@ formidable
2830
  msgid "Costa Rica"
2831
  msgstr ""
2832
 
2833
+ #: classes/helpers/FrmFieldsHelper.php:1245
2834
  #@ formidable
2835
  msgid "C&ocirc;te d'Ivoire"
2836
  msgstr ""
2837
 
2838
+ #: classes/helpers/FrmFieldsHelper.php:1245
2839
  #@ formidable
2840
  msgid "Croatia"
2841
  msgstr ""
2842
 
2843
+ #: classes/helpers/FrmFieldsHelper.php:1246
2844
  #@ formidable
2845
  msgid "Cuba"
2846
  msgstr ""
2847
 
2848
+ #: classes/helpers/FrmFieldsHelper.php:1246
2849
  #@ formidable
2850
  msgid "Cyprus"
2851
  msgstr ""
2852
 
2853
+ #: classes/helpers/FrmFieldsHelper.php:1246
2854
  #@ formidable
2855
  msgid "Czech Republic"
2856
  msgstr ""
2857
 
2858
+ #: classes/helpers/FrmFieldsHelper.php:1247
2859
  #@ formidable
2860
  msgid "Denmark"
2861
  msgstr ""
2862
 
2863
+ #: classes/helpers/FrmFieldsHelper.php:1247
2864
  #@ formidable
2865
  msgid "Djibouti"
2866
  msgstr ""
2867
 
2868
+ #: classes/helpers/FrmFieldsHelper.php:1247
2869
  #@ formidable
2870
  msgid "Dominica"
2871
  msgstr ""
2872
 
2873
+ #: classes/helpers/FrmFieldsHelper.php:1248
2874
  #@ formidable
2875
  msgid "Dominican Republic"
2876
  msgstr ""
2877
 
2878
+ #: classes/helpers/FrmFieldsHelper.php:1248
2879
  #@ formidable
2880
  msgid "East Timor"
2881
  msgstr ""
2882
 
2883
+ #: classes/helpers/FrmFieldsHelper.php:1248
2884
  #@ formidable
2885
  msgid "Ecuador"
2886
  msgstr ""
2887
 
2888
+ #: classes/helpers/FrmFieldsHelper.php:1249
2889
  #@ formidable
2890
  msgid "Egypt"
2891
  msgstr ""
2892
 
2893
+ #: classes/helpers/FrmFieldsHelper.php:1249
2894
  #@ formidable
2895
  msgid "El Salvador"
2896
  msgstr ""
2897
 
2898
+ #: classes/helpers/FrmFieldsHelper.php:1249
2899
  #@ formidable
2900
  msgid "Equatorial Guinea"
2901
  msgstr ""
2902
 
2903
+ #: classes/helpers/FrmFieldsHelper.php:1250
2904
  #@ formidable
2905
  msgid "Eritrea"
2906
  msgstr ""
2907
 
2908
+ #: classes/helpers/FrmFieldsHelper.php:1250
2909
  #@ formidable
2910
  msgid "Estonia"
2911
  msgstr ""
2912
 
2913
+ #: classes/helpers/FrmFieldsHelper.php:1250
2914
  #@ formidable
2915
  msgid "Ethiopia"
2916
  msgstr ""
2917
 
2918
+ #: classes/helpers/FrmFieldsHelper.php:1251
2919
  #@ formidable
2920
  msgid "Fiji"
2921
  msgstr ""
2922
 
2923
+ #: classes/helpers/FrmFieldsHelper.php:1251
2924
  #@ formidable
2925
  msgid "Finland"
2926
  msgstr ""
2927
 
2928
+ #: classes/helpers/FrmFieldsHelper.php:1251
2929
  #@ formidable
2930
  msgid "France"
2931
  msgstr ""
2932
 
2933
+ #: classes/helpers/FrmFieldsHelper.php:1252
2934
  #@ formidable
2935
  msgid "French Guiana"
2936
  msgstr ""
2937
 
2938
+ #: classes/helpers/FrmFieldsHelper.php:1252
2939
  #@ formidable
2940
  msgid "French Polynesia"
2941
  msgstr ""
2942
 
2943
+ #: classes/helpers/FrmFieldsHelper.php:1252
2944
  #@ formidable
2945
  msgid "Gabon"
2946
  msgstr ""
2947
 
2948
+ #: classes/helpers/FrmFieldsHelper.php:1253
2949
  #@ formidable
2950
  msgid "Gambia"
2951
  msgstr ""
2952
 
2953
+ #: classes/helpers/FrmFieldsHelper.php:1253
2954
  #@ formidable
2955
  msgid "Georgia"
2956
  msgstr ""
2957
 
2958
+ #: classes/helpers/FrmFieldsHelper.php:1253
2959
  #@ formidable
2960
  msgid "Germany"
2961
  msgstr ""
2962
 
2963
+ #: classes/helpers/FrmFieldsHelper.php:1254
2964
  #@ formidable
2965
  msgid "Ghana"
2966
  msgstr ""
2967
 
2968
+ #: classes/helpers/FrmFieldsHelper.php:1254
2969
  #@ formidable
2970
  msgid "Gibraltar"
2971
  msgstr ""
2972
 
2973
+ #: classes/helpers/FrmFieldsHelper.php:1254
2974
  #@ formidable
2975
  msgid "Greece"
2976
  msgstr ""
2977
 
2978
+ #: classes/helpers/FrmFieldsHelper.php:1255
2979
  #@ formidable
2980
  msgid "Greenland"
2981
  msgstr ""
2982
 
2983
+ #: classes/helpers/FrmFieldsHelper.php:1255
2984
  #@ formidable
2985
  msgid "Grenada"
2986
  msgstr ""
2987
 
2988
+ #: classes/helpers/FrmFieldsHelper.php:1255
2989
  #@ formidable
2990
  msgid "Guam"
2991
  msgstr ""
2992
 
2993
+ #: classes/helpers/FrmFieldsHelper.php:1256
2994
  #@ formidable
2995
  msgid "Guatemala"
2996
  msgstr ""
2997
 
2998
+ #: classes/helpers/FrmFieldsHelper.php:1256
2999
  #@ formidable
3000
  msgid "Guinea"
3001
  msgstr ""
3002
 
3003
+ #: classes/helpers/FrmFieldsHelper.php:1256
3004
  #@ formidable
3005
  msgid "Guinea-Bissau"
3006
  msgstr ""
3007
 
3008
+ #: classes/helpers/FrmFieldsHelper.php:1257
3009
  #@ formidable
3010
  msgid "Guyana"
3011
  msgstr ""
3012
 
3013
+ #: classes/helpers/FrmFieldsHelper.php:1257
3014
  #@ formidable
3015
  msgid "Haiti"
3016
  msgstr ""
3017
 
3018
+ #: classes/helpers/FrmFieldsHelper.php:1257
3019
  #@ formidable
3020
  msgid "Honduras"
3021
  msgstr ""
3022
 
3023
+ #: classes/helpers/FrmFieldsHelper.php:1258
3024
  #@ formidable
3025
  msgid "Hong Kong"
3026
  msgstr ""
3027
 
3028
+ #: classes/helpers/FrmFieldsHelper.php:1258
3029
  #@ formidable
3030
  msgid "Hungary"
3031
  msgstr ""
3032
 
3033
+ #: classes/helpers/FrmFieldsHelper.php:1258
3034
  #@ formidable
3035
  msgid "Iceland"
3036
  msgstr ""
3037
 
3038
+ #: classes/helpers/FrmFieldsHelper.php:1259
3039
  #@ formidable
3040
  msgid "India"
3041
  msgstr ""
3042
 
3043
+ #: classes/helpers/FrmFieldsHelper.php:1259
3044
  #@ formidable
3045
  msgid "Indonesia"
3046
  msgstr ""
3047
 
3048
+ #: classes/helpers/FrmFieldsHelper.php:1259
3049
  #@ formidable
3050
  msgid "Iran"
3051
  msgstr ""
3052
 
3053
+ #: classes/helpers/FrmFieldsHelper.php:1260
3054
  #@ formidable
3055
  msgid "Iraq"
3056
  msgstr ""
3057
 
3058
+ #: classes/helpers/FrmFieldsHelper.php:1260
3059
  #@ formidable
3060
  msgid "Ireland"
3061
  msgstr ""
3062
 
3063
+ #: classes/helpers/FrmFieldsHelper.php:1260
3064
  #@ formidable
3065
  msgid "Israel"
3066
  msgstr ""
3067
 
3068
+ #: classes/helpers/FrmFieldsHelper.php:1261
3069
  #@ formidable
3070
  msgid "Italy"
3071
  msgstr ""
3072
 
3073
+ #: classes/helpers/FrmFieldsHelper.php:1261
3074
  #@ formidable
3075
  msgid "Jamaica"
3076
  msgstr ""
3077
 
3078
+ #: classes/helpers/FrmFieldsHelper.php:1261
3079
  #@ formidable
3080
  msgid "Japan"
3081
  msgstr ""
3082
 
3083
+ #: classes/helpers/FrmFieldsHelper.php:1262
3084
  #@ formidable
3085
  msgid "Jordan"
3086
  msgstr ""
3087
 
3088
+ #: classes/helpers/FrmFieldsHelper.php:1262
3089
  #@ formidable
3090
  msgid "Kazakhstan"
3091
  msgstr ""
3092
 
3093
+ #: classes/helpers/FrmFieldsHelper.php:1262
3094
  #@ formidable
3095
  msgid "Kenya"
3096
  msgstr ""
3097
 
3098
+ #: classes/helpers/FrmFieldsHelper.php:1263
3099
  #@ formidable
3100
  msgid "Kiribati"
3101
  msgstr ""
3102
 
3103
+ #: classes/helpers/FrmFieldsHelper.php:1263
3104
  #@ formidable
3105
  msgid "North Korea"
3106
  msgstr ""
3107
 
3108
+ #: classes/helpers/FrmFieldsHelper.php:1263
3109
  #@ formidable
3110
  msgid "South Korea"
3111
  msgstr ""
3112
 
3113
+ #: classes/helpers/FrmFieldsHelper.php:1264
3114
  #@ formidable
3115
  msgid "Kuwait"
3116
  msgstr ""
3117
 
3118
+ #: classes/helpers/FrmFieldsHelper.php:1264
3119
  #@ formidable
3120
  msgid "Kyrgyzstan"
3121
  msgstr ""
3122
 
3123
+ #: classes/helpers/FrmFieldsHelper.php:1264
3124
  #@ formidable
3125
  msgid "Laos"
3126
  msgstr ""
3127
 
3128
+ #: classes/helpers/FrmFieldsHelper.php:1265
3129
  #@ formidable
3130
  msgid "Latvia"
3131
  msgstr ""
3132
 
3133
+ #: classes/helpers/FrmFieldsHelper.php:1265
3134
  #@ formidable
3135
  msgid "Lebanon"
3136
  msgstr ""
3137
 
3138
+ #: classes/helpers/FrmFieldsHelper.php:1265
3139
  #@ formidable
3140
  msgid "Lesotho"
3141
  msgstr ""
3142
 
3143
+ #: classes/helpers/FrmFieldsHelper.php:1266
3144
  #@ formidable
3145
  msgid "Liberia"
3146
  msgstr ""
3147
 
3148
+ #: classes/helpers/FrmFieldsHelper.php:1266
3149
  #@ formidable
3150
  msgid "Libya"
3151
  msgstr ""
3152
 
3153
+ #: classes/helpers/FrmFieldsHelper.php:1266
3154
  #@ formidable
3155
  msgid "Liechtenstein"
3156
  msgstr ""
3157
 
3158
+ #: classes/helpers/FrmFieldsHelper.php:1267
3159
  #@ formidable
3160
  msgid "Lithuania"
3161
  msgstr ""
3162
 
3163
+ #: classes/helpers/FrmFieldsHelper.php:1267
3164
  #@ formidable
3165
  msgid "Luxembourg"
3166
  msgstr ""
3167
 
3168
+ #: classes/helpers/FrmFieldsHelper.php:1267
3169
  #@ formidable
3170
  msgid "Macedonia"
3171
  msgstr ""
3172
 
3173
+ #: classes/helpers/FrmFieldsHelper.php:1268
3174
  #@ formidable
3175
  msgid "Madagascar"
3176
  msgstr ""
3177
 
3178
+ #: classes/helpers/FrmFieldsHelper.php:1268
3179
  #@ formidable
3180
  msgid "Malawi"
3181
  msgstr ""
3182
 
3183
+ #: classes/helpers/FrmFieldsHelper.php:1268
3184
  #@ formidable
3185
  msgid "Malaysia"
3186
  msgstr ""
3187
 
3188
+ #: classes/helpers/FrmFieldsHelper.php:1269
3189
  #@ formidable
3190
  msgid "Maldives"
3191
  msgstr ""
3192
 
3193
+ #: classes/helpers/FrmFieldsHelper.php:1269
3194
  #@ formidable
3195
  msgid "Mali"
3196
  msgstr ""
3197
 
3198
+ #: classes/helpers/FrmFieldsHelper.php:1269
3199
  #@ formidable
3200
  msgid "Malta"
3201
  msgstr ""
3202
 
3203
+ #: classes/helpers/FrmFieldsHelper.php:1270
3204
  #@ formidable
3205
  msgid "Marshall Islands"
3206
  msgstr ""
3207
 
3208
+ #: classes/helpers/FrmFieldsHelper.php:1270
3209
  #@ formidable
3210
  msgid "Mauritania"
3211
  msgstr ""
3212
 
3213
+ #: classes/helpers/FrmFieldsHelper.php:1270
3214
  #@ formidable
3215
  msgid "Mauritius"
3216
  msgstr ""
3217
 
3218
+ #: classes/helpers/FrmFieldsHelper.php:1271
3219
  #@ formidable
3220
  msgid "Mexico"
3221
  msgstr ""
3222
 
3223
+ #: classes/helpers/FrmFieldsHelper.php:1271
3224
  #@ formidable
3225
  msgid "Micronesia"
3226
  msgstr ""
3227
 
3228
+ #: classes/helpers/FrmFieldsHelper.php:1271
3229
  #@ formidable
3230
  msgid "Moldova"
3231
  msgstr ""
3232
 
3233
+ #: classes/helpers/FrmFieldsHelper.php:1272
3234
  #@ formidable
3235
  msgid "Monaco"
3236
  msgstr ""
3237
 
3238
+ #: classes/helpers/FrmFieldsHelper.php:1272
3239
  #@ formidable
3240
  msgid "Mongolia"
3241
  msgstr ""
3242
 
3243
+ #: classes/helpers/FrmFieldsHelper.php:1272
3244
  #@ formidable
3245
  msgid "Montenegro"
3246
  msgstr ""
3247
 
3248
+ #: classes/helpers/FrmFieldsHelper.php:1273
3249
  #@ formidable
3250
  msgid "Montserrat"
3251
  msgstr ""
3252
 
3253
+ #: classes/helpers/FrmFieldsHelper.php:1273
3254
  #@ formidable
3255
  msgid "Morocco"
3256
  msgstr ""
3257
 
3258
+ #: classes/helpers/FrmFieldsHelper.php:1273
3259
  #@ formidable
3260
  msgid "Mozambique"
3261
  msgstr ""
3262
 
3263
+ #: classes/helpers/FrmFieldsHelper.php:1274
3264
  #@ formidable
3265
  msgid "Myanmar"
3266
  msgstr ""
3267
 
3268
+ #: classes/helpers/FrmFieldsHelper.php:1274
3269
  #@ formidable
3270
  msgid "Namibia"
3271
  msgstr ""
3272
 
3273
+ #: classes/helpers/FrmFieldsHelper.php:1274
3274
  #@ formidable
3275
  msgid "Nauru"
3276
  msgstr ""
3277
 
3278
+ #: classes/helpers/FrmFieldsHelper.php:1275
3279
  #@ formidable
3280
  msgid "Nepal"
3281
  msgstr ""
3282
 
3283
+ #: classes/helpers/FrmFieldsHelper.php:1275
3284
  #@ formidable
3285
  msgid "Netherlands"
3286
  msgstr ""
3287
 
3288
+ #: classes/helpers/FrmFieldsHelper.php:1275
3289
  #@ formidable
3290
  msgid "New Zealand"
3291
  msgstr ""
3292
 
3293
+ #: classes/helpers/FrmFieldsHelper.php:1276
3294
  #@ formidable
3295
  msgid "Nicaragua"
3296
  msgstr ""
3297
 
3298
+ #: classes/helpers/FrmFieldsHelper.php:1276
3299
  #@ formidable
3300
  msgid "Niger"
3301
  msgstr ""
3302
 
3303
+ #: classes/helpers/FrmFieldsHelper.php:1276
3304
  #@ formidable
3305
  msgid "Nigeria"
3306
  msgstr ""
3307
 
3308
+ #: classes/helpers/FrmFieldsHelper.php:1277
3309
  #@ formidable
3310
  msgid "Norway"
3311
  msgstr ""
3312
 
3313
+ #: classes/helpers/FrmFieldsHelper.php:1277
3314
  #@ formidable
3315
  msgid "Northern Mariana Islands"
3316
  msgstr ""
3317
 
3318
+ #: classes/helpers/FrmFieldsHelper.php:1277
3319
  #@ formidable
3320
  msgid "Oman"
3321
  msgstr ""
3322
 
3323
+ #: classes/helpers/FrmFieldsHelper.php:1278
3324
  #@ formidable
3325
  msgid "Pakistan"
3326
  msgstr ""
3327
 
3328
+ #: classes/helpers/FrmFieldsHelper.php:1278
3329
  #@ formidable
3330
  msgid "Palau"
3331
  msgstr ""
3332
 
3333
+ #: classes/helpers/FrmFieldsHelper.php:1278
3334
  #@ formidable
3335
  msgid "Palestine"
3336
  msgstr ""
3337
 
3338
+ #: classes/helpers/FrmFieldsHelper.php:1279
3339
  #@ formidable
3340
  msgid "Panama"
3341
  msgstr ""
3342
 
3343
+ #: classes/helpers/FrmFieldsHelper.php:1279
3344
  #@ formidable
3345
  msgid "Papua New Guinea"
3346
  msgstr ""
3347
 
3348
+ #: classes/helpers/FrmFieldsHelper.php:1279
3349
  #@ formidable
3350
  msgid "Paraguay"
3351
  msgstr ""
3352
 
3353
+ #: classes/helpers/FrmFieldsHelper.php:1280
3354
  #@ formidable
3355
  msgid "Peru"
3356
  msgstr ""
3357
 
3358
+ #: classes/helpers/FrmFieldsHelper.php:1280
3359
  #@ formidable
3360
  msgid "Philippines"
3361
  msgstr ""
3362
 
3363
+ #: classes/helpers/FrmFieldsHelper.php:1280
3364
  #@ formidable
3365
  msgid "Poland"
3366
  msgstr ""
3367
 
3368
+ #: classes/helpers/FrmFieldsHelper.php:1281
3369
  #@ formidable
3370
  msgid "Portugal"
3371
  msgstr ""
3372
 
3373
+ #: classes/helpers/FrmFieldsHelper.php:1281
3374
  #@ formidable
3375
  msgid "Puerto Rico"
3376
  msgstr ""
3377
 
3378
+ #: classes/helpers/FrmFieldsHelper.php:1281
3379
  #@ formidable
3380
  msgid "Qatar"
3381
  msgstr ""
3382
 
3383
+ #: classes/helpers/FrmFieldsHelper.php:1282
3384
  #@ formidable
3385
  msgid "Romania"
3386
  msgstr ""
3387
 
3388
+ #: classes/helpers/FrmFieldsHelper.php:1282
3389
  #@ formidable
3390
  msgid "Russia"
3391
  msgstr ""
3392
 
3393
+ #: classes/helpers/FrmFieldsHelper.php:1282
3394
  #@ formidable
3395
  msgid "Rwanda"
3396
  msgstr ""
3397
 
3398
+ #: classes/helpers/FrmFieldsHelper.php:1283
3399
  #@ formidable
3400
  msgid "Saint Kitts and Nevis"
3401
  msgstr ""
3402
 
3403
+ #: classes/helpers/FrmFieldsHelper.php:1283
3404
  #@ formidable
3405
  msgid "Saint Lucia"
3406
  msgstr ""
3407
 
3408
+ #: classes/helpers/FrmFieldsHelper.php:1284
3409
  #@ formidable
3410
  msgid "Saint Vincent and the Grenadines"
3411
  msgstr ""
3412
 
3413
+ #: classes/helpers/FrmFieldsHelper.php:1284
3414
  #@ formidable
3415
  msgid "Samoa"
3416
  msgstr ""
3417
 
3418
+ #: classes/helpers/FrmFieldsHelper.php:1285
3419
  #@ formidable
3420
  msgid "San Marino"
3421
  msgstr ""
3422
 
3423
+ #: classes/helpers/FrmFieldsHelper.php:1285
3424
  #@ formidable
3425
  msgid "Sao Tome and Principe"
3426
  msgstr ""
3427
 
3428
+ #: classes/helpers/FrmFieldsHelper.php:1285
3429
  #@ formidable
3430
  msgid "Saudi Arabia"
3431
  msgstr ""
3432
 
3433
+ #: classes/helpers/FrmFieldsHelper.php:1286
3434
  #@ formidable
3435
  msgid "Senegal"
3436
  msgstr ""
3437
 
3438
+ #: classes/helpers/FrmFieldsHelper.php:1286
3439
  #@ formidable
3440
  msgid "Serbia and Montenegro"
3441
  msgstr ""
3442
 
3443
+ #: classes/helpers/FrmFieldsHelper.php:1286
3444
  #@ formidable
3445
  msgid "Seychelles"
3446
  msgstr ""
3447
 
3448
+ #: classes/helpers/FrmFieldsHelper.php:1287
3449
  #@ formidable
3450
  msgid "Sierra Leone"
3451
  msgstr ""
3452
 
3453
+ #: classes/helpers/FrmFieldsHelper.php:1287
3454
  #@ formidable
3455
  msgid "Singapore"
3456
  msgstr ""
3457
 
3458
+ #: classes/helpers/FrmFieldsHelper.php:1287
3459
  #@ formidable
3460
  msgid "Slovakia"
3461
  msgstr ""
3462
 
3463
+ #: classes/helpers/FrmFieldsHelper.php:1288
3464
  #@ formidable
3465
  msgid "Slovenia"
3466
  msgstr ""
3467
 
3468
+ #: classes/helpers/FrmFieldsHelper.php:1288
3469
  #@ formidable
3470
  msgid "Solomon Islands"
3471
  msgstr ""
3472
 
3473
+ #: classes/helpers/FrmFieldsHelper.php:1288
3474
  #@ formidable
3475
  msgid "Somalia"
3476
  msgstr ""
3477
 
3478
+ #: classes/helpers/FrmFieldsHelper.php:1289
3479
  #@ formidable
3480
  msgid "South Africa"
3481
  msgstr ""
3482
 
3483
+ #: classes/helpers/FrmFieldsHelper.php:1290
3484
  #@ formidable
3485
  msgid "Spain"
3486
  msgstr ""
3487
 
3488
+ #: classes/helpers/FrmFieldsHelper.php:1290
3489
  #@ formidable
3490
  msgid "Sri Lanka"
3491
  msgstr ""
3492
 
3493
+ #: classes/helpers/FrmFieldsHelper.php:1291
3494
  #@ formidable
3495
  msgid "Sudan"
3496
  msgstr ""
3497
 
3498
+ #: classes/helpers/FrmFieldsHelper.php:1291
3499
  #@ formidable
3500
  msgid "Suriname"
3501
  msgstr ""
3502
 
3503
+ #: classes/helpers/FrmFieldsHelper.php:1291
3504
  #@ formidable
3505
  msgid "Swaziland"
3506
  msgstr ""
3507
 
3508
+ #: classes/helpers/FrmFieldsHelper.php:1292
3509
  #@ formidable
3510
  msgid "Sweden"
3511
  msgstr ""
3512
 
3513
+ #: classes/helpers/FrmFieldsHelper.php:1292
3514
  #@ formidable
3515
  msgid "Switzerland"
3516
  msgstr ""
3517
 
3518
+ #: classes/helpers/FrmFieldsHelper.php:1292
3519
  #@ formidable
3520
  msgid "Syria"
3521
  msgstr ""
3522
 
3523
+ #: classes/helpers/FrmFieldsHelper.php:1293
3524
  #@ formidable
3525
  msgid "Taiwan"
3526
  msgstr ""
3527
 
3528
+ #: classes/helpers/FrmFieldsHelper.php:1293
3529
  #@ formidable
3530
  msgid "Tajikistan"
3531
  msgstr ""
3532
 
3533
+ #: classes/helpers/FrmFieldsHelper.php:1293
3534
  #@ formidable
3535
  msgid "Tanzania"
3536
  msgstr ""
3537
 
3538
+ #: classes/helpers/FrmFieldsHelper.php:1294
3539
  #@ formidable
3540
  msgid "Thailand"
3541
  msgstr ""
3542
 
3543
+ #: classes/helpers/FrmFieldsHelper.php:1294
3544
  #@ formidable
3545
  msgid "Togo"
3546
  msgstr ""
3547
 
3548
+ #: classes/helpers/FrmFieldsHelper.php:1294
3549
  #@ formidable
3550
  msgid "Tonga"
3551
  msgstr ""
3552
 
3553
+ #: classes/helpers/FrmFieldsHelper.php:1295
3554
  #@ formidable
3555
  msgid "Trinidad and Tobago"
3556
  msgstr ""
3557
 
3558
+ #: classes/helpers/FrmFieldsHelper.php:1295
3559
  #@ formidable
3560
  msgid "Tunisia"
3561
  msgstr ""
3562
 
3563
+ #: classes/helpers/FrmFieldsHelper.php:1295
3564
  #@ formidable
3565
  msgid "Turkey"
3566
  msgstr ""
3567
 
3568
+ #: classes/helpers/FrmFieldsHelper.php:1296
3569
  #@ formidable
3570
  msgid "Turkmenistan"
3571
  msgstr ""
3572
 
3573
+ #: classes/helpers/FrmFieldsHelper.php:1296
3574
  #@ formidable
3575
  msgid "Tuvalu"
3576
  msgstr ""
3577
 
3578
+ #: classes/helpers/FrmFieldsHelper.php:1296
3579
  #@ formidable
3580
  msgid "Uganda"
3581
  msgstr ""
3582
 
3583
+ #: classes/helpers/FrmFieldsHelper.php:1297
3584
  #@ formidable
3585
  msgid "Ukraine"
3586
  msgstr ""
3587
 
3588
+ #: classes/helpers/FrmFieldsHelper.php:1297
3589
  #@ formidable
3590
  msgid "United Arab Emirates"
3591
  msgstr ""
3592
 
3593
+ #: classes/helpers/FrmFieldsHelper.php:1297
3594
  #@ formidable
3595
  msgid "United Kingdom"
3596
  msgstr ""
3597
 
3598
+ #: classes/helpers/FrmFieldsHelper.php:1298
3599
  #@ formidable
3600
  msgid "United States"
3601
  msgstr ""
3602
 
3603
+ #: classes/helpers/FrmFieldsHelper.php:1298
3604
  #@ formidable
3605
  msgid "Uruguay"
3606
  msgstr ""
3607
 
3608
+ #: classes/helpers/FrmFieldsHelper.php:1298
3609
  #@ formidable
3610
  msgid "Uzbekistan"
3611
  msgstr ""
3612
 
3613
+ #: classes/helpers/FrmFieldsHelper.php:1299
3614
  #@ formidable
3615
  msgid "Vanuatu"
3616
  msgstr ""
3617
 
3618
+ #: classes/helpers/FrmFieldsHelper.php:1299
3619
  #@ formidable
3620
  msgid "Vatican City"
3621
  msgstr ""
3622
 
3623
+ #: classes/helpers/FrmFieldsHelper.php:1299
3624
  #@ formidable
3625
  msgid "Venezuela"
3626
  msgstr ""
3627
 
3628
+ #: classes/helpers/FrmFieldsHelper.php:1300
3629
  #@ formidable
3630
  msgid "Vietnam"
3631
  msgstr ""
3632
 
3633
+ #: classes/helpers/FrmFieldsHelper.php:1300
3634
  #@ formidable
3635
  msgid "Virgin Islands, British"
3636
  msgstr ""
3637
 
3638
+ #: classes/helpers/FrmFieldsHelper.php:1301
3639
  #@ formidable
3640
  msgid "Virgin Islands, U.S."
3641
  msgstr ""
3642
 
3643
+ #: classes/helpers/FrmFieldsHelper.php:1301
3644
  #@ formidable
3645
  msgid "Yemen"
3646
  msgstr ""
3647
 
3648
+ #: classes/helpers/FrmFieldsHelper.php:1301
3649
  #@ formidable
3650
  msgid "Zambia"
3651
  msgstr ""
3652
 
3653
+ #: classes/helpers/FrmFieldsHelper.php:1302
3654
  #@ formidable
3655
  msgid "Zimbabwe"
3656
  msgstr ""
3774
  msgid "There was a problem with your submission. Please try again."
3775
  msgstr ""
3776
 
3777
+ #: pro/classes/controllers/FrmProEddController.php:127
3778
  #@ formidable
3779
  msgid "Your Pro installation is now active. Enjoy!"
3780
  msgstr ""
3940
  msgid "Template was Successfully Updated"
3941
  msgstr ""
3942
 
3943
+ #: classes/helpers/FrmXMLHelper.php:733
3944
  #@ formidable
3945
  msgid "Create Posts"
3946
  msgstr ""
4177
  msgid "Are you sure you want to delete that?"
4178
  msgstr ""
4179
 
4180
+ #: pro/classes/controllers/FrmProEddController.php:153
4181
  #@ formidable
4182
  msgid "Account"
4183
  msgstr ""
4282
  msgid "There was an error deleting that entry"
4283
  msgstr ""
4284
 
4285
+ #: pro/classes/controllers/FrmProEddController.php:148
4286
  #@ formidable
4287
  msgid "Deauthorize this site"
4288
  msgstr ""
4801
  msgid "There are no options"
4802
  msgstr ""
4803
 
4804
+ #: classes/helpers/FrmStylesHelper.php:94
4805
  #@ formidable
4806
  msgid "Custom CSS"
4807
  msgstr ""
4870
  msgid "Delete Field"
4871
  msgstr ""
4872
 
4873
+ #: classes/controllers/FrmStylesController.php:499
4874
  #: classes/views/frm-forms/mb_insert_fields.php:2
4875
  #@ formidable
4876
  msgid "Click to toggle"
4906
  msgid "Logged-out Users"
4907
  msgstr ""
4908
 
4909
+ #: pro/classes/controllers/FrmProEddController.php:29
4910
  #: pro/classes/controllers/FrmUpdatesController.php:28
4911
  #@ formidable
4912
  msgid "Your Formidable Pro License was Invalid"
4913
  msgstr ""
4914
 
4915
  #: classes/views/frm-settings/license_box.php:8
4916
+ #: pro/classes/controllers/FrmProEddController.php:140
4917
  #@ formidable
4918
  msgid "Click here"
4919
  msgstr ""
4920
 
4921
+ #: pro/classes/controllers/FrmProEddController.php:146
4922
  #@ formidable
4923
  msgid "Formidable Pro is Installed"
4924
  msgstr ""
4925
 
4926
+ #: pro/classes/controllers/FrmProEddController.php:147
4927
  #@ formidable
4928
  msgid "Enter new license"
4929
  msgstr ""
4930
 
4931
+ #: pro/classes/controllers/FrmProEddController.php:176
4932
  #@ formidable
4933
  msgid "Use this license to enable Formidable Pro site-wide"
4934
  msgstr ""
4935
 
4936
+ #: pro/classes/controllers/FrmProEddController.php:179
4937
  #@ formidable
4938
  msgid "Save License"
4939
  msgstr ""
4960
  msgid "An update is available, but your license is %s."
4961
  msgstr ""
4962
 
4963
+ #: classes/models/FrmAddon.php:179
4964
+ #: pro/classes/controllers/FrmProEddController.php:436
4965
  #: pro/classes/controllers/FrmUpdatesController.php:356
4966
  #@ formidable
4967
  msgid "Your License Key was invalid"
5200
  msgid "Add dynamic default values as default text to fields in your form"
5201
  msgstr ""
5202
 
5203
+ #: pro/classes/controllers/FrmProEddController.php:438
5204
  #: pro/classes/controllers/FrmUpdatesController.php:337
5205
  #, php-format
5206
  #@ formidable
5207
  msgid "You had an error communicating with Strategy11's API. %1$sClick here%2$s for more information."
5208
  msgstr ""
5209
 
5210
+ #: pro/classes/controllers/FrmProEddController.php:444
5211
  #: pro/classes/controllers/FrmUpdatesController.php:342
5212
  #@ formidable
5213
  msgid "You had an HTTP error connecting to Strategy11's API"
5307
  msgstr ""
5308
 
5309
  #: classes/helpers/FrmAppHelper.php:1736
5310
+ #: classes/helpers/FrmFieldsHelper.php:1165
5311
  #@ formidable
5312
  msgid "Default value will NOT pass form validation"
5313
  msgstr ""
5314
 
5315
  #: classes/helpers/FrmAppHelper.php:1735
5316
+ #: classes/helpers/FrmFieldsHelper.php:1165
5317
  #@ formidable
5318
  msgid "Default value will pass form validation"
5319
  msgstr ""
5320
 
5321
  #: classes/helpers/FrmAppHelper.php:1733
5322
+ #: classes/helpers/FrmFieldsHelper.php:1156
5323
  #@ formidable
5324
  msgid "Clear default value when typing"
5325
  msgstr ""
5326
 
5327
  #: classes/helpers/FrmAppHelper.php:1734
5328
+ #: classes/helpers/FrmFieldsHelper.php:1156
5329
  #@ formidable
5330
  msgid "Do not clear default value when typing"
5331
  msgstr ""
5341
  msgid "Views"
5342
  msgstr ""
5343
 
5344
+ #: classes/models/FrmAddon.php:175
5345
+ #: pro/classes/controllers/FrmProEddController.php:454
5346
  #: pro/classes/controllers/FrmUpdatesController.php:352
5347
  #, php-format
5348
  #@ formidable
5512
  msgid "Are you sure?"
5513
  msgstr ""
5514
 
5515
+ #: pro/classes/controllers/FrmProEddController.php:171
5516
  #@ formidable
5517
  msgid "Enter your license number here"
5518
  msgstr ""
5684
  msgid "Edit Forms"
5685
  msgstr ""
5686
 
5687
+ #: classes/helpers/FrmXMLHelper.php:635
5688
  #@ formidable
5689
  msgid "Imported"
5690
  msgstr ""
5691
 
5692
+ #: classes/helpers/FrmXMLHelper.php:636
5693
  #@ formidable
5694
  msgid "Updated"
5695
  msgstr ""
5696
 
5697
+ #: classes/helpers/FrmXMLHelper.php:673
5698
  #, php-format
5699
  #@ formidable
5700
  msgid "%1$s Form"
5702
  msgstr[0] ""
5703
  msgstr[1] ""
5704
 
5705
+ #: classes/helpers/FrmXMLHelper.php:674
5706
  #, php-format
5707
  #@ formidable
5708
  msgid "%1$s Field"
5710
  msgstr[0] ""
5711
  msgstr[1] ""
5712
 
5713
+ #: classes/helpers/FrmXMLHelper.php:675
5714
  #, php-format
5715
  #@ formidable
5716
  msgid "%1$s Entry"
5718
  msgstr[0] ""
5719
  msgstr[1] ""
5720
 
5721
+ #: classes/helpers/FrmXMLHelper.php:676
5722
  #, php-format
5723
  #@ formidable
5724
  msgid "%1$s View"
5726
  msgstr[0] ""
5727
  msgstr[1] ""
5728
 
5729
+ #: classes/helpers/FrmXMLHelper.php:677
5730
  #, php-format
5731
  #@ formidable
5732
  msgid "%1$s Post"
5734
  msgstr[0] ""
5735
  msgstr[1] ""
5736
 
5737
+ #: classes/helpers/FrmXMLHelper.php:679
5738
  #, php-format
5739
  #@ formidable
5740
  msgid "%1$s Term"
5742
  msgstr[0] ""
5743
  msgstr[1] ""
5744
 
5745
+ #: classes/helpers/FrmXMLHelper.php:661
5746
  #@ formidable
5747
  msgid "Nothing was imported or updated"
5748
  msgstr ""
5919
  #: pro/classes/views/frmpro-form-actions/post_options.php:69
5920
  #: pro/classes/views/frmpro-form-actions/post_options.php:77
5921
  #: pro/classes/views/frmpro-forms/_logic_row.php:3
5922
+ #: pro/classes/views/styles/_style_switcher.php:16
5923
  #@ default
5924
  #@ formidable
5925
  msgid "&mdash; Select &mdash;"
6072
  msgid "You are running an outdated version of Formidable. This plugin may not work correctly if you do not update Formidable."
6073
  msgstr ""
6074
 
6075
+ #: classes/helpers/FrmFieldsHelper.php:587
6076
  #, php-format
6077
  #@ formidable
6078
  msgid "Please add options from the WordPress \"%1$s\" page"
6079
  msgstr ""
6080
 
6081
+ #: classes/helpers/FrmFieldsHelper.php:588
6082
  #@ default
6083
  msgid "Categories"
6084
  msgstr ""
6258
  msgid "create multiple styling templates"
6259
  msgstr ""
6260
 
6261
+ #: classes/controllers/FrmStylesController.php:173
6262
+ #: classes/controllers/FrmStylesController.php:257
6263
  #@ formidable
6264
  msgid "Your styling settings have been saved."
6265
  msgstr ""
6266
 
6267
+ #: classes/controllers/FrmStylesController.php:232
6268
  #@ formidable
6269
  msgid "Your form styles have been saved."
6270
  msgstr ""
6271
 
6272
+ #: classes/controllers/FrmStylesController.php:322
6273
  #@ formidable
6274
  msgid "Field Labels"
6275
  msgstr ""
6276
 
6277
+ #: classes/controllers/FrmStylesController.php:326
6278
  #@ formidable
6279
  msgid "Check Box & Radio Fields"
6280
  msgstr ""
6281
 
6282
+ #: classes/controllers/FrmStylesController.php:327
6283
  #@ formidable
6284
  msgid "Section Fields"
6285
  msgstr ""
6286
 
6287
+ #: classes/controllers/FrmStylesController.php:328
6288
  #@ formidable
6289
  msgid "Date Fields"
6290
  msgstr ""
6291
 
6292
+ #: classes/controllers/FrmStylesController.php:329
6293
  #@ formidable
6294
  msgid "Buttons"
6295
  msgstr ""
6296
 
6297
+ #: classes/controllers/FrmStylesController.php:330
6298
  #@ formidable
6299
  msgid "Form Messages"
6300
  msgstr ""
6301
 
6302
+ #: classes/helpers/FrmFieldsHelper.php:1289
6303
  #@ formidable
6304
  msgid "South Sudan"
6305
  msgstr ""
6458
  msgid "Custom"
6459
  msgstr ""
6460
 
6461
+ #: classes/helpers/FrmStylesHelper.php:92
6462
  #@ formidable
6463
  msgid "Edit Styles"
6464
  msgstr ""
6465
 
6466
+ #: classes/helpers/FrmStylesHelper.php:93
6467
  #@ formidable
6468
  msgid "Manage Form Styles"
6469
  msgstr ""
6470
 
6471
+ #: classes/helpers/FrmXMLHelper.php:842
6472
  #: classes/views/frm-form-actions/email_action.php:16
6473
  #@ formidable
6474
  msgid "Email Notification"
6743
 
6744
  #: classes/views/frm-forms/settings.php:142
6745
  #: classes/views/styles/manage.php:36
6746
+ #: pro/classes/views/styles/_style_switcher.php:18
6747
  #@ formidable
6748
  msgid "default"
6749
  msgstr ""
6928
  msgid "Styling disabled"
6929
  msgstr ""
6930
 
6931
+ #: pro/classes/views/styles/_style_switcher.php:14
 
 
 
 
 
 
6932
  #@ formidable
6933
  msgid "Select a style to edit:"
6934
  msgstr ""
6935
 
6936
+ #: pro/classes/views/styles/_style_switcher.php:22
6937
  #@ formidable
6938
  msgid "Select"
6939
  msgstr ""
6940
 
 
 
 
 
 
 
6941
  #: classes/views/styles/show.php:33
6942
  #@ formidable
6943
  msgid "Style Name"
7232
  msgid "No Data"
7233
  msgstr ""
7234
 
7235
+ #: pro/classes/controllers/FrmProStylesController.php:63
7236
  #@ formidable
7237
  msgid "Your styling settings have been deleted."
7238
  msgstr ""
7625
  msgid "Empty Trash"
7626
  msgstr ""
7627
 
7628
+ #: classes/helpers/FrmXMLHelper.php:678
7629
  #, php-format
7630
  #@ formidable
7631
  msgid "%1$s Style"
7633
  msgstr[0] ""
7634
  msgstr[1] ""
7635
 
7636
+ #: classes/helpers/FrmXMLHelper.php:680
7637
  #, php-format
7638
  #@ formidable
7639
  msgid "%1$s Form Action"
8145
  msgid "There is a new version of %1$s available. %2$sView version %3$s details%4$s or %5$supdate now%6$s."
8146
  msgstr ""
8147
 
8148
+ #: classes/models/EDD_SL_Plugin_Updater.php:341
8149
  #@ edd
8150
  msgid "You do not have permission to install plugin updates"
8151
  msgstr ""
8152
 
8153
+ #: classes/models/FrmAddon.php:82
8154
+ #: pro/classes/controllers/FrmProEddController.php:218
8155
  #@ formidable
8156
  msgid "Oops! You forgot to enter your license number."
8157
  msgstr ""
8158
 
8159
+ #: classes/models/FrmAddon.php:98
8160
+ #: pro/classes/controllers/FrmProEddController.php:232
8161
  #@ formidable
8162
  msgid "Enjoy!"
8163
  msgstr ""
8164
 
8165
+ #: classes/models/FrmAddon.php:100
8166
+ #: pro/classes/controllers/FrmProEddController.php:227
8167
  #@ formidable
8168
  msgid "That license is invalid"
8169
  msgstr ""
8170
 
8171
+ #: classes/models/FrmAddon.php:125
8172
+ #: pro/classes/controllers/FrmProEddController.php:268
8173
  #@ helpdesk
8174
  msgid "That license was removed successfully"
8175
  msgstr ""
8176
 
8177
+ #: classes/models/FrmAddon.php:127
8178
+ #: pro/classes/controllers/FrmProEddController.php:270
8179
  #@ formidable
8180
  msgid "There was an error deactivating your license."
8181
  msgstr ""
8182
 
8183
+ #: classes/models/FrmAddon.php:159
8184
  #, php-format
8185
  #@ formidable
8186
  msgid "You had an error communicating with Formidable Pro's API. %1$sClick here%2$s for more information."
8187
  msgstr ""
8188
 
8189
+ #: classes/models/FrmAddon.php:165
8190
  #@ formidable
8191
  msgid "You had an HTTP error connecting to Formidable Pro's API"
8192
  msgstr ""
8292
  msgid "Compact"
8293
  msgstr ""
8294
 
8295
+ #: pro/classes/controllers/FrmProEddController.php:237
8296
  #@ formidable
8297
  msgid "That license is expired"
8298
  msgstr ""
8299
 
8300
+ #: pro/classes/controllers/FrmProEddController.php:462
8301
  #@ formidable
8302
  msgid "Your license is invalid or expired."
8303
  msgstr ""
8304
 
8305
+ #: classes/controllers/FrmStylesController.php:136
8306
+ #@ formidable
8307
+ msgid "duplicate styling templates"
8308
+ msgstr ""
8309
+
8310
+ #: classes/models/FrmAddon.php:72
8311
+ #, php-format
8312
+ #@ formidable
8313
+ msgid "Your %1$s license key is missing. Please add it on the %2$slicenses page%3$s."
8314
+ msgstr ""
8315
+
8316
+ #: pro/classes/controllers/FrmProEddController.php:239
8317
+ #@ formidable
8318
+ msgid "That license has been used too many times"
8319
+ msgstr ""
8320
+
8321
+ #: pro/classes/views/styles/_style_switcher.php:6
8322
+ #, php-format
8323
+ #@ formidable
8324
+ msgid "Edit your style below, or %1$screate a new style%2$s or %3$sduplicate the current style%4$s."
8325
+ msgstr ""
8326
+
8327
+ #: pro/classes/views/styles/_style_switcher.php:29
8328
+ #, php-format
8329
+ #@ formidable
8330
+ msgid "or %1$screate a new style%2$s"
8331
+ msgstr ""
8332
+
8333
+ #: pro/classes/views/styles/_style_switcher.php:34
8334
+ #, php-format
8335
+ #@ formidable
8336
+ msgid "or %1$screate a new style%2$s or %3$sduplicate the current style%4$s."
8337
+ msgstr ""
8338
+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://formidablepro.com/donate
4
  Tags: admin, AJAX, captcha, contact, contact form, database, email, feedback, form, forms, javascript, jquery, page, plugin, poll, Post, spam, survey, template, widget, wpmu, form builder
5
  Requires at least: 3.6
6
  Tested up to: 4.3.1
7
- Stable tag: 2.0.15
8
 
9
  Beautiful forms in 60 seconds. The WordPress form builder that enables you to create forms with a simple drag-and-drop interface and in-place editing.
10
 
@@ -89,6 +89,30 @@ A. Try clearing your browser cache. As plugin modifications are made, frequent j
89
  [See more FAQs](http://formidablepro.com/formidable-faqs/ "Formidable Form FAQs")
90
 
91
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  = 2.0.15 =
93
  * Send plugin updates through formidablepro.com
94
  * Update Swedish translation
4
  Tags: admin, AJAX, captcha, contact, contact form, database, email, feedback, form, forms, javascript, jquery, page, plugin, poll, Post, spam, survey, template, widget, wpmu, form builder
5
  Requires at least: 3.6
6
  Tested up to: 4.3.1
7
+ Stable tag: 2.0.16
8
 
9
  Beautiful forms in 60 seconds. The WordPress form builder that enables you to create forms with a simple drag-and-drop interface and in-place editing.
10
 
89
  [See more FAQs](http://formidablepro.com/formidable-faqs/ "Formidable Form FAQs")
90
 
91
  == Changelog ==
92
+ = 2.0.16 =
93
+ * Escape font family correctly for quotation marks
94
+ * Only check for updates every 24 hours
95
+ * Allow emails to be separated by a space
96
+ * Prevent old versions of Akismet from causing errors
97
+ * Add unit tests for XML import
98
+ * Styling updates for WP 4.4
99
+ * Save form action settings even if they aren't in the default options
100
+ * More contrast on form builder page
101
+ * Use normal font weight for from builder
102
+ * **Pro Features:**
103
+ * Allow Styles to be duplicated
104
+ * Allow the form key in the CSV download url
105
+ * Make like/not like conditional logic not case-sensitive
106
+ * Fix multiple conditional logics on a Dynamic field
107
+ * Fix XML import with repeating fields
108
+ * Fix notice for old dfe fields
109
+ * Make sure integer is being used for auto_id
110
+ * Fix read-only dependent Dynamic field with a default value
111
+ * Fix conditional radio button default value issue
112
+ * Fixes for conditional logic on sections
113
+ * Fix autoupdating for add-ons
114
+ * Show a message if no license has been entered for an add-on
115
+
116
  = 2.0.15 =
117
  * Send plugin updates through formidablepro.com
118
  * Update Swedish translation