Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms - Version 1.14.0

Version Description

  • Improvement: Nonce checks have been removed for improved compatibility with cache plugins.
  • Removal: "Tooltip" styling for field hints has been deprecated.
  • Removal: "Add 'select all' choice" control has been deprecated.
  • Removal: Long Text field's "Add rich text editor toolbar" control has been deprecated.
  • Bugfix: Form width was rendered incorrectly on specific PHP versions.
Download this release

Release Info

Developer happyforms
Plugin Icon 128x128 Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms
Version 1.14.0
Comparing to
See all releases

Code changes from version 1.13.12 to 1.14.0

Files changed (65) hide show
  1. core/assets/css/admin.css +66 -0
  2. core/assets/css/color.css +0 -39
  3. core/assets/css/customize.css +76 -0
  4. core/assets/css/layout.css +0 -86
  5. core/assets/css/preview.css +0 -5
  6. core/assets/css/rich-text-editor.css +0 -63
  7. core/assets/js/frontend/checkbox.js +0 -24
  8. core/assets/js/frontend/email.js +0 -2
  9. core/assets/js/frontend/long-text.js +7 -300
  10. core/assets/js/frontend/number.js +0 -2
  11. core/assets/js/frontend/radio.js +0 -2
  12. core/assets/js/frontend/select.js +0 -1
  13. core/assets/js/parts/part-checkbox.js +0 -37
  14. core/assets/js/parts/part-multi-line-text.js +2 -20
  15. core/classes/class-form-assets.php +7 -37
  16. core/classes/class-form-part-library.php +0 -4
  17. core/classes/class-form-styles.php +1 -37
  18. core/classes/parts/class-part-checkbox.php +0 -8
  19. core/classes/parts/class-part-multi-line-text.php +3 -171
  20. core/helpers/helper-form-templates.php +6 -55
  21. core/templates/customize-controls/messages/text.php +1 -1
  22. core/templates/customize-controls/setup/alert-email-subject.php +1 -1
  23. core/templates/customize-controls/setup/checkbox.php +1 -1
  24. core/templates/customize-controls/setup/editor.php +1 -1
  25. core/templates/customize-controls/setup/number.php +1 -1
  26. core/templates/customize-controls/setup/select.php +1 -1
  27. core/templates/customize-controls/setup/text.php +1 -1
  28. core/templates/customize-controls/setup/textarea.php +1 -1
  29. core/templates/customize-controls/style/code.php +1 -1
  30. core/templates/customize-controls/style/text.php +1 -1
  31. core/templates/partials/customize-field-width.php +23 -8
  32. core/templates/partials/frontend-rich-text-toolbar-icons.php +0 -39
  33. core/templates/parts/block-rich-text.php +0 -23
  34. core/templates/parts/customize-checkbox.php +10 -22
  35. core/templates/parts/customize-email.php +10 -10
  36. core/templates/parts/customize-multi-line-text.php +10 -16
  37. core/templates/parts/customize-number.php +10 -10
  38. core/templates/parts/customize-radio.php +10 -10
  39. core/templates/parts/customize-select.php +10 -10
  40. core/templates/parts/customize-single-line-text.php +10 -10
  41. core/templates/parts/frontend-checkbox.php +1 -13
  42. core/templates/parts/frontend-email.php +1 -3
  43. core/templates/parts/frontend-multi-line-text.php +1 -10
  44. core/templates/parts/frontend-number.php +1 -3
  45. core/templates/parts/frontend-radio.php +1 -3
  46. core/templates/parts/frontend-select.php +1 -3
  47. core/templates/parts/frontend-single-line-text.php +1 -3
  48. core/templates/single-form.php +0 -1
  49. happyforms.php +2 -2
  50. inc/assets/css/dashboard-modals.css +1 -1
  51. inc/assets/js/customize.js +14 -98
  52. inc/assets/js/frontend.js +0 -60
  53. inc/assets/jsx/build/admin/dashboard-modals.asset.php +1 -1
  54. inc/assets/jsx/build/admin/dashboard-modals.js +3 -11
  55. inc/assets/jsx/build/admin/dashboard-modals.js.map +1 -1
  56. inc/assets/jsx/src/admin/dashboard-modals.js +5 -11
  57. inc/classes/class-happyforms.php +0 -46
  58. inc/classes/class-message-controller.php +0 -41
  59. inc/helpers/helper-activation.php +8 -31
  60. inc/templates/customize-controls/checkbox_dummy.php +1 -2
  61. integrations/templates/widget-paypal-dummy.php +13 -7
  62. integrations/templates/widget-recaptcha-dummy.php +13 -6
  63. integrations/templates/widget-stripe-dummy.php +13 -6
  64. languages/happyforms.pot +513 -547
  65. readme.txt +12 -2
core/assets/css/admin.css CHANGED
@@ -223,4 +223,70 @@ p.happyforms-message-nav span.divider:last-child {
223
 
224
  .happyforms-block-placeholder__control-group select {
225
  height: 36px !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  }
223
 
224
  .happyforms-block-placeholder__control-group select {
225
  height: 36px !important;
226
+ }
227
+
228
+ .happyforms-buttongroup {
229
+ display: flex;
230
+ }
231
+
232
+ .happyforms-buttongroup label,
233
+ #happyforms-integrations-screen .widget-content .happyforms-buttongroup label {
234
+ display: inline-flex;
235
+ }
236
+
237
+ .happyforms-buttongroup label span {
238
+ box-shadow: inset 0 0 0 1px #8c8f94;
239
+ padding: 0 8px;
240
+ font-size: 14px;
241
+ line-height: 30px;
242
+ }
243
+
244
+ .happyforms-buttongroup label:first-child span{
245
+ border-radius: 4px 0 0 4px;
246
+ }
247
+
248
+ .happyforms-buttongroup label:last-child span{
249
+ border-radius: 0 4px 4px 0;
250
+ }
251
+
252
+ .happyforms-buttongroup label:nth-child(n+1) {
253
+ margin-left: -1px;
254
+ }
255
+
256
+ .happyforms-buttongroup label input[type='radio'] {
257
+ appearance: none;
258
+ -webkit-appearance: none;
259
+ -moz-appearance: none;
260
+ background-color: #fff;
261
+ margin: 0;
262
+ width: 0;
263
+ min-width: 0px;
264
+ height: 0;
265
+ border: 0;
266
+ }
267
+
268
+
269
+ .happyforms-buttongroup label span:hover {
270
+ color: var(--wp-admin-theme-color);
271
+ }
272
+
273
+ .happyforms-buttongroup input[type='radio']:checked + span {
274
+ white-space: nowrap;
275
+ background: var(--wp-admin-theme-color);
276
+ color: #fff;
277
+ text-decoration: none;
278
+ text-shadow: none;
279
+ outline: 1px solid transparent;
280
+ }
281
+
282
+ .happyforms-buttongroup input:focus + span {
283
+ box-shadow: inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
284
+ outline: 3px solid transparent;
285
+ z-index: 999;
286
+ }
287
+
288
+
289
+ .happyforms-buttongroup input[type='radio']:checked + span:hover,
290
+ .happyforms-buttongroup input:focus + span:hover {
291
+ background: var(--wp-admin-theme-color-darker-10);
292
  }
core/assets/css/color.css CHANGED
@@ -279,32 +279,6 @@
279
  color: var(--happyforms-color-primary);
280
  }
281
 
282
- /* tooltips */
283
-
284
- .happyforms-tooltip-ui {
285
- border-color: var(--happyforms-color-part-border);
286
- }
287
-
288
- .happyforms-tooltip-ui .ui-tooltip-content {
289
- line-height: 1.4;
290
- font-size: 14px;
291
- font-size: var(--happyforms-part-description-font-size);
292
- color: #454545;
293
- color: var(--happyforms-color-part-description);
294
- background-color: #fff;
295
- background-color: var(--happyforms-color-part-background);
296
- }
297
-
298
- .happyforms-tooltip-ui .ui-tooltip-content:after {
299
- border-top-color: #fff;
300
- border-top-color: var(--happyforms-color-part-background);
301
- }
302
-
303
- .happyforms-tooltip-ui--bottom .ui-tooltip-content:after {
304
- border-bottom-color: #fff;
305
- border-bottom-color: var(--happyforms-color-part-background);
306
- }
307
-
308
  /* parts - radio, checkbox */
309
 
310
  .happyforms-styles .happyforms-part .checkmark {
@@ -1031,19 +1005,6 @@
1031
  border-bottom-right-radius: 25px;
1032
  }
1033
 
1034
- .happyforms-styles .happyforms-part--rich_text.happyforms-part--label-below.happyforms-part--has-tooltip .happyforms-visual-editor,
1035
- .happyforms-styles .happyforms-part--rich_text.happyforms-part--label-left.happyforms-part--has-tooltip .happyforms-visual-editor {
1036
- margin-top: 35px;
1037
- }
1038
-
1039
- .happyforms-styles .happyforms-part--rich_text.happyforms-part--label-hidden.happyforms-part--has-tooltip .happyforms-part__el {
1040
- margin-top: 35px;
1041
- }
1042
-
1043
- .happyforms-styles .happyforms-part--rich_text.happyforms-part--label-hidden.happyforms-part--has-tooltip .happyforms-tooltip {
1044
- top: -30px;
1045
- }
1046
-
1047
  .happyforms-styles.happyforms-form--part-border-off .happyforms-part--rich_text .happyforms-visual-editor {
1048
  padding-bottom: 1px;
1049
  }
279
  color: var(--happyforms-color-primary);
280
  }
281
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
  /* parts - radio, checkbox */
283
 
284
  .happyforms-styles .happyforms-part .checkmark {
1005
  border-bottom-right-radius: 25px;
1006
  }
1007
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1008
  .happyforms-styles.happyforms-form--part-border-off .happyforms-part--rich_text .happyforms-visual-editor {
1009
  padding-bottom: 1px;
1010
  }
core/assets/css/customize.css CHANGED
@@ -1706,4 +1706,80 @@ ul.happyforms-parts-list li[data-part-type="rich_text"] {
1706
  display: none;
1707
  }
1708
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1709
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1706
  display: none;
1707
  }
1708
 
1709
+ .happyforms-buttongroup-wrapper {
1710
+ line-height: 1.5;
1711
+ }
1712
+
1713
+
1714
+ .happyforms-buttongroup {
1715
+ display: flex;
1716
+ }
1717
+
1718
+ .happyforms-buttongroup label {
1719
+ display: inline-flex;
1720
+ }
1721
+
1722
+ .happyforms-buttongroup label span {
1723
+ box-shadow: inset 0 0 0 1px #8c8f94;
1724
+ padding: 0 8px;
1725
+ font-size: 14px;
1726
+ line-height: 30px;
1727
+ }
1728
+
1729
+ .happyforms-buttongroup label:first-child span{
1730
+ border-radius: 4px 0 0 4px;
1731
+ }
1732
+
1733
+ .happyforms-buttongroup label:last-child span{
1734
+ border-radius: 0 4px 4px 0;
1735
+ }
1736
+
1737
+ .happyforms-buttongroup label:nth-child(n+1) {
1738
+ margin-left: -1px;
1739
+ }
1740
+
1741
+ .happyforms-buttongroup label input[type='radio'] {
1742
+ appearance: none;
1743
+ -webkit-appearance: none;
1744
+ -moz-appearance: none;
1745
+ background-color: #fff;
1746
+ margin: 0;
1747
+ width: 0;
1748
+ min-width: 0px;
1749
+ height: 0;
1750
+ border: 0;
1751
+ }
1752
+
1753
 
1754
+ .happyforms-buttongroup label span:hover {
1755
+ color: var(--wp-admin-theme-color);
1756
+ }
1757
+
1758
+ .happyforms-buttongroup input[type='radio']:checked + span {
1759
+ white-space: nowrap;
1760
+ background: var(--wp-admin-theme-color);
1761
+ color: #fff;
1762
+ text-decoration: none;
1763
+ text-shadow: none;
1764
+ outline: 1px solid transparent;
1765
+ }
1766
+
1767
+ .happyforms-buttongroup input:focus + span {
1768
+ box-shadow: inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1769
+ outline: 3px solid transparent;
1770
+ z-index: 999;
1771
+ }
1772
+
1773
+
1774
+ .happyforms-buttongroup input[type='radio']:checked + span:hover,
1775
+ .happyforms-buttongroup input:focus + span:hover {
1776
+ background: var(--wp-admin-theme-color-darker-10);
1777
+ }
1778
+
1779
+ .happyforms-buttongroup label[for]:after {
1780
+ content: none !important;
1781
+ }
1782
+
1783
+ .happyforms-buttongroup.happyforms-buttongroup-field_width {
1784
+ margin-top: -1px;
1785
+ }
core/assets/css/layout.css CHANGED
@@ -444,65 +444,6 @@ h3.happyforms-form__title {
444
  margin-right: 0;
445
  }
446
 
447
- /* tooltips */
448
- .happyforms-tooltip__trigger {
449
- background-color: transparent;
450
- pointer-events: auto;
451
- cursor: pointer;
452
- margin-left: 3px;
453
- border: 0 !important;
454
- color: #000;
455
- color: var(--happyforms-color-part-title);
456
- background-color: transparent;
457
- box-shadow: none !important;
458
- }
459
-
460
- .happyforms-tooltip__trigger svg {
461
- width: 15px;
462
- height: 15px;
463
- vertical-align: middle;
464
- }
465
-
466
- .happyforms-tooltip-ui .ui-tooltip-content:before {
467
- content: '';
468
- position: absolute;
469
- top: 100%;
470
- left: calc(25% + 6px);
471
- width: 0;
472
- height: 0;
473
- border: 6px solid transparent;
474
- border-top-color: #dbdbdb;
475
- }
476
-
477
- .happyforms-tooltip-ui .ui-tooltip-content:after {
478
- content: '';
479
- position: absolute;
480
- top: calc(100% - 1px);
481
- left: calc(25% + 7px);
482
- width: 0;
483
- height: 0;
484
- border: 5px solid transparent;
485
- border-top-color: #fff;
486
- }
487
-
488
- .happyforms-tooltip-ui--bottom {
489
- margin-top: 5px;
490
- }
491
-
492
- .happyforms-tooltip-ui--bottom .ui-tooltip-content:before {
493
- top: auto;
494
- bottom: 100%;
495
- border: 6px solid transparent;
496
- border-bottom-color: #dbdbdb;
497
- }
498
-
499
- .happyforms-tooltip-ui--bottom .ui-tooltip-content:after {
500
- top: auto;
501
- bottom: calc(100% - 1px);
502
- border: 5px solid transparent;
503
- border-bottom-color: #fff;
504
- }
505
-
506
  /* parts - radio, checkbox */
507
 
508
  .happyforms-part--choice .happyforms-part__el {
@@ -1292,24 +1233,6 @@ input[type=submit][disabled].happyforms-button--submit {
1292
  width: 100%;
1293
  }
1294
 
1295
- .happyforms-tooltip-ui {
1296
- padding: 8px;
1297
- position: absolute;
1298
- z-index: 9999;
1299
- min-width: auto;
1300
- max-width: 350px;
1301
- border-radius: 6px;
1302
- font-size: 14px;
1303
- border: 1px solid #dbdbdb;
1304
- background: #fff;
1305
- overflow-wrap: anywhere;
1306
- }
1307
-
1308
- .happyforms-tooltip-ui .ui-widget-content {
1309
- background: #ffffff;
1310
- color: #000;
1311
- }
1312
-
1313
  .happyforms-part--choice .happyforms-part-option--other input[type=text] {
1314
  display: none;
1315
  margin-top: 10px !important;
@@ -1630,12 +1553,3 @@ div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link .mce-btn:active {
1630
  overflow-y: scroll;
1631
  color: transparent;
1632
  }
1633
-
1634
- .happyforms-part--rich_text.happyforms-part--label-below.happyforms-part--has-tooltip .happyforms-visual-editor,
1635
- .happyforms-part--rich_text.happyforms-part--label-left.happyforms-part--has-tooltip .happyforms-visual-editor {
1636
- margin-top: 35px;
1637
- }
1638
-
1639
- .happyforms-part--rich_text.happyforms-part--label-hidden.happyforms-part--has-tooltip .happyforms-part__el {
1640
- margin-top: 35px;
1641
- }
444
  margin-right: 0;
445
  }
446
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
447
  /* parts - radio, checkbox */
448
 
449
  .happyforms-part--choice .happyforms-part__el {
1233
  width: 100%;
1234
  }
1235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1236
  .happyforms-part--choice .happyforms-part-option--other input[type=text] {
1237
  display: none;
1238
  margin-top: 10px !important;
1553
  overflow-y: scroll;
1554
  color: transparent;
1555
  }
 
 
 
 
 
 
 
 
 
core/assets/css/preview.css CHANGED
@@ -81,11 +81,6 @@ a.happyforms-ask-link.customize-unpreviewable {
81
  display: none !important;
82
  }
83
 
84
- .happyforms-part--focus-reveal-description input:focus + .happyforms-part__tooltip + .happyforms-part__description,
85
- .happyforms-part--focus-reveal-description textarea:focus + .happyforms-part__tooltip + .happyforms-part__description {
86
- display: block;
87
- }
88
-
89
  .preview-hidden {
90
  display: none !important;
91
  }
81
  display: none !important;
82
  }
83
 
 
 
 
 
 
84
  .preview-hidden {
85
  display: none !important;
86
  }
core/assets/css/rich-text-editor.css DELETED
@@ -1,63 +0,0 @@
1
- html.happyforms-form--part-value-text-align-center body {
2
- text-align: center;
3
- }
4
-
5
- html.happyforms-form--part-value-text-align-right body {
6
- text-align: right;
7
- }
8
-
9
- body {
10
- padding: 10px;
11
- font-size: 16px;
12
- font-size: var(--happyforms-part-value-font-size);
13
- background: transparent !important;
14
- color: #000;
15
- color: var(--happyforms-color-part-value);
16
- }
17
-
18
- html.happyforms-form--part-inner-padding-wide body {
19
- padding-top: 15px;
20
- }
21
-
22
- p, strong, em, ul, ol, li, blockquote, pre {
23
- margin: 0;
24
- padding: 0;
25
- border: 0;
26
- background: transparent !important;
27
- color: #000;
28
- color: var(--happyforms-color-part-value);
29
- }
30
-
31
- ol, ul {
32
- list-style: none;
33
- }
34
-
35
- ul {
36
- list-style-type: disc;
37
- }
38
-
39
- ol {
40
- list-style-type: decimal;
41
- }
42
-
43
- ul:before, ul:after, li:before, li:after {
44
- content: '';
45
- width: 0;
46
- height: 0;
47
- background: transparent;
48
- }
49
-
50
- strong {
51
- font-weight: bold !important;
52
- }
53
-
54
- em {
55
- font-style: italic !important;
56
- }
57
-
58
- ul, ol, blockquote {
59
- margin: 20px 0;
60
- padding-left: 40px;
61
- font-size: 16px;
62
- font-size: var(--happyforms-part-value-font-size) !important;
63
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
core/assets/js/frontend/checkbox.js CHANGED
@@ -6,34 +6,10 @@
6
  init: function() {
7
  this.type = this.$el.data( 'happyforms-type' );
8
  this.$input = $( 'input', this.$el );
9
- this.$selectAllCheckbox = $( 'input.happyforms-select-all', this.$el );
10
-
11
- if ( this.$selectAllCheckbox.length ) {
12
- this.$input.on( 'change', this.onCheckboxChange.bind( this ) );
13
- this.$selectAllCheckbox.on( 'change', this.onSelectAllChange.bind( this ) );
14
- }
15
 
16
  this.$input.on( 'change', this.triggerChange.bind( this ) );
17
  this.$input.on( 'change', this.onCheckboxChange.bind( this ) );
18
  this.$input.on( 'focus', this.onFocus.bind( this ) );
19
-
20
- this.initTooltip();
21
- },
22
-
23
- onSelectAllChange: function() {
24
- if ( this.$selectAllCheckbox.is( ':checked' ) ) {
25
- this.$input.each( function( i, input ) {
26
- if ( $(input).hasClass( 'happyforms-checkbox' ) ) {
27
- $(input).prop( 'checked', true );
28
- }
29
- } );
30
- } else {
31
- this.$input.each( function( i, input ) {
32
- if ( $(input).hasClass( 'happyforms-checkbox' ) ) {
33
- $(input).prop( 'checked', false );
34
- }
35
- } );
36
- }
37
  },
38
 
39
  onCheckboxChange: function( e ) {
6
  init: function() {
7
  this.type = this.$el.data( 'happyforms-type' );
8
  this.$input = $( 'input', this.$el );
 
 
 
 
 
 
9
 
10
  this.$input.on( 'change', this.triggerChange.bind( this ) );
11
  this.$input.on( 'change', this.onCheckboxChange.bind( this ) );
12
  this.$input.on( 'focus', this.onFocus.bind( this ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  },
14
 
15
  onCheckboxChange: function( e ) {
core/assets/js/frontend/email.js CHANGED
@@ -12,8 +12,6 @@
12
  this.$input.on( 'change', this.triggerChange.bind( this ) );
13
  this.$input.on( 'focus', this.onInputFocus.bind( this ) );
14
  this.$visualInput.on( 'blur', this.onBlur.bind( this ) );
15
-
16
- this.initTooltip();
17
  }
18
  };
19
 
12
  this.$input.on( 'change', this.triggerChange.bind( this ) );
13
  this.$input.on( 'focus', this.onInputFocus.bind( this ) );
14
  this.$visualInput.on( 'blur', this.onBlur.bind( this ) );
 
 
15
  }
16
  };
17
 
core/assets/js/frontend/long-text.js CHANGED
@@ -2,155 +2,30 @@
2
 
3
  HappyForms.parts = HappyForms.parts || {};
4
 
5
- window._wpLink = {};
6
-
7
- var defaultOnPostRender = function( editor, settings, e ) {
8
- e.target.$el.html( $( '#' + settings.icon ).html() );
9
- };
10
-
11
- var GetButton = function( editor, settings ) {
12
- var onPostRender = settings.onPostRender || defaultOnPostRender;
13
-
14
- var button = Object.assign( {}, settings, {
15
- onClick: settings.onClick.bind( this, editor ),
16
- onPostRender: onPostRender.bind( this, editor, settings ),
17
- } );
18
-
19
- return button;
20
- };
21
-
22
- var buttons = {
23
- hfbold: {
24
- icon: 'happyforms-rich-text-icon-bold',
25
- stateSelector: 'strong',
26
-
27
- onClick: function ( editor ) {
28
- editor.execCommand( 'mceToggleFormat', false, 'bold' );
29
- },
30
- },
31
- hfitalic: {
32
- icon: 'happyforms-rich-text-icon-italic',
33
- stateSelector: 'em',
34
-
35
- onClick: function ( editor ) {
36
- editor.execCommand( 'mceToggleFormat', false, 'italic' );
37
- },
38
- },
39
- hful: {
40
- icon: 'happyforms-rich-text-icon-ul',
41
- stateSelector: 'ul',
42
-
43
- onClick: function ( editor ) {
44
- editor.execCommand( 'InsertUnorderedList' );
45
- },
46
- },
47
- hfol: {
48
- icon: 'happyforms-rich-text-icon-ol',
49
- stateSelector: 'ol',
50
-
51
- onClick: function ( editor ) {
52
- editor.execCommand( 'InsertOrderedList' );
53
- },
54
- },
55
- hfquote: {
56
- icon: 'happyforms-rich-text-icon-quote',
57
- stateSelector: 'blockquote',
58
-
59
- onClick: function ( editor ) {
60
- editor.execCommand( 'mceToggleFormat', false, 'blockquote' );
61
- },
62
- },
63
- hfcode: {
64
- icon: 'happyforms-rich-text-icon-code',
65
- stateSelector: 'pre',
66
-
67
- onClick: function ( editor ) {
68
- editor.execCommand( 'mceToggleFormat', false, 'pre' );
69
- },
70
- },
71
- hfstrike: {
72
- icon: 'happyforms-rich-text-icon-strike',
73
- stateSelector: 'del',
74
-
75
- onClick: function ( editor ) {
76
- editor.execCommand( 'mceToggleFormat', false, 'strikethrough' );
77
- },
78
- },
79
- hfunderline: {
80
- icon: 'happyforms-rich-text-icon-underline',
81
-
82
- onClick: function ( editor ) {
83
- editor.execCommand( 'mceToggleFormat', false, 'underline' );
84
- },
85
-
86
- onPostRender: function( editor, settings, e ) {
87
- defaultOnPostRender.apply( this, arguments );
88
-
89
- var self = e.target;
90
-
91
- editor.on( 'NodeChange', function( e ) {
92
- self.active( 'underline' === e.element.style.textDecoration );
93
- } );
94
- },
95
- },
96
- hfhr: {
97
- icon: 'happyforms-rich-text-icon-hr',
98
-
99
- onClick: function ( editor ) {
100
- editor.execCommand( 'InsertHorizontalRule' );
101
- },
102
- },
103
- };
104
-
105
  HappyForms.parts.multi_line_text = {
106
  init: function( options ) {
107
  this.$form = options.form;
108
- this.rich = this.$el.hasClass( 'happyforms-part--rich_text' );
109
  this.type = this.$el.data( 'happyforms-type' );
110
  this.$input = $( 'textarea', this.$el );
111
  this.$counter = $( '.happyforms-part__char-counter span.counter', this.$el );
112
 
113
- if ( ! this.rich ) {
114
- this.$input.on( 'blur', this.onBlur.bind( this ) );
115
- this.$input.on( 'keyup', this.triggerChange.bind( this ) );
116
- this.$input.on( 'change', this.triggerChange.bind( this ) );
117
- this.$el.on( 'keyup', this.refreshCounter.bind( this ) );
118
- this.refreshCounter();
119
- $( '.happyforms-part__char-counter' ).show();
120
- } else {
121
- this.editorId = this.$input.attr( 'id' );
122
- this.editor = null;
123
-
124
- this.$el.on( 'happyforms.attach', this.editorCreate.bind( this ) );
125
- this.$el.on( 'happyforms.detach', this.editorDestroy.bind( this ) );
126
- this.$el.on( 'happyforms.formclass', this.onFormClassChange.bind( this ) );
127
- this.$el.on( 'happyforms.cssvar', this.onCSSVarChange.bind( this ) );
128
-
129
- this.editorCreate();
130
- }
131
- this.initTooltip();
132
  },
133
 
134
  getValueLength: function() {
135
  var mode = this.$input.attr( 'data-length-mode' );
136
  var value = this.$input.val();
137
 
138
- if ( this.rich ) {
139
- value = this.editor.getContent( { format: 'text' } );
140
- value = value.replace( /[\r\n]+/gm, ' ' );
141
- value = value.replace(/\s+/g,' ');
142
- value = value.trim();
143
- }
144
-
145
  var length = value.length;
146
 
147
  if ( 'word' === mode ) {
148
  var matches = value.match( /\w+/g );
149
  length = matches ? matches.length : 0;
150
- } else {
151
- if ( this.rich && '\n' === value ) {
152
- length --;
153
- }
154
  }
155
 
156
  return length;
@@ -167,105 +42,6 @@
167
  this.$counter.text( length );
168
  },
169
 
170
- editorCreate: function() {
171
- var self = this;
172
-
173
- tinymce.init( {
174
- selector: '#' + this.editorId,
175
- branding: false,
176
- menubar: false,
177
- toolbar1: 'hfbold,hfitalic,hful,hfol,hfquote,link,unlink,hfcode,hfstrike,hfunderline,hfhr',
178
- statusbar: true,
179
- resize: true,
180
- plugins: 'hr,paste',
181
- content_css: editorSettings.contentCSS,
182
- valid_elements: editorSettings.validElements,
183
- paste_as_text: true,
184
- inline_styles: false,
185
- min_height: 50,
186
- formats: {
187
- underline: { inline: 'u', exact : true },
188
- strikethrough: { inline: 'del', exact : true },
189
- },
190
-
191
- setup: function( editor ) {
192
- var wpAddButton = editor.addButton;
193
-
194
- // Remove tooltips
195
- editor.addButton = function( id, options ) {
196
- switch ( id ) {
197
- case 'link':
198
- case 'unlink':
199
- case 'wp_link_apply':
200
- case 'wp_link_edit':
201
- case 'wp_link_remove':
202
- delete options.tooltip;
203
- break;
204
- default:
205
- break;
206
- }
207
-
208
- return wpAddButton.apply( this, arguments );
209
- }
210
-
211
- // Add custom buttons
212
- for ( var button in buttons ) {
213
- editor.addButton( button, GetButton( editor, buttons[button] ) );
214
- }
215
-
216
- // Inherit form class, fonts and css-vars
217
- editor.on( 'init', function() {
218
- self.editor = editor;
219
-
220
- self.inheritFormClass();
221
- self.inheritFonts();
222
-
223
- var target = self.editor.dom.doc.querySelector( 'body' );
224
- self.inheritCSSVars( editorSettings.cssVars, target );
225
- self.refreshCounter();
226
- $( '.happyforms-part__char-counter' ).show();
227
- } );
228
-
229
- // Custom main toolbar icons
230
- editor.on( 'postrender', function() {
231
- var $el = $( editor.container );
232
-
233
- $( 'i.mce-i-link', $el ).replaceWith(
234
- $( '#happyforms-rich-text-icon-link' ).html()
235
- );
236
-
237
- $( 'i.mce-i-unlink', $el ).replaceWith(
238
- $( '#happyforms-rich-text-icon-unlink' ).html()
239
- );
240
-
241
- self.editor = editor;
242
-
243
- var target = self.editor.dom.doc.querySelector( 'body' );
244
- target.style.color = $( 'body' ).css( 'color' );
245
- } );
246
-
247
- editor.on( 'change', self.onEditorChange.bind( self ) );
248
- editor.on( 'focus', self.onFocus.bind( self ) );
249
- editor.on( 'blur', self.onBlur.bind( self ) );
250
- editor.on( 'keyup', self.refreshCounter.bind( self ) );
251
- },
252
- } );
253
- },
254
-
255
- editorDestroy: function() {
256
- var editor = tinymce.get( this.editorId );
257
-
258
- if ( editor ) {
259
- editor.remove();
260
- }
261
-
262
- self.editor = null;
263
- },
264
-
265
- onEditorChange: function() {
266
- this.triggerChange();
267
- },
268
-
269
  onFocus: function() {
270
  this.$el.addClass( 'focus' );
271
  },
@@ -274,84 +50,15 @@
274
  this.$el.removeClass( 'focus' );
275
  },
276
 
277
- inheritFormClass: function() {
278
- this.editor.dom.doc.documentElement.className = this.$form.attr( 'class' );
279
- },
280
-
281
- inheritCSSVars: function( vars, target ) {
282
- var styles = getComputedStyle( this.$form[0] );
283
-
284
- if ( 'object' !== typeof vars ) {
285
- return;
286
- }
287
-
288
- vars.forEach( function( variable ) {
289
- var value = styles.getPropertyValue( variable );
290
- target.style.setProperty( variable, value );
291
- } );
292
- },
293
-
294
- inheritFonts: function() {
295
- var formStyle = getComputedStyle( this.$form[0] );
296
- var stylesheets = [].slice.call( document.styleSheets );
297
- var editorDocument = this.editor.dom.doc;
298
-
299
- // Append parent stylesheets to editor
300
- stylesheets
301
- .map( function( stylesheet ) {
302
- if ( ! stylesheet.ownerNode ) {
303
- return null;
304
- }
305
-
306
- return stylesheet.ownerNode.cloneNode();
307
- } )
308
- .forEach( function( node ) {
309
- if ( node ) {
310
- editorDocument.head.insertBefore( node, editorDocument.head.firstChild );
311
- }
312
- } );
313
-
314
- // Apply font-family
315
- editorDocument.body.style.setProperty( 'font-family', formStyle.getPropertyValue( 'font-family' ) );
316
- },
317
-
318
- onFormClassChange: function( e, classes ) {
319
- if ( this.editor ) {
320
- this.editor.dom.doc.documentElement.className = classes;
321
- }
322
- },
323
-
324
- onCSSVarChange: function( e, variable ) {
325
- if ( this.editor ) {
326
- this.editor.dom.doc.querySelector( 'body' ).style.setProperty( variable.name, variable.value );
327
-
328
- $( '.happyforms-editor-toolbar-link' ).each( function() {
329
- this.style.setProperty( variable.name, variable.value );
330
- } );
331
- }
332
- },
333
-
334
  isFilled: function() {
335
- if ( this.rich ) {
336
- var content = tinymce.get( this.editorId ).getContent();
337
- return '' !== content;
338
- }
339
-
340
  return '' !== this.$input.val();
341
  },
342
 
343
  serialize: function() {
344
  var serialized = HappyForms.parts.base.serialize.apply( this, arguments );
345
 
346
- if ( this.rich ) {
347
- serialized = [ {
348
- name: this.$input.attr( 'name' ),
349
- value: tinymce.get( this.editorId ).getContent(),
350
- } ];
351
- }
352
-
353
  return serialized;
354
  }
355
  };
356
 
357
- } )( jQuery, _happyFormsRichTextSettings );
2
 
3
  HappyForms.parts = HappyForms.parts || {};
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  HappyForms.parts.multi_line_text = {
6
  init: function( options ) {
7
  this.$form = options.form;
 
8
  this.type = this.$el.data( 'happyforms-type' );
9
  this.$input = $( 'textarea', this.$el );
10
  this.$counter = $( '.happyforms-part__char-counter span.counter', this.$el );
11
 
12
+ this.$input.on( 'blur', this.onBlur.bind( this ) );
13
+ this.$input.on( 'keyup', this.triggerChange.bind( this ) );
14
+ this.$input.on( 'change', this.triggerChange.bind( this ) );
15
+ this.$el.on( 'keyup', this.refreshCounter.bind( this ) );
16
+ this.refreshCounter();
17
+ $( '.happyforms-part__char-counter' ).show();
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  },
19
 
20
  getValueLength: function() {
21
  var mode = this.$input.attr( 'data-length-mode' );
22
  var value = this.$input.val();
23
 
 
 
 
 
 
 
 
24
  var length = value.length;
25
 
26
  if ( 'word' === mode ) {
27
  var matches = value.match( /\w+/g );
28
  length = matches ? matches.length : 0;
 
 
 
 
29
  }
30
 
31
  return length;
42
  this.$counter.text( length );
43
  },
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  onFocus: function() {
46
  this.$el.addClass( 'focus' );
47
  },
50
  this.$el.removeClass( 'focus' );
51
  },
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  isFilled: function() {
 
 
 
 
 
54
  return '' !== this.$input.val();
55
  },
56
 
57
  serialize: function() {
58
  var serialized = HappyForms.parts.base.serialize.apply( this, arguments );
59
 
 
 
 
 
 
 
 
60
  return serialized;
61
  }
62
  };
63
 
64
+ } )( jQuery );
core/assets/js/frontend/number.js CHANGED
@@ -37,8 +37,6 @@
37
  self.cleaveInstances.push( cleave );
38
  } );
39
  }
40
-
41
- this.initTooltip();
42
  this.onBlur();
43
  },
44
 
37
  self.cleaveInstances.push( cleave );
38
  } );
39
  }
 
 
40
  this.onBlur();
41
  },
42
 
core/assets/js/frontend/radio.js CHANGED
@@ -12,8 +12,6 @@
12
  this.$input.on( 'change', this.triggerChange.bind( this ) );
13
  this.$input.on( 'change', this.onRadioChange.bind( this ) );
14
  this.$input.on( 'focus', this.onFocus.bind( this ) );
15
-
16
- this.initTooltip();
17
  },
18
 
19
  onRadioChange: function( e ) {
12
  this.$input.on( 'change', this.triggerChange.bind( this ) );
13
  this.$input.on( 'change', this.onRadioChange.bind( this ) );
14
  this.$input.on( 'focus', this.onFocus.bind( this ) );
 
 
15
  },
16
 
17
  onRadioChange: function( e ) {
core/assets/js/frontend/select.js CHANGED
@@ -18,7 +18,6 @@
18
  });
19
 
20
  this.$input.on( 'blur', this.onBlur.bind(this) );
21
- this.initTooltip();
22
  },
23
 
24
  onBlur: function() {
18
  });
19
 
20
  this.$input.on( 'blur', this.onBlur.bind(this) );
 
21
  },
22
 
23
  onBlur: function() {
core/assets/js/parts/part-checkbox.js CHANGED
@@ -234,8 +234,6 @@
234
  this.listenTo( this.optionViews, 'reset', this.onOptionViewsSorted );
235
  this.listenTo( this, 'sort-stop', this.onOptionSortStop );
236
  this.listenTo( this, 'ready', this.onReady );
237
- this.listenTo( this.model, 'change:show_select_all', this.onSelectAllChange );
238
- this.listenTo( this.model, 'change:select_all_label', this.onSelectAllLabelChange );
239
 
240
  this.listenTo( this.model, 'change:other_option', this.onAddOtherOption );
241
  this.listenTo( this.model, 'change:other_option_label', this.onOtherOptionLabelChange );
@@ -473,34 +471,6 @@
473
  $( '.add-options', this.$el ).trigger( 'click' );
474
  },
475
 
476
- onSelectAllChange: function( model, value ) {
477
- var $selectAllOptions = $( '.happyforms-nested-settings[data-trigger="show_select_all"]', this.$el );
478
-
479
- if ( 1 == value ) {
480
- $selectAllOptions.show();
481
- } else {
482
- $selectAllOptions.hide();
483
- }
484
-
485
- this.model.fetchHtml( function( response ) {
486
- var data = {
487
- id: model.get( 'id' ),
488
- html: response,
489
- };
490
-
491
- happyForms.previewSend( 'happyforms-form-part-refresh', data );
492
- } );
493
- },
494
-
495
- onSelectAllLabelChange: function( model, value ) {
496
- var data = {
497
- id: this.model.get( 'id' ),
498
- callback: 'onCheckboxSelectAllLabelChangeCallback'
499
- };
500
-
501
- happyForms.previewSend( 'happyforms-part-dom-update', data );
502
- },
503
-
504
  onAddOtherOption: function( model, value ) {
505
  var $otherOptionOptions = $( '.happyforms-nested-settings[data-trigger="other_option"]', this.$el );
506
 
@@ -612,13 +582,6 @@
612
  $option.remove();
613
  },
614
 
615
- onCheckboxSelectAllLabelChangeCallback: function( id, html, options ) {
616
- var part = this.getPartModel( id );
617
- var $part = this.getPartElement( html );
618
-
619
- this.$( '.happyforms-part-option--select-all .label', $part ).text( part.get( 'select_all_label' ) );
620
- },
621
-
622
  onCheckboxOtherOptionLabelChangeCallback: function( id, html, options ) {
623
  var part = this.getPartModel( id );
624
  var $part = this.getPartElement( html );
234
  this.listenTo( this.optionViews, 'reset', this.onOptionViewsSorted );
235
  this.listenTo( this, 'sort-stop', this.onOptionSortStop );
236
  this.listenTo( this, 'ready', this.onReady );
 
 
237
 
238
  this.listenTo( this.model, 'change:other_option', this.onAddOtherOption );
239
  this.listenTo( this.model, 'change:other_option_label', this.onOtherOptionLabelChange );
471
  $( '.add-options', this.$el ).trigger( 'click' );
472
  },
473
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
474
  onAddOtherOption: function( model, value ) {
475
  var $otherOptionOptions = $( '.happyforms-nested-settings[data-trigger="other_option"]', this.$el );
476
 
582
  $option.remove();
583
  },
584
 
 
 
 
 
 
 
 
585
  onCheckboxOtherOptionLabelChangeCallback: function( id, html, options ) {
586
  var part = this.getPartModel( id );
587
  var $part = this.getPartElement( html );
core/assets/js/parts/part-multi-line-text.js CHANGED
@@ -22,8 +22,6 @@
22
  this.listenTo( this.model, 'change:character_limit_mode', this.onCharacterLimitModeChange );
23
  this.listenTo( this.model, 'change:characters_label', this.onLimitWordsCharactersLabelChange );
24
  this.listenTo( this.model, 'change:words_label', this.onLimitWordsCharactersLabelChange );
25
-
26
- this.listenTo( this.model, 'change:rich_text', this.onRichTextChange );
27
  },
28
 
29
  /**
@@ -132,23 +130,6 @@
132
  };
133
 
134
  happyForms.previewSend( 'happyforms-part-dom-update', data );
135
- },
136
-
137
- onRichTextChange: function( model, value ) {
138
- if ( 1 == value ) {
139
- $( '.happyforms-placeholder-option', this.$el ).hide();
140
- } else {
141
- $( '.happyforms-placeholder-option', this.$el ).show();
142
- }
143
-
144
- model.fetchHtml( function( response ) {
145
- var data = {
146
- id: model.get( 'id' ),
147
- html: response,
148
- };
149
-
150
- happyForms.previewSend( 'happyforms-form-part-refresh', data );
151
- } );
152
  }
153
 
154
  } );
@@ -172,11 +153,12 @@
172
 
173
  this.$( 'textarea', $part ).attr( 'rows', options.value );
174
  },
 
175
  onCharacterLimitChange: function (id, html, options) {
176
  var part = this.getPartModel(id);
177
  var $part = this.getPartElement(html);
178
 
179
- this.$('.happyforms-part__char-counter span.counter-limit', $part).html(part.get('character_limit'));
180
  },
181
  } );
182
 
22
  this.listenTo( this.model, 'change:character_limit_mode', this.onCharacterLimitModeChange );
23
  this.listenTo( this.model, 'change:characters_label', this.onLimitWordsCharactersLabelChange );
24
  this.listenTo( this.model, 'change:words_label', this.onLimitWordsCharactersLabelChange );
 
 
25
  },
26
 
27
  /**
130
  };
131
 
132
  happyForms.previewSend( 'happyforms-part-dom-update', data );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  }
134
 
135
  } );
153
 
154
  this.$( 'textarea', $part ).attr( 'rows', options.value );
155
  },
156
+
157
  onCharacterLimitChange: function (id, html, options) {
158
  var part = this.getPartModel(id);
159
  var $part = this.getPartElement(html);
160
 
161
+ this.$( '.happyforms-part__char-counter span.counter-limit', $part ).html( part.get( 'character_limit' ) );
162
  },
163
  } );
164
 
core/classes/class-form-assets.php CHANGED
@@ -29,7 +29,6 @@ class HappyForms_Form_Assets {
29
  }
30
 
31
  add_action( 'wp_print_footer_scripts', array( $this, 'wp_print_footer_scripts' ), 0 );
32
- add_filter( 'happyforms_frontend_dependencies', array( $this, 'frontend_dependencies' ), 10, 2 );
33
  add_action( 'elementor/theme/after_do_popup', array( $this, 'elementor_popup_compatibility' ) );
34
  }
35
 
@@ -59,8 +58,8 @@ class HappyForms_Form_Assets {
59
 
60
  wp_register_script( 'happyforms-settings', '', array(), HAPPYFORMS_VERSION, true );
61
 
62
- $settings = apply_filters( 'happyforms_frontend_settings', array(
63
- 'ajaxUrl' => admin_url( 'admin-ajax.php' )
64
  ) );
65
 
66
  wp_localize_script( 'happyforms-settings', '_happyFormsSettings', $settings );
@@ -102,7 +101,7 @@ class HappyForms_Form_Assets {
102
  'src' => $dep->src
103
  );
104
  }
105
-
106
  wp_scripts()->print_extra_script( $handle );
107
  }
108
 
@@ -130,11 +129,11 @@ class HappyForms_Form_Assets {
130
  var script = document.createElement( 'script' );
131
  script.id = item.id + '-js';
132
  script.src = item.src;
133
-
134
  script.addEventListener( 'load', function() {
135
  enqueueNextScript();
136
  } );
137
-
138
  document.body.appendChild( script );
139
  }
140
 
@@ -150,7 +149,7 @@ class HappyForms_Form_Assets {
150
 
151
  public function output( $form, $mode = self::MODE_COMPLETE ) {
152
  switch( $mode ) {
153
- case self::MODE_NONE:
154
  break;
155
  case self::MODE_ADMIN:
156
  case self::MODE_BLOCK:
@@ -162,7 +161,7 @@ class HappyForms_Form_Assets {
162
  $this->output_admin_styles( $form );
163
  $this->output_frontend_scripts( $form );
164
  break;
165
- case self::MODE_COMPLETE:
166
  $this->output_frontend_styles( $form );
167
  $this->output_frontend_scripts( $form );
168
  break;
@@ -217,35 +216,6 @@ class HappyForms_Form_Assets {
217
  do_action( 'happyforms_print_scripts', $this->forms );
218
  }
219
 
220
- public function frontend_dependencies( $deps, $forms ) {
221
- $has_tooltips = false;
222
-
223
- foreach( $forms as $form ) {
224
- if ( 'tooltip' === $form['part_description_mode'] ) {
225
- $has_tooltips = true;
226
- break;
227
- }
228
-
229
- foreach( $form['parts'] as $part ) {
230
- if ( ( isset( $part['tooltip_description'] )
231
- && 1 === intval( $part['tooltip_description'] ) )
232
- || ( isset( $part['description_mode'] )
233
- && 'tooltip' === $part['description_mode'] ) ) {
234
-
235
- $has_tooltips = true;
236
- break 2;
237
- }
238
- }
239
- }
240
-
241
- if ( $has_tooltips || is_customize_preview() ) {
242
- $deps[] = 'jquery-ui-core';
243
- $deps[] = 'jquery-ui-tooltip';
244
- }
245
-
246
- return $deps;
247
- }
248
-
249
  public function elementor_popup_compatibility() {
250
  ?>
251
  <script type="text/javascript">
29
  }
30
 
31
  add_action( 'wp_print_footer_scripts', array( $this, 'wp_print_footer_scripts' ), 0 );
 
32
  add_action( 'elementor/theme/after_do_popup', array( $this, 'elementor_popup_compatibility' ) );
33
  }
34
 
58
 
59
  wp_register_script( 'happyforms-settings', '', array(), HAPPYFORMS_VERSION, true );
60
 
61
+ $settings = apply_filters( 'happyforms_frontend_settings', array(
62
+ 'ajaxUrl' => admin_url( 'admin-ajax.php' )
63
  ) );
64
 
65
  wp_localize_script( 'happyforms-settings', '_happyFormsSettings', $settings );
101
  'src' => $dep->src
102
  );
103
  }
104
+
105
  wp_scripts()->print_extra_script( $handle );
106
  }
107
 
129
  var script = document.createElement( 'script' );
130
  script.id = item.id + '-js';
131
  script.src = item.src;
132
+
133
  script.addEventListener( 'load', function() {
134
  enqueueNextScript();
135
  } );
136
+
137
  document.body.appendChild( script );
138
  }
139
 
149
 
150
  public function output( $form, $mode = self::MODE_COMPLETE ) {
151
  switch( $mode ) {
152
+ case self::MODE_NONE:
153
  break;
154
  case self::MODE_ADMIN:
155
  case self::MODE_BLOCK:
161
  $this->output_admin_styles( $form );
162
  $this->output_frontend_scripts( $form );
163
  break;
164
+ case self::MODE_COMPLETE:
165
  $this->output_frontend_styles( $form );
166
  $this->output_frontend_scripts( $form );
167
  break;
216
  do_action( 'happyforms_print_scripts', $this->forms );
217
  }
218
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  public function elementor_popup_compatibility() {
220
  ?>
221
  <script type="text/javascript">
core/classes/class-form-part-library.php CHANGED
@@ -252,10 +252,6 @@ class HappyForms_Form_Part_Library {
252
  $class[] = $part_data['css_class'];
253
  }
254
 
255
- if ( isset( $part_data['tooltip_description'] ) && 1 === intval( $part_data['tooltip_description'] ) || isset( $part_data['description_mode'] ) && 'tooltip' === $part_data['description_mode'] ) {
256
- $class[] = 'happyforms-part--has-tooltip';
257
- }
258
-
259
  return $class;
260
  }
261
 
252
  $class[] = $part_data['css_class'];
253
  }
254
 
 
 
 
 
255
  return $class;
256
  }
257
 
core/classes/class-form-styles.php CHANGED
@@ -40,7 +40,6 @@ class HappyForms_Form_Styles {
40
  add_filter( 'happyforms_form_class', array( $this, 'form_html_class' ), 10, 2 );
41
  add_filter( 'happyforms_form_class', array( $this, 'form_html_class_title_display' ), 10, 2 );
42
  add_filter( 'happyforms_form_class', array( $this, 'form_html_class_compat' ), PHP_INT_MAX, 2 );
43
- add_filter( 'happyforms_get_form_data', array( $this, 'control_global_description_settings' ) );
44
  add_filter( 'happyforms_get_form_data', array( $this, 'cap_form_width' ) );
45
  add_action( 'happyforms_do_style_control', array( $this, 'do_control' ), 10, 3 );
46
  add_action( 'happyforms_do_style_control', array( $this, 'do_deprecated_control' ), 10, 3 );
@@ -228,15 +227,6 @@ class HappyForms_Form_Styles {
228
  'variable' => '--happyforms-part-description-font-size',
229
  'sanitize' => 'sanitize_text_field'
230
  ),
231
- 'part_description_mode' => array (
232
- 'default' => '',
233
- 'options' => array(
234
- 'standard' => __( 'Standard', 'happyforms' ),
235
- 'tooltip' => __( 'Tooltip', 'happyforms' ),
236
- ),
237
- 'target' => '',
238
- 'sanitize' => 'sanitize_text_field'
239
- ),
240
  'part_value_alignment' => array(
241
  'default' => '',
242
  'options' => array(
@@ -706,11 +696,6 @@ class HappyForms_Form_Styles {
706
  'label' => __( 'Hint font size', 'happyforms' ),
707
  'field' => 'part_description_font_size',
708
  ),
709
- 3101 => array(
710
- 'type' => 'custom-select',
711
- 'label' => __( 'Hint display', 'happyforms' ),
712
- 'field' => 'part_description_mode',
713
- ),
714
  3200 => array(
715
  'type' => 'buttonset',
716
  'label' => __( 'Placeholder &amp; value alignment', 'happyforms' ),
@@ -969,22 +954,6 @@ class HappyForms_Form_Styles {
969
  return $controls;
970
  }
971
 
972
- public function control_global_description_settings( $form ) {
973
- if( empty( $form['part_description_mode'] ) ) {
974
- return $form;
975
- }
976
-
977
- foreach( $form['parts'] as $p => $part ) {
978
- if( empty($form['parts'][$p]['description']) ){
979
- continue;
980
- }
981
-
982
- $form['parts'][$p]['description_mode'] = $form['part_description_mode'];
983
- }
984
-
985
- return $form;
986
- }
987
-
988
  public function cap_form_width( $form ) {
989
  $form['form_width'] = preg_replace( '/[^\d*]/', '', $form['form_width'] );
990
  $form['form_width'] = intval( $form['form_width'] );
@@ -995,7 +964,7 @@ class HappyForms_Form_Styles {
995
  public function filter_obsolete_form_width( $styles, $form ) {
996
  $form_width = $form['form_width'];
997
 
998
- if ( '' == $form_width || 100 == $form_width ) {
999
  unset( $styles['form_width'] );
1000
  }
1001
 
@@ -1104,11 +1073,6 @@ class HappyForms_Form_Styles {
1104
  $class['happyforms-part-description-mode-standard'] = '';
1105
  }
1106
 
1107
- if ( isset( $class['tooltip'] ) ) {
1108
- unset( $class['tooltip'] );
1109
- $class['happyforms-part-description-mode-tooltip'] = '';
1110
- }
1111
-
1112
  $class = array_flip( $class );
1113
 
1114
  return $class;
40
  add_filter( 'happyforms_form_class', array( $this, 'form_html_class' ), 10, 2 );
41
  add_filter( 'happyforms_form_class', array( $this, 'form_html_class_title_display' ), 10, 2 );
42
  add_filter( 'happyforms_form_class', array( $this, 'form_html_class_compat' ), PHP_INT_MAX, 2 );
 
43
  add_filter( 'happyforms_get_form_data', array( $this, 'cap_form_width' ) );
44
  add_action( 'happyforms_do_style_control', array( $this, 'do_control' ), 10, 3 );
45
  add_action( 'happyforms_do_style_control', array( $this, 'do_deprecated_control' ), 10, 3 );
227
  'variable' => '--happyforms-part-description-font-size',
228
  'sanitize' => 'sanitize_text_field'
229
  ),
 
 
 
 
 
 
 
 
 
230
  'part_value_alignment' => array(
231
  'default' => '',
232
  'options' => array(
696
  'label' => __( 'Hint font size', 'happyforms' ),
697
  'field' => 'part_description_font_size',
698
  ),
 
 
 
 
 
699
  3200 => array(
700
  'type' => 'buttonset',
701
  'label' => __( 'Placeholder &amp; value alignment', 'happyforms' ),
954
  return $controls;
955
  }
956
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
957
  public function cap_form_width( $form ) {
958
  $form['form_width'] = preg_replace( '/[^\d*]/', '', $form['form_width'] );
959
  $form['form_width'] = intval( $form['form_width'] );
964
  public function filter_obsolete_form_width( $styles, $form ) {
965
  $form_width = $form['form_width'];
966
 
967
+ if ( 0 == $form_width || '' == $form_width || 100 == $form_width ) {
968
  unset( $styles['form_width'] );
969
  }
970
 
1073
  $class['happyforms-part-description-mode-standard'] = '';
1074
  }
1075
 
 
 
 
 
 
1076
  $class = array_flip( $class );
1077
 
1078
  return $class;
core/classes/parts/class-part-checkbox.php CHANGED
@@ -73,14 +73,6 @@ class HappyForms_Part_Checkbox extends HappyForms_Form_Part {
73
  'default' => array(),
74
  'sanitize' => 'happyforms_sanitize_array'
75
  ),
76
- 'show_select_all' => array(
77
- 'default' => 0,
78
- 'sanitize' => 'happyforms_sanitize_checkbox'
79
- ),
80
- 'select_all_label' => array(
81
- 'default' => __( 'Select all', 'happyforms' ),
82
- 'sanitize' => 'sanitize_text_field',
83
- ),
84
  'other_option' => array(
85
  'default' => 0,
86
  'sanitize' => 'happyforms_sanitize_checkbox',
73
  'default' => array(),
74
  'sanitize' => 'happyforms_sanitize_array'
75
  ),
 
 
 
 
 
 
 
 
76
  'other_option' => array(
77
  'default' => 0,
78
  'sanitize' => 'happyforms_sanitize_checkbox',
core/classes/parts/class-part-multi-line-text.php CHANGED
@@ -16,8 +16,6 @@ class HappyForms_Part_MultiLineText extends HappyForms_Form_Part {
16
  add_action( 'happyforms_part_input_after', array( $this, 'part_input_after' ), 10, 2 );
17
  add_filter( 'happyforms_part_class', array( $this, 'html_part_class' ), 10, 3 );
18
  add_filter( 'happyforms_frontend_dependencies', array( $this, 'script_dependencies' ), 10, 2 );
19
- add_action( 'happyforms_print_scripts', array( $this, 'footer_templates' ) );
20
- add_filter( 'happyforms_style_dependencies', array( $this, 'style_dependencies' ), 10, 2 );
21
  }
22
 
23
  /**
@@ -91,10 +89,6 @@ class HappyForms_Part_MultiLineText extends HappyForms_Form_Part {
91
  'default_value' => array(
92
  'default' => '',
93
  'sanitize' => 'sanitize_text_field'
94
- ),
95
- 'rich_text' => array(
96
- 'default' => 0,
97
- 'sanitize' => 'happyforms_sanitize_checkbox'
98
  )
99
  );
100
 
@@ -128,13 +122,8 @@ class HappyForms_Part_MultiLineText extends HappyForms_Form_Part {
128
  public function frontend_template( $part_data = array(), $form_data = array() ) {
129
  $part = wp_parse_args( $part_data, $this->get_customize_defaults() );
130
  $form = $form_data;
131
-
132
  $template_path = happyforms_get_core_folder() . '/templates/parts/frontend-multi-line-text.php';
133
 
134
- if ( 1 == $part['rich_text'] && happyforms_is_block_context() ) {
135
- $template_path = happyforms_get_core_folder() . '/templates/parts/block-rich-text.php';
136
- }
137
-
138
  include( $template_path );
139
  }
140
 
@@ -169,12 +158,7 @@ class HappyForms_Part_MultiLineText extends HappyForms_Form_Part {
169
  $part_name = happyforms_get_part_name( $part_data, $form_data );
170
 
171
  if ( isset( $request[$part_name] ) ) {
172
- if ( 1 == $part_data['rich_text'] ) {
173
- $allowed_html = $this->get_allowed_html();
174
- $sanitized_value = wp_kses( $request[$part_name], $allowed_html );
175
- } else {
176
- $sanitized_value = sanitize_textarea_field( $request[$part_name] );
177
- }
178
  }
179
 
180
  return $sanitized_value;
@@ -248,10 +232,6 @@ class HappyForms_Part_MultiLineText extends HappyForms_Form_Part {
248
  if ( 'focus-reveal' === $part['description_mode'] ) {
249
  $class[] = 'happyforms-part--focus-reveal-description';
250
  }
251
-
252
- if ( 1 == $part['rich_text'] ) {
253
- $class[] = 'happyforms-part--rich_text';
254
- }
255
  }
256
 
257
  return $class;
@@ -335,22 +315,13 @@ class HappyForms_Part_MultiLineText extends HappyForms_Form_Part {
335
 
336
  public function script_dependencies( $deps, $forms ) {
337
  $contains_long_text = false;
338
- $contains_editor = false;
339
  $form_controller = happyforms_get_form_controller();
340
-
341
  foreach ( $forms as $form ) {
342
  $parts = $form_controller->get_parts_by_type( $form, $this->type );
343
 
344
  if ( ! empty( $parts ) ) {
345
  $contains_long_text = true;
346
- }
347
-
348
- $editors = array_filter( $parts, function( $part ) {
349
- return 1 == $part['rich_text'];
350
- } );
351
-
352
- if ( ! empty( $editors ) ) {
353
- $contains_editor = true;
354
  break;
355
  }
356
  }
@@ -359,39 +330,9 @@ class HappyForms_Part_MultiLineText extends HappyForms_Form_Part {
359
  return $deps;
360
  }
361
 
362
- $contains_editor = $contains_editor || happyforms_is_preview();
363
- $editor_settings = array();
364
-
365
- if ( $contains_editor ) {
366
- $content_css = array( happyforms_get_plugin_url() . 'core/assets/css/rich-text-editor.css' );
367
- /**
368
- * Filters the list of CSS files to load
369
- * in the editor document.
370
- *
371
- * @param array $content_css Current list of files.
372
- *
373
- * @return array
374
- */
375
- $content_css = apply_filters( 'happyforms_text_editor_content_css', $content_css );
376
- $css_vars = array_values( happyforms_get_styles()->form_css_vars() );
377
- $allowed_elements = $this->get_editor_valid_elements();
378
- $editor_settings = array(
379
- 'contentCSS' => $content_css,
380
- 'cssVars' => $css_vars,
381
- 'allowedElements' => $allowed_elements,
382
- );
383
- }
384
-
385
  wp_register_script(
386
  'happyforms-part-long-text',
387
- happyforms_get_plugin_url() . 'core/assets/js/frontend/long-text.js',
388
- ( $contains_editor ? array( 'wp-tinymce' ) : array() ), HAPPYFORMS_VERSION, true
389
- );
390
-
391
- wp_localize_script(
392
- 'happyforms-part-long-text',
393
- '_happyFormsRichTextSettings',
394
- $editor_settings
395
  );
396
 
397
  $deps[] = 'happyforms-part-long-text';
@@ -399,115 +340,6 @@ class HappyForms_Part_MultiLineText extends HappyForms_Form_Part {
399
  return $deps;
400
  }
401
 
402
- public function style_dependencies( $deps, $forms ) {
403
- $contains_long_text = false;
404
- $contains_editor = false;
405
-
406
- $form_controller = happyforms_get_form_controller();
407
-
408
- foreach ( $forms as $form ) {
409
- $parts = $form_controller->get_parts_by_type( $form, $this->type );
410
-
411
- if ( ! empty( $parts ) ) {
412
- $contains_long_text = true;
413
- }
414
-
415
- $editors = array_filter( $parts, function( $part ) {
416
- return 1 == $part['rich_text'];
417
- } );
418
-
419
- if ( ! empty( $editors ) ) {
420
- $contains_editor = true;
421
- break;
422
- }
423
- }
424
-
425
- if ( ! happyforms_is_preview() && ! $contains_long_text ) {
426
- return $deps;
427
- }
428
-
429
- if( happyforms_is_preview() ) {
430
- $contains_editor = true;
431
- }
432
-
433
- if ( $contains_editor ) {
434
- $deps[] = 'editor-buttons';
435
- }
436
-
437
- return $deps;
438
- }
439
-
440
- public function footer_templates( $forms ) {
441
- $contains_editor = false;
442
- $form_controller = happyforms_get_form_controller();
443
-
444
- foreach ( $forms as $form ) {
445
- $parts = $form_controller->get_parts_by_type( $form, $this->type );
446
-
447
- $editors = array_filter( $parts, function( $part ) {
448
- return 1 == $part['rich_text'];
449
- } );
450
-
451
- if ( ! empty( $editors ) ) {
452
- $contains_editor = true;
453
- break;
454
- }
455
- }
456
-
457
- if( happyforms_is_preview() ) {
458
- $contains_editor = true;
459
- }
460
-
461
- if ( ! $contains_editor ) {
462
- return;
463
- }
464
-
465
- require_once( happyforms_get_core_folder() . '/templates/partials/frontend-rich-text-toolbar-icons.php' );
466
- }
467
-
468
- private function get_allowed_html() {
469
- $allowed = array(
470
- 'br' => array(),
471
- 'b' => array(),
472
- 'strong' => array(),
473
- 'i' => array(),
474
- 'em' => array(),
475
- 'ul' => array(),
476
- 'ol' => array(),
477
- 'li' => array(),
478
- 'p' => array(),
479
- 'a' => array( 'href' => array() ),
480
- 'pre' => array(),
481
- 'hr' => array(),
482
- 'u' => array(),
483
- 'strike' => array(),
484
- 'del' => array(),
485
- 'blockquote' => array(),
486
- );
487
-
488
- return $allowed;
489
- }
490
-
491
- private function get_editor_valid_elements() {
492
- $tags = $this->get_allowed_html();
493
- $elements = array();
494
-
495
- foreach( $tags as $tag => $attributes ) {
496
- $element = $tag;
497
- $element_attributes = implode( '|', array_keys( $attributes ) );
498
-
499
- if ( ! empty( $element_attributes ) ) {
500
- $element = "{$element}[{$element_attributes}]";
501
- }
502
-
503
- $elements[] = $element;
504
- }
505
-
506
- $elements = implode( ',', $elements );
507
-
508
- return $elements;
509
- }
510
-
511
  public function part_input_after( $part, $form ) {
512
  if ( $this->type !== $part['type'] ) {
513
  return;
16
  add_action( 'happyforms_part_input_after', array( $this, 'part_input_after' ), 10, 2 );
17
  add_filter( 'happyforms_part_class', array( $this, 'html_part_class' ), 10, 3 );
18
  add_filter( 'happyforms_frontend_dependencies', array( $this, 'script_dependencies' ), 10, 2 );
 
 
19
  }
20
 
21
  /**
89
  'default_value' => array(
90
  'default' => '',
91
  'sanitize' => 'sanitize_text_field'
 
 
 
 
92
  )
93
  );
94
 
122
  public function frontend_template( $part_data = array(), $form_data = array() ) {
123
  $part = wp_parse_args( $part_data, $this->get_customize_defaults() );
124
  $form = $form_data;
 
125
  $template_path = happyforms_get_core_folder() . '/templates/parts/frontend-multi-line-text.php';
126
 
 
 
 
 
127
  include( $template_path );
128
  }
129
 
158
  $part_name = happyforms_get_part_name( $part_data, $form_data );
159
 
160
  if ( isset( $request[$part_name] ) ) {
161
+ $sanitized_value = sanitize_textarea_field( $request[$part_name] );
 
 
 
 
 
162
  }
163
 
164
  return $sanitized_value;
232
  if ( 'focus-reveal' === $part['description_mode'] ) {
233
  $class[] = 'happyforms-part--focus-reveal-description';
234
  }
 
 
 
 
235
  }
236
 
237
  return $class;
315
 
316
  public function script_dependencies( $deps, $forms ) {
317
  $contains_long_text = false;
 
318
  $form_controller = happyforms_get_form_controller();
319
+
320
  foreach ( $forms as $form ) {
321
  $parts = $form_controller->get_parts_by_type( $form, $this->type );
322
 
323
  if ( ! empty( $parts ) ) {
324
  $contains_long_text = true;
 
 
 
 
 
 
 
 
325
  break;
326
  }
327
  }
330
  return $deps;
331
  }
332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
  wp_register_script(
334
  'happyforms-part-long-text',
335
+ happyforms_get_plugin_url() . 'core/assets/js/frontend/long-text.js', array(), HAPPYFORMS_VERSION, true
 
 
 
 
 
 
 
336
  );
337
 
338
  $deps[] = 'happyforms-part-long-text';
340
  return $deps;
341
  }
342
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
343
  public function part_input_after( $part, $form ) {
344
  if ( $this->type !== $part['type'] ) {
345
  return;
core/helpers/helper-form-templates.php CHANGED
@@ -34,27 +34,6 @@ function happyforms_action_field() {
34
 
35
  endif;
36
 
37
- if ( ! function_exists( 'happyforms_nonce_field' ) ):
38
- /**
39
- * Output the nonce field for the current form.
40
- *
41
- * @since 1.0
42
- *
43
- * @param array $form Current form data.
44
- *
45
- * @return void
46
- */
47
- function happyforms_nonce_field( $form ) {
48
- $prefix = happyforms_get_message_controller()->nonce_prefix;
49
- $name = happyforms_get_message_controller()->nonce_name;
50
- $form_id = $form['ID'];
51
- $action = "{$prefix}{$form_id}";
52
-
53
- wp_nonce_field( $action, $name );
54
- }
55
-
56
- endif;
57
-
58
  if ( ! function_exists( 'happyforms_honeypot' ) ) :
59
 
60
  function happyforms_honeypot( $form ) {
@@ -101,8 +80,9 @@ if ( ! function_exists( 'happyforms_message_notices' ) ):
101
  */
102
  function happyforms_message_notices( $location = '' ) {
103
  $notices = happyforms_get_session()->get_messages( $location );
104
-
105
- happyforms_the_message_notices( $notices );
 
106
  }
107
 
108
  endif;
@@ -174,7 +154,7 @@ function happyforms_the_part_error_message( $notices = array(), $part_name = '',
174
  continue;
175
  }
176
  ?>
177
- <p><svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z" class=""></path></svg> <?php echo $message; ?></p>
178
  <?php endforeach; ?>
179
  </div>
180
  <?php
@@ -198,34 +178,8 @@ function happyforms_print_part_description( $part_data ) {
198
  return;
199
  }
200
 
201
- if ( happyforms_part_has_tooltip( $part_data ) || is_customize_preview() ) : ?>
202
- <a href="#" title="<?php echo esc_html( $part_data['description'] ); ?>" class="happyforms-tooltip__trigger"<?php if ( is_customize_preview() && ! happyforms_part_has_tooltip( $part_data ) ) : ?> style="display: none"<?php endif; ?>>
203
- <svg enable-background="new 0 0 15 15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path d="m-1.5-1.5h18v18h-18z" fill="none"/><path d="m6.8 12h1.5v-1.5h-1.5zm.7-12c-4.1 0-7.5 3.4-7.5 7.5s3.4 7.5 7.5 7.5 7.5-3.4 7.5-7.5-3.4-7.5-7.5-7.5zm0 13.5c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm0-10.5c-1.7 0-3 1.3-3 3h1.5c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5c0 1.5-2.2 1.3-2.2 3.8h1.5c0-1.7 2.2-1.9 2.2-3.8 0-1.7-1.3-3-3-3z" fill="currentColor"/></svg>
204
- </a>
205
- <?php endif; ?>
206
- <?php if ( ! happyforms_part_has_tooltip( $part_data ) || is_customize_preview() ) : ?>
207
- <span class="happyforms-part__description"<?php if ( is_customize_preview() && happyforms_part_has_tooltip( $part_data ) ) : ?> style="display: none"<?php endif; ?>><?php echo esc_html( $part_data['description'] ); ?></span>
208
- <?php endif;
209
- }
210
-
211
- endif;
212
-
213
- if ( ! function_exists( 'happyforms_part_has_tooltip' ) ) :
214
-
215
- function happyforms_part_has_tooltip( $part ) {
216
- if ( isset( $part['label_placement'] ) && 'hidden' === $part['label_placement'] ) {
217
- return false;
218
- }
219
 
220
- if ( ( isset( $part['description_mode'] )
221
- && 'tooltip' === $part['description_mode'] )
222
- || ( isset( $part['tooltip_description'] )
223
- && 1 === intval( $part['tooltip_description'] ) ) ) {
224
-
225
- return true;
226
- }
227
-
228
- return false;
229
  }
230
 
231
  endif;
@@ -986,9 +940,6 @@ function happyforms_the_part_label( $part, $form ) {
986
  <?php if ( ! $is_required || happyforms_is_preview_context() ): ?>
987
  <span class="happyforms-optional"><?php echo happyforms_get_form_property( $form, 'optional_part_label' ); ?></span>
988
  <?php endif; ?>
989
- <?php if ( isset( $part['description_mode'] ) && 'tooltip' === $part['description_mode'] ) : ?>
990
- <?php happyforms_print_part_description( $part ); ?>
991
- <?php endif; ?>
992
  </label>
993
  <?php endif; ?>
994
  </div>
@@ -1672,4 +1623,4 @@ function happyforms_parts_autocorrect_attribute( $part ) {
1672
  }
1673
  }
1674
 
1675
- endif;
34
 
35
  endif;
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  if ( ! function_exists( 'happyforms_honeypot' ) ) :
38
 
39
  function happyforms_honeypot( $form ) {
80
  */
81
  function happyforms_message_notices( $location = '' ) {
82
  $notices = happyforms_get_session()->get_messages( $location );
83
+ $class = apply_filters( 'happyforms_message_notices_class', '' );
84
+
85
+ happyforms_the_message_notices( $notices, $class );
86
  }
87
 
88
  endif;
154
  continue;
155
  }
156
  ?>
157
+ <p><svg role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z" class=""></path></svg><span><?php echo $message; ?></span></p>
158
  <?php endforeach; ?>
159
  </div>
160
  <?php
178
  return;
179
  }
180
 
181
+ ?><span class="happyforms-part__description"><?php echo esc_html( $part_data['description'] ); ?></span><?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
 
 
 
 
 
 
 
 
 
 
183
  }
184
 
185
  endif;
940
  <?php if ( ! $is_required || happyforms_is_preview_context() ): ?>
941
  <span class="happyforms-optional"><?php echo happyforms_get_form_property( $form, 'optional_part_label' ); ?></span>
942
  <?php endif; ?>
 
 
 
943
  </label>
944
  <?php endif; ?>
945
  </div>
1623
  }
1624
  }
1625
 
1626
+ endif;
core/templates/customize-controls/messages/text.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
  <?php do_action( "happyforms_setup_control_{$control['field']}_before", $control ); ?>
3
 
4
- <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?><i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
5
  <div class="customize-control-reset-wrap">
6
  <input type="text" id="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>" data-attribute="<?php echo $control['field']; ?>" placeholder="<?php echo ( isset( $control['placeholder'] ) ) ? $control['placeholder'] : ''; ?>" data-pointer-target<?php echo ( isset( $control['autocomplete'] ) ) ? ' autocomplete="' . $control['autocomplete'] . '"' : ''; ?> />
7
  <button type="button" class="reset-default button button-secondary" data-default="<?php echo $field['default']; ?>" data-reset="<?php echo $control['field']; ?>"><?php _e( 'Reset', 'happyforms' ); ?></button>
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
  <?php do_action( "happyforms_setup_control_{$control['field']}_before", $control ); ?>
3
 
4
+ <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?></label>
5
  <div class="customize-control-reset-wrap">
6
  <input type="text" id="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>" data-attribute="<?php echo $control['field']; ?>" placeholder="<?php echo ( isset( $control['placeholder'] ) ) ? $control['placeholder'] : ''; ?>" data-pointer-target<?php echo ( isset( $control['autocomplete'] ) ) ? ' autocomplete="' . $control['autocomplete'] . '"' : ''; ?> />
7
  <button type="button" class="reset-default button button-secondary" data-default="<?php echo $field['default']; ?>" data-reset="<?php echo $control['field']; ?>"><?php _e( 'Reset', 'happyforms' ); ?></button>
core/templates/customize-controls/setup/alert-email-subject.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
- <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?><i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
3
  <input type="text" id="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>" data-attribute="<?php echo $control['field']; ?>" data-pointer-target />
4
  <p class="description"><span></span> <?php _e( 'part value is currently used as subject', 'happyforms' ); ?>
5
  </div>
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
+ <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?> </label>
3
  <input type="text" id="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>" data-attribute="<?php echo $control['field']; ?>" data-pointer-target />
4
  <p class="description"><span></span> <?php _e( 'part value is currently used as subject', 'happyforms' ); ?>
5
  </div>
core/templates/customize-controls/setup/checkbox.php CHANGED
@@ -1,6 +1,6 @@
1
  <div class="customize-control customize-control-checkbox <% if ( <?php echo $control['field']; ?> ) { %>checked<% } %>" id="customize-control-<?php echo $control['field']; ?>">
2
  <div class="customize-inside-control-row" data-pointer-target>
3
  <input type="checkbox" id="<?php echo $control['field']; ?>" value="1" <% if ( <?php echo $control['field']; ?> ) { %>checked="checked"<% } %> data-attribute="<?php echo $control['field']; ?>" />
4
- <label for="<?php echo $control['field']; ?>"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?><i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
5
  </div>
6
  </div>
1
  <div class="customize-control customize-control-checkbox <% if ( <?php echo $control['field']; ?> ) { %>checked<% } %>" id="customize-control-<?php echo $control['field']; ?>">
2
  <div class="customize-inside-control-row" data-pointer-target>
3
  <input type="checkbox" id="<?php echo $control['field']; ?>" value="1" <% if ( <?php echo $control['field']; ?> ) { %>checked="checked"<% } %> data-attribute="<?php echo $control['field']; ?>" />
4
+ <label for="<?php echo $control['field']; ?>"><?php echo $control['label']; ?></label>
5
  </div>
6
  </div>
core/templates/customize-controls/setup/editor.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
- <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?><i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
3
  <div data-pointer-target>
4
  <textarea name="" class="wp-editor-area" id="<?php echo $control['field']; ?>" cols="34" rows="3" data-attribute="<?php echo $control['field']; ?>"><%= <?php echo $control['field']; ?> %></textarea>
5
  </div>
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
+ <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?></label>
3
  <div data-pointer-target>
4
  <textarea name="" class="wp-editor-area" id="<?php echo $control['field']; ?>" cols="34" rows="3" data-attribute="<?php echo $control['field']; ?>"><%= <?php echo $control['field']; ?> %></textarea>
5
  </div>
core/templates/customize-controls/setup/number.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
- <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?><i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
3
  <input type="number" id="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>" data-attribute="<?php echo $control['field']; ?>" min="<?php echo ( isset( $control['min'] ) ) ? $control['min'] : 0; ?>" <?php echo ( isset( $control['max'] ) ) ? ' max="'. $control['max'] .'"' : ''; ?> data-pointer-target />
4
  <?php if ( isset( $control['description'] ) ): ?>
5
  <p class="description"><?php echo $control['description']; ?></p>
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
+ <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?></label>
3
  <input type="number" id="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>" data-attribute="<?php echo $control['field']; ?>" min="<?php echo ( isset( $control['min'] ) ) ? $control['min'] : 0; ?>" <?php echo ( isset( $control['max'] ) ) ? ' max="'. $control['max'] .'"' : ''; ?> data-pointer-target />
4
  <?php if ( isset( $control['description'] ) ): ?>
5
  <p class="description"><?php echo $control['description']; ?></p>
core/templates/customize-controls/setup/select.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="customize-control customize-control-select" id="customize-control-<?php echo $control['field']; ?>" data-value="<%= <?php echo $control['field']; ?> %>">
2
  <?php do_action( "happyforms_setup_control_{$control['field']}_before", $control ); ?>
3
 
4
- <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?><i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
5
  <select name="<?php echo $control['field']; ?>" id="<?php echo $control['field']; ?>" data-attribute="<?php echo $control['field']; ?>" data-pointer-target>
6
  <?php if ( isset( $control['placeholder'] ) ) : ?>
7
  <option value="" selected><?php echo $control['placeholder']; ?></option>
1
  <div class="customize-control customize-control-select" id="customize-control-<?php echo $control['field']; ?>" data-value="<%= <?php echo $control['field']; ?> %>">
2
  <?php do_action( "happyforms_setup_control_{$control['field']}_before", $control ); ?>
3
 
4
+ <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?></label>
5
  <select name="<?php echo $control['field']; ?>" id="<?php echo $control['field']; ?>" data-attribute="<?php echo $control['field']; ?>" data-pointer-target>
6
  <?php if ( isset( $control['placeholder'] ) ) : ?>
7
  <option value="" selected><?php echo $control['placeholder']; ?></option>
core/templates/customize-controls/setup/text.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
  <?php do_action( "happyforms_setup_control_{$control['field']}_before", $control ); ?>
3
 
4
- <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?><i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
5
  <input type="text" id="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>" data-attribute="<?php echo $control['field']; ?>" placeholder="<?php echo ( isset( $control['placeholder'] ) ) ? $control['placeholder'] : ''; ?>" data-pointer-target<?php echo ( isset( $control['autocomplete'] ) ) ? ' autocomplete="' . $control['autocomplete'] . '"' : ''; ?> />
6
 
7
  <?php do_action( "happyforms_setup_control_{$control['field']}_after", $control ); ?>
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
  <?php do_action( "happyforms_setup_control_{$control['field']}_before", $control ); ?>
3
 
4
+ <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?></label>
5
  <input type="text" id="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>" data-attribute="<?php echo $control['field']; ?>" placeholder="<?php echo ( isset( $control['placeholder'] ) ) ? $control['placeholder'] : ''; ?>" data-pointer-target<?php echo ( isset( $control['autocomplete'] ) ) ? ' autocomplete="' . $control['autocomplete'] . '"' : ''; ?> />
6
 
7
  <?php do_action( "happyforms_setup_control_{$control['field']}_after", $control ); ?>
core/templates/customize-controls/setup/textarea.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
- <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?><i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
3
  <div data-pointer-target>
4
  <textarea name="" id="<?php echo $control['field']; ?>" cols="34" rows="4" data-attribute="<?php echo $control['field']; ?>"><%= <?php echo $control['field']; ?> %></textarea>
5
  <?php if( ! empty( $control['description'] ) ): ?>
1
  <div class="customize-control" id="customize-control-<?php echo $control['field']; ?>">
2
+ <label for="<?php echo $control['field']; ?>" class="customize-control-title"><?php echo $control['label']; ?></label>
3
  <div data-pointer-target>
4
  <textarea name="" id="<?php echo $control['field']; ?>" cols="34" rows="4" data-attribute="<?php echo $control['field']; ?>"><%= <?php echo $control['field']; ?> %></textarea>
5
  <?php if( ! empty( $control['description'] ) ): ?>
core/templates/customize-controls/style/code.php CHANGED
@@ -1,6 +1,6 @@
1
  <li class="customize-control happyforms-code-control" data-target="<?php echo esc_attr( $field['target'] ); ?>" data-mode="<?php echo $control['mode']; ?>" id="customize-control-<?php echo $control['field']; ?>">
2
  <?php if ( ! isset( $control['hide_title'] ) || ! $control['hide_title'] ) : ?>
3
- <label class="customize-control-title" for="<?php echo $control['field']; ?>"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?> <i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
4
  <?php endif; ?>
5
  <div class="customize-control-content" data-pointer-target>
6
  <textarea class="code" name="<?php echo $control['field']; ?>" id="<?php echo $control['field']; ?>" data-attribute="<?php echo $control['field']; ?>" data-mode="<?php echo $field['mode']; ?>"><%= <?php echo $control['field']; ?> %></textarea>
1
  <li class="customize-control happyforms-code-control" data-target="<?php echo esc_attr( $field['target'] ); ?>" data-mode="<?php echo $control['mode']; ?>" id="customize-control-<?php echo $control['field']; ?>">
2
  <?php if ( ! isset( $control['hide_title'] ) || ! $control['hide_title'] ) : ?>
3
+ <label class="customize-control-title" for="<?php echo $control['field']; ?>"><?php echo $control['label']; ?></label>
4
  <?php endif; ?>
5
  <div class="customize-control-content" data-pointer-target>
6
  <textarea class="code" name="<?php echo $control['field']; ?>" id="<?php echo $control['field']; ?>" data-attribute="<?php echo $control['field']; ?>" data-mode="<?php echo $field['mode']; ?>"><%= <?php echo $control['field']; ?> %></textarea>
core/templates/customize-controls/style/text.php CHANGED
@@ -1,5 +1,5 @@
1
  <li class="customize-control <?php echo esc_attr( 'happyforms-' . $control['type'] . '-control' ); ?>" data-target="<?php echo esc_attr( $field['target'] ); ?>" id="customize-control-<?php echo $control['field']; ?>">
2
- <label class="customize-control-title" for="<?php echo $control['field']; ?>"><?php echo $control['label']; ?> <?php if ( isset( $control['tooltip'] ) ) : ?> <i class="dashicons dashicons-editor-help" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?></label>
3
  <div class="customize-control-content" data-pointer-target>
4
  <input type="text" name="<?php echo $control['field']; ?>" id="<?php echo $control['field']; ?>" data-attribute="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>">
5
  </div>
1
  <li class="customize-control <?php echo esc_attr( 'happyforms-' . $control['type'] . '-control' ); ?>" data-target="<?php echo esc_attr( $field['target'] ); ?>" id="customize-control-<?php echo $control['field']; ?>">
2
+ <label class="customize-control-title" for="<?php echo $control['field']; ?>"><?php echo $control['label']; ?></label>
3
  <div class="customize-control-content" data-pointer-target>
4
  <input type="text" name="<?php echo $control['field']; ?>" id="<?php echo $control['field']; ?>" data-attribute="<?php echo $control['field']; ?>" value="<%= <?php echo $control['field']; ?> %>">
5
  </div>
core/templates/partials/customize-field-width.php CHANGED
@@ -1,12 +1,27 @@
1
- <p>
2
  <label for="<%= instance.id %>_width"><?php _e( 'Width', 'happyforms' ); ?></label>
3
- <select id="<%= instance.id %>_width" name="width" data-bind="width" class="widefat">
4
- <option value="full"<%= (instance.width == 'full') ? ' selected' : '' %>><?php _e( 'Full', 'happyforms' ); ?></option>
5
- <option value="half"<%= (instance.width == 'half') ? ' selected' : '' %>><?php _e( 'Half', 'happyforms' ); ?></option>
6
- <option value="third"<%= (instance.width == 'third') ? ' selected' : '' %>><?php _e( 'Third', 'happyforms' ); ?></option>
7
- <option value="quarter"<%= (instance.width == 'quarter') ? ' selected' : '' %>><?php _e( 'Quarter', 'happyforms' ); ?></option>
8
- <option value="auto"<%= (instance.width == 'auto') ? ' selected' : '' %>><?php _e( 'Auto', 'happyforms' ); ?></option>
9
- </select>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  </p>
11
  <p class="width-options" style="display: none">
12
  <label>
1
+ <p class="happyforms-buttongroup-wrapper">
2
  <label for="<%= instance.id %>_width"><?php _e( 'Width', 'happyforms' ); ?></label>
3
+ <span class="happyforms-buttongroup happyforms-buttongroup-field_width">
4
+ <label for="<%= instance.id %>_width_full">
5
+ <input type="radio" id="<%= instance.id %>_width_full" value="full" name="<%= instance.id %>_width" data-bind="width" <%= ( instance.width == 'full' ) ? 'checked' : '' %> />
6
+ <span><?php _e( 'Full', 'happyforms' ); ?></span>
7
+ </label>
8
+ <label for="<%= instance.id %>_width_half">
9
+ <input type="radio" id="<%= instance.id %>_width_half" value="half" name="<%= instance.id %>_width" data-bind="width" <%= ( instance.width == 'half' ) ? 'checked' : '' %> />
10
+ <span><?php _e( 'Half', 'happyforms' ); ?></span>
11
+ </label>
12
+ <label for="<%= instance.id %>_width_third">
13
+ <input type="radio" id="<%= instance.id %>_width_third" value="third" name="<%= instance.id %>_width" data-bind="width" <%= ( instance.width == 'third' ) ? 'checked' : '' %>/>
14
+ <span><?php _e( 'Third', 'happyforms' ); ?></span>
15
+ </label>
16
+ <label for="<%= instance.id %>_width_quarter">
17
+ <input type="radio" id="<%= instance.id %>_width_quarter" value="quarter" data-bind="width" name="<%= instance.id %>_width" <%= ( instance.width == 'quarter' ) ? 'checked' : '' %>/>
18
+ <span><?php _e( 'Quarter', 'happyforms' ); ?></span>
19
+ </label>
20
+ <label for="<%= instance.id %>_width_auto">
21
+ <input type="radio" id="<%= instance.id %>_width_auto" value="auto" data-bind="width" name="<%= instance.id %>_width" <%= ( instance.width == 'auto' ) ? 'checked' : '' %> />
22
+ <span><?php _e( 'Auto', 'happyforms' ); ?></span>
23
+ </label>
24
+ </span>
25
  </p>
26
  <p class="width-options" style="display: none">
27
  <label>
core/templates/partials/frontend-rich-text-toolbar-icons.php DELETED
@@ -1,39 +0,0 @@
1
- <script type="text/template" id="happyforms-rich-text-icon-bold">
2
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"/></svg>
3
- </script>
4
- <script type="text/template" id="happyforms-rich-text-icon-italic">
5
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4h-8z"/></svg>
6
- </script>
7
- <script type="text/template" id="happyforms-rich-text-icon-ul">
8
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z"/></svg>
9
- </script>
10
- <script type="text/template" id="happyforms-rich-text-icon-ol">
11
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z"/></svg>
12
- </script>
13
- <script type="text/template" id="happyforms-rich-text-icon-quote">
14
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M18.62 18h-5.24l2-4H13V6h8v7.24L18.62 18zm-2-2h.76L19 12.76V8h-4v4h3.62l-2 4zm-8 2H3.38l2-4H3V6h8v7.24L8.62 18zm-2-2h.76L9 12.76V8H5v4h3.62l-2 4z"/></svg>
15
- </script>
16
- <script type="text/template" id="happyforms-rich-text-icon-link">
17
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>
18
- </script>
19
- <script type="text/template" id="happyforms-rich-text-icon-unlink">
20
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M14.39 11L16 12.61V11zM17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.27-.77 2.37-1.87 2.84l1.4 1.4C21.05 15.36 22 13.79 22 12c0-2.76-2.24-5-5-5zM2 4.27l3.11 3.11C3.29 8.12 2 9.91 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4.01 1.41-1.41L3.41 2.86 2 4.27z"/></svg>
21
- </script>
22
- <script type="text/template" id="happyforms-rich-text-icon-code">
23
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/></svg>
24
- </script>
25
- <script type="text/template" id="happyforms-rich-text-icon-strike">
26
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M7.24 8.75c-.26-.48-.39-1.03-.39-1.67 0-.61.13-1.16.4-1.67.26-.5.63-.93 1.11-1.29.48-.35 1.05-.63 1.7-.83.66-.19 1.39-.29 2.18-.29.81 0 1.54.11 2.21.34.66.22 1.23.54 1.69.94.47.4.83.88 1.08 1.43s.38 1.15.38 1.81h-3.01c0-.31-.05-.59-.15-.85-.09-.27-.24-.49-.44-.68-.2-.19-.45-.33-.75-.44-.3-.1-.66-.16-1.06-.16-.39 0-.74.04-1.03.13s-.53.21-.72.36c-.19.16-.34.34-.44.55-.1.21-.15.43-.15.66 0 .48.25.88.74 1.21.38.25.77.48 1.41.7H7.39c-.05-.08-.11-.17-.15-.25zM21 12v-2H3v2h9.62c.18.07.4.14.55.2.37.17.66.34.87.51s.35.36.43.57c.07.2.11.43.11.69 0 .23-.05.45-.14.66-.09.2-.23.38-.42.53-.19.15-.42.26-.71.35-.29.08-.63.13-1.01.13-.43 0-.83-.04-1.18-.13s-.66-.23-.91-.42c-.25-.19-.45-.44-.59-.75s-.25-.76-.25-1.21H6.4c0 .55.08 1.13.24 1.58s.37.85.65 1.21c.28.35.6.66.98.92.37.26.78.48 1.22.65.44.17.9.3 1.38.39.48.08.96.13 1.44.13.8 0 1.53-.09 2.18-.28s1.21-.45 1.67-.79c.46-.34.82-.77 1.07-1.27s.38-1.07.38-1.71c0-.6-.1-1.14-.31-1.61-.05-.11-.11-.23-.17-.33H21V12z"/></svg>
27
- </script>
28
- <script type="text/template" id="happyforms-rich-text-icon-underline">
29
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"/></svg>
30
- </script>
31
- <script type="text/template" id="happyforms-rich-text-icon-hr">
32
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M19 13H5v-2h14v2z"/></svg>
33
- </script>
34
- <script type="text/template" id="happyforms-rich-text-icon-return">
35
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 12"><path d="m-2-6h24v24h-24z" fill="none"/><path d="m17 1v4h-13.2l3.6-3.6-1.4-1.4-6 6 6 6 1.4-1.4-3.6-3.6h15.2v-6z"/></svg>
36
- </script>
37
- <script type="text/template" id="happyforms-rich-text-icon-pencil">
38
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM5.92 19H5v-.92l9.06-9.06.92.92L5.92 19zM20.71 5.63l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41z"/></svg>
39
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
core/templates/parts/block-rich-text.php DELETED
@@ -1,23 +0,0 @@
1
- <div class="<?php happyforms_the_part_class( $part, $form ); ?>" id="<?php happyforms_the_part_id( $part, $form ); ?>-part" <?php happyforms_the_part_data_attributes( $part, $form ); ?>>
2
- <div class="happyforms-part-wrap">
3
- <?php if ( 'as_placeholder' !== $part['label_placement'] ) : ?>
4
- <?php happyforms_the_part_label( $part, $form ); ?>
5
- <?php endif; ?>
6
-
7
- <div class="happyforms-part__el">
8
- <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
9
-
10
- <textarea id="<?php happyforms_the_part_id( $part, $form ); ?>" name="<?php happyforms_the_part_name( $part, $form ); ?>" rows="5" <?php happyforms_the_part_attributes( $part, $form ); ?>><?php happyforms_the_part_value( $part, $form ); ?></textarea>
11
-
12
- <?php if ( 'as_placeholder' === $part['label_placement'] ) : ?>
13
- <?php happyforms_the_part_label( $part, $form ); ?>
14
- <?php endif; ?>
15
-
16
- <?php do_action( 'happyforms_part_input_after', $part, $form ); ?>
17
-
18
- <?php happyforms_print_part_description( $part ); ?>
19
-
20
- <?php happyforms_part_error_message( happyforms_get_part_name( $part, $form ) ); ?>
21
- </div>
22
- </div>
23
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
core/templates/parts/customize-checkbox.php CHANGED
@@ -4,16 +4,16 @@
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
- <select id="<%= instance.id %>_label_placement" name="label_placement" data-bind="label_placement" class="widefat">
8
- <option value="show"<%= (instance.label_placement == 'show') ? ' selected' : '' %>><?php _e( 'Show', 'happyforms' ); ?></option>
9
- <% if ( 'left' == instance.label_placement ) { %>
10
- <option value="left" selected><?php _e( 'Left', 'happyforms' ); ?></option>
11
- <% } %>
12
- <% if ( 'below' == instance.label_placement ) { %>
13
- <option value="below" selected><?php _e( 'Below', 'happyforms' ); ?></option>
14
- <% } %>
15
- <option value="hidden"<%= (instance.label_placement == 'hidden') ? ' selected' : '' %>><?php _e( 'Hide', 'happyforms' ); ?></option>
16
- </select>
17
  </div>
18
  </p>
19
  <p>
@@ -54,18 +54,6 @@
54
 
55
  <?php do_action( 'happyforms_part_customize_checkbox_before_advanced_options' ); ?>
56
 
57
- <p>
58
- <label>
59
- <input type="checkbox" class="checkbox" value="1" <% if ( instance.show_select_all ) { %>checked="checked"<% } %> data-bind="show_select_all" /> <?php _e( 'Add \'select all\' choice', 'happyforms' ); ?>
60
- </label>
61
- </p>
62
- <div class="happyforms-nested-settings" data-trigger="show_select_all" style="display: <%= ( instance.show_select_all ) ? 'block' : 'none' %>">
63
- <p>
64
- <label for="<%= instance.id %>_select_all_label"><?php _e( '\'Select all\' label', 'happyforms' ); ?></label>
65
- <input type="text" id="<%= instance.id %>_select_all_label" maxlength="30" class="widefat title" value="<%= instance.select_all_label %>" data-bind="select_all_label" />
66
- </p>
67
- </div>
68
-
69
  <% if ( instance.other_option ) { %>
70
  <p>
71
  <label>
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
+ <div class="happyforms-buttongroup">
8
+ <label for="<%= instance.id %>-label_placement-show">
9
+ <input type="radio" id="<%= instance.id %>-label_placement-show" value="show" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'show' ) ? 'checked' : '' %> />
10
+ <span><?php _e( 'Show', 'happyforms' ); ?></span>
11
+ </label>
12
+ <label for="<%= instance.id %>-label_placement-hidden">
13
+ <input type="radio" id="<%= instance.id %>-label_placement-hidden" value="hidden" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'hidden' ) ? 'checked' : '' %> />
14
+ <span><?php _e( 'Hide', 'happyforms' ); ?></span>
15
+ </label>
16
+ </div>
17
  </div>
18
  </p>
19
  <p>
54
 
55
  <?php do_action( 'happyforms_part_customize_checkbox_before_advanced_options' ); ?>
56
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  <% if ( instance.other_option ) { %>
58
  <p>
59
  <label>
core/templates/parts/customize-email.php CHANGED
@@ -4,16 +4,16 @@
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
- <select id="<%= instance.id %>_label_placement" name="label_placement" data-bind="label_placement" class="widefat">
8
- <option value="show"<%= (instance.label_placement == 'show') ? ' selected' : '' %>><?php _e( 'Show', 'happyforms' ); ?></option>
9
- <% if ( 'left' == instance.label_placement ) { %>
10
- <option value="left" selected><?php _e( 'Left', 'happyforms' ); ?></option>
11
- <% } %>
12
- <% if ( 'below' == instance.label_placement ) { %>
13
- <option value="below" selected><?php _e( 'Below', 'happyforms' ); ?></option>
14
- <% } %>
15
- <option value="hidden"<%= (instance.label_placement == 'hidden') ? ' selected' : '' %>><?php _e( 'Hide', 'happyforms' ); ?></option>
16
- </select>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
+ <div class="happyforms-buttongroup">
8
+ <label for="<%= instance.id %>-label_placement-show">
9
+ <input type="radio" id="<%= instance.id %>-label_placement-show" value="show" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'show' ) ? 'checked' : '' %> />
10
+ <span><?php _e( 'Show', 'happyforms' ); ?></span>
11
+ </label>
12
+ <label for="<%= instance.id %>-label_placement-hidden">
13
+ <input type="radio" id="<%= instance.id %>-label_placement-hidden" value="hidden" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'hidden' ) ? 'checked' : '' %> />
14
+ <span><?php _e( 'Hide', 'happyforms' ); ?></span>
15
+ </label>
16
+ </div>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
core/templates/parts/customize-multi-line-text.php CHANGED
@@ -4,16 +4,16 @@
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
- <select id="<%= instance.id %>_label_placement" name="label_placement" data-bind="label_placement" class="widefat">
8
- <option value="show"<%= (instance.label_placement == 'show') ? ' selected' : '' %>><?php _e( 'Show', 'happyforms' ); ?></option>
9
- <% if ( 'left' == instance.label_placement ) { %>
10
- <option value="left" selected><?php _e( 'Left', 'happyforms' ); ?></option>
11
- <% } %>
12
- <% if ( 'below' == instance.label_placement ) { %>
13
- <option value="below" selected><?php _e( 'Below', 'happyforms' ); ?></option>
14
- <% } %>
15
- <option value="hidden"<%= (instance.label_placement == 'hidden') ? ' selected' : '' %>><?php _e( 'Hide', 'happyforms' ); ?></option>
16
- </select>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
@@ -63,12 +63,6 @@
63
  </p>
64
  </div>
65
 
66
- <p>
67
- <label>
68
- <input type="checkbox" class="checkbox" value="1" <% if ( instance.rich_text ) { %>checked="checked"<% } %> data-bind="rich_text" /> <?php _e( 'Add rich-text editor toolbar', 'happyforms' ); ?>
69
- </label>
70
- </p>
71
-
72
  <?php happyforms_customize_part_width_control(); ?>
73
 
74
  <?php do_action( 'happyforms_part_customize_multi_line_text_after_advanced_options' ); ?>
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
+ <div class="happyforms-buttongroup">
8
+ <label for="<%= instance.id %>-label_placement-show">
9
+ <input type="radio" id="<%= instance.id %>-label_placement-show" value="show" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'show' ) ? 'checked' : '' %> />
10
+ <span><?php _e( 'Show', 'happyforms' ); ?></span>
11
+ </label>
12
+ <label for="<%= instance.id %>-label_placement-hidden">
13
+ <input type="radio" id="<%= instance.id %>-label_placement-hidden" value="hidden" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'hidden' ) ? 'checked' : '' %> />
14
+ <span><?php _e( 'Hide', 'happyforms' ); ?></span>
15
+ </label>
16
+ </div>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
63
  </p>
64
  </div>
65
 
 
 
 
 
 
 
66
  <?php happyforms_customize_part_width_control(); ?>
67
 
68
  <?php do_action( 'happyforms_part_customize_multi_line_text_after_advanced_options' ); ?>
core/templates/parts/customize-number.php CHANGED
@@ -4,16 +4,16 @@
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
- <select id="<%= instance.id %>_label_placement" name="label_placement" data-bind="label_placement" class="widefat">
8
- <option value="show"<%= (instance.label_placement == 'show') ? ' selected' : '' %>><?php _e( 'Show', 'happyforms' ); ?></option>
9
- <% if ( 'left' == instance.label_placement ) { %>
10
- <option value="left" selected><?php _e( 'Left', 'happyforms' ); ?></option>
11
- <% } %>
12
- <% if ( 'below' == instance.label_placement ) { %>
13
- <option value="below" selected><?php _e( 'Below', 'happyforms' ); ?></option>
14
- <% } %>
15
- <option value="hidden"<%= (instance.label_placement == 'hidden') ? ' selected' : '' %>><?php _e( 'Hide', 'happyforms' ); ?></option>
16
- </select>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
+ <div class="happyforms-buttongroup">
8
+ <label for="<%= instance.id %>-label_placement-show">
9
+ <input type="radio" id="<%= instance.id %>-label_placement-show" value="show" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'show' ) ? 'checked' : '' %> />
10
+ <span><?php _e( 'Show', 'happyforms' ); ?></span>
11
+ </label>
12
+ <label for="<%= instance.id %>-label_placement-hidden">
13
+ <input type="radio" id="<%= instance.id %>-label_placement-hidden" value="hidden" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'hidden' ) ? 'checked' : '' %> />
14
+ <span><?php _e( 'Hide', 'happyforms' ); ?></span>
15
+ </label>
16
+ </div>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
core/templates/parts/customize-radio.php CHANGED
@@ -4,16 +4,16 @@
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
- <select id="<%= instance.id %>_label_placement" name="label_placement" data-bind="label_placement" class="widefat">
8
- <option value="show"<%= (instance.label_placement == 'show') ? ' selected' : '' %>><?php _e( 'Show', 'happyforms' ); ?></option>
9
- <% if ( 'left' == instance.label_placement ) { %>
10
- <option value="left" selected><?php _e( 'Left', 'happyforms' ); ?></option>
11
- <% } %>
12
- <% if ( 'below' == instance.label_placement ) { %>
13
- <option value="below" selected><?php _e( 'Below', 'happyforms' ); ?></option>
14
- <% } %>
15
- <option value="hidden"<%= (instance.label_placement == 'hidden') ? ' selected' : '' %>><?php _e( 'Hide', 'happyforms' ); ?></option>
16
- </select>
17
  </div>
18
  </p>
19
  <p>
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
+ <div class="happyforms-buttongroup">
8
+ <label for="<%= instance.id %>-label_placement-show">
9
+ <input type="radio" id="<%= instance.id %>-label_placement-show" value="show" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'show' ) ? 'checked' : '' %> />
10
+ <span><?php _e( 'Show', 'happyforms' ); ?></span>
11
+ </label>
12
+ <label for="<%= instance.id %>-label_placement-hidden">
13
+ <input type="radio" id="<%= instance.id %>-label_placement-hidden" value="hidden" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'hidden' ) ? 'checked' : '' %> />
14
+ <span><?php _e( 'Hide', 'happyforms' ); ?></span>
15
+ </label>
16
+ </div>
17
  </div>
18
  </p>
19
  <p>
core/templates/parts/customize-select.php CHANGED
@@ -4,16 +4,16 @@
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
- <select id="<%= instance.id %>_label_placement" name="label_placement" data-bind="label_placement" class="widefat">
8
- <option value="show"<%= (instance.label_placement == 'show') ? ' selected' : '' %>><?php _e( 'Show', 'happyforms' ); ?></option>
9
- <% if ( 'left' == instance.label_placement ) { %>
10
- <option value="left" selected><?php _e( 'Left', 'happyforms' ); ?></option>
11
- <% } %>
12
- <% if ( 'below' == instance.label_placement ) { %>
13
- <option value="below" selected><?php _e( 'Below', 'happyforms' ); ?></option>
14
- <% } %>
15
- <option value="hidden"<%= (instance.label_placement == 'hidden') ? ' selected' : '' %>><?php _e( 'Hide', 'happyforms' ); ?></option>
16
- </select>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
+ <div class="happyforms-buttongroup">
8
+ <label for="<%= instance.id %>-label_placement-show">
9
+ <input type="radio" id="<%= instance.id %>-label_placement-show" value="show" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'show' ) ? 'checked' : '' %> />
10
+ <span><?php _e( 'Show', 'happyforms' ); ?></span>
11
+ </label>
12
+ <label for="<%= instance.id %>-label_placement-hidden">
13
+ <input type="radio" id="<%= instance.id %>-label_placement-hidden" value="hidden" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'hidden' ) ? 'checked' : '' %> />
14
+ <span><?php _e( 'Hide', 'happyforms' ); ?></span>
15
+ </label>
16
+ </div>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
core/templates/parts/customize-single-line-text.php CHANGED
@@ -4,16 +4,16 @@
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
- <select id="<%= instance.id %>_label_placement" name="label_placement" data-bind="label_placement" class="widefat">
8
- <option value="show"<%= (instance.label_placement == 'show') ? ' selected' : '' %>><?php _e( 'Show', 'happyforms' ); ?></option>
9
- <% if ( 'left' == instance.label_placement ) { %>
10
- <option value="left" selected><?php _e( 'Left', 'happyforms' ); ?></option>
11
- <% } %>
12
- <% if ( 'below' == instance.label_placement ) { %>
13
- <option value="below" selected><?php _e( 'Below', 'happyforms' ); ?></option>
14
- <% } %>
15
- <option value="hidden"<%= (instance.label_placement == 'hidden') ? ' selected' : '' %>><?php _e( 'Hide', 'happyforms' ); ?></option>
16
- </select>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
4
  <label for="<%= instance.id %>_title"><?php _e( 'Label', 'happyforms' ); ?></label>
5
  <div class="label-group">
6
  <input type="text" id="<%= instance.id %>_title" class="widefat title" value="<%= instance.label %>" data-bind="label" />
7
+ <div class="happyforms-buttongroup">
8
+ <label for="<%= instance.id %>-label_placement-show">
9
+ <input type="radio" id="<%= instance.id %>-label_placement-show" value="show" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'show' ) ? 'checked' : '' %> />
10
+ <span><?php _e( 'Show', 'happyforms' ); ?></span>
11
+ </label>
12
+ <label for="<%= instance.id %>-label_placement-hidden">
13
+ <input type="radio" id="<%= instance.id %>-label_placement-hidden" value="hidden" name="<%= instance.id %>-label_placement" data-bind="label_placement" <%= ( instance.label_placement == 'hidden' ) ? 'checked' : '' %> />
14
+ <span><?php _e( 'Hide', 'happyforms' ); ?></span>
15
+ </label>
16
+ </div>
17
  </div>
18
  </p>
19
  <p class="happyforms-placeholder-option" style="display: <%= ( 'as_placeholder' !== instance.label_placement ) ? 'block' : 'none' %>">
core/templates/parts/frontend-checkbox.php CHANGED
@@ -2,9 +2,7 @@
2
  <div class="happyforms-part-wrap">
3
  <?php happyforms_the_part_label( $part, $form ); ?>
4
 
5
- <?php if ( 'tooltip' !== $part['description_mode'] || 'hidden' === $part['label_placement'] ) : ?>
6
- <?php happyforms_print_part_description( $part ); ?>
7
- <?php endif; ?>
8
 
9
  <?php
10
  $checkmark_content = '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="currentColor" d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>';
@@ -13,16 +11,6 @@
13
  <div class="happyforms-part__el">
14
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
15
 
16
- <?php if ( 1 == $part['show_select_all'] ) : ?>
17
- <div class="happyforms-part__option happyforms-part-option happyforms-part-option--select-all">
18
- <label class="option-label">
19
- <input type="checkbox" class="happyforms-visuallyhidden happyforms-select-all">
20
- <span class="checkmark"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="currentColor" d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg></span>
21
- <span class="label"><?php echo $part['select_all_label']; ?></span>
22
- </label>
23
- </div>
24
- <?php endif; ?>
25
-
26
  <?php
27
  $options = happyforms_get_part_options( $part['options'], $part, $form );
28
  $value = happyforms_get_part_value( $part, $form );
2
  <div class="happyforms-part-wrap">
3
  <?php happyforms_the_part_label( $part, $form ); ?>
4
 
5
+ <?php happyforms_print_part_description( $part ); ?>
 
 
6
 
7
  <?php
8
  $checkmark_content = '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="currentColor" d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>';
11
  <div class="happyforms-part__el">
12
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
13
 
 
 
 
 
 
 
 
 
 
 
14
  <?php
15
  $options = happyforms_get_part_options( $part['options'], $part, $form );
16
  $value = happyforms_get_part_value( $part, $form );
core/templates/parts/frontend-email.php CHANGED
@@ -18,9 +18,7 @@
18
  <?php happyforms_the_part_label( $part, $form ); ?>
19
  <?php endif; ?>
20
 
21
- <?php if ( 'tooltip' !== $part['description_mode'] || 'hidden' === $part['label_placement'] ) : ?>
22
- <?php happyforms_print_part_description( $part ); ?>
23
- <?php endif; ?>
24
 
25
  <div class="happyforms-part__el">
26
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
18
  <?php happyforms_the_part_label( $part, $form ); ?>
19
  <?php endif; ?>
20
 
21
+ <?php happyforms_print_part_description( $part ); ?>
 
 
22
 
23
  <div class="happyforms-part__el">
24
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
core/templates/parts/frontend-multi-line-text.php CHANGED
@@ -4,16 +4,11 @@
4
  <?php happyforms_the_part_label( $part, $form ); ?>
5
  <?php endif; ?>
6
 
7
- <?php if ( 'tooltip' !== $part['description_mode'] || 'hidden' === $part['label_placement'] ) : ?>
8
- <?php happyforms_print_part_description( $part ); ?>
9
- <?php endif; ?>
10
 
11
  <div class="happyforms-part__el">
12
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
13
 
14
- <?php if ( 1 == $part['rich_text'] ) : ?>
15
- <div class="happyforms-visual-editor">
16
- <?php endif; ?>
17
  <?php
18
  $textarea_rows = apply_filters( 'happyforms_long_text_field_rows', 5, $part, $form );
19
  ?>
@@ -22,10 +17,6 @@
22
  <?php happyforms_the_part_label( $part, $form ); ?>
23
  <?php endif; ?>
24
 
25
- <?php if ( 1 == $part['rich_text'] ) : ?>
26
- </div>
27
- <?php endif; ?>
28
-
29
  <?php do_action( 'happyforms_part_input_after', $part, $form ); ?>
30
 
31
  <?php happyforms_part_error_message( happyforms_get_part_name( $part, $form ) ); ?>
4
  <?php happyforms_the_part_label( $part, $form ); ?>
5
  <?php endif; ?>
6
 
7
+ <?php happyforms_print_part_description( $part ); ?>
 
 
8
 
9
  <div class="happyforms-part__el">
10
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
11
 
 
 
 
12
  <?php
13
  $textarea_rows = apply_filters( 'happyforms_long_text_field_rows', 5, $part, $form );
14
  ?>
17
  <?php happyforms_the_part_label( $part, $form ); ?>
18
  <?php endif; ?>
19
 
 
 
 
 
20
  <?php do_action( 'happyforms_part_input_after', $part, $form ); ?>
21
 
22
  <?php happyforms_part_error_message( happyforms_get_part_name( $part, $form ) ); ?>
core/templates/parts/frontend-number.php CHANGED
@@ -25,9 +25,7 @@
25
  <?php happyforms_the_part_label( $part, $form ); ?>
26
  <?php endif; ?>
27
 
28
- <?php if ( 'tooltip' !== $part['description_mode'] || 'hidden' === $part['label_placement'] ) : ?>
29
- <?php happyforms_print_part_description( $part ); ?>
30
- <?php endif; ?>
31
 
32
  <div class="happyforms-part__el">
33
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
25
  <?php happyforms_the_part_label( $part, $form ); ?>
26
  <?php endif; ?>
27
 
28
+ <?php happyforms_print_part_description( $part ); ?>
 
 
29
 
30
  <div class="happyforms-part__el">
31
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
core/templates/parts/frontend-radio.php CHANGED
@@ -2,9 +2,7 @@
2
  <div class="happyforms-part-wrap">
3
  <?php happyforms_the_part_label( $part, $form ); ?>
4
 
5
- <?php if ( 'tooltip' !== $part['description_mode'] || 'hidden' === $part['label_placement'] ) : ?>
6
- <?php happyforms_print_part_description( $part ); ?>
7
- <?php endif; ?>
8
 
9
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
10
 
2
  <div class="happyforms-part-wrap">
3
  <?php happyforms_the_part_label( $part, $form ); ?>
4
 
5
+ <?php happyforms_print_part_description( $part ); ?>
 
 
6
 
7
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
8
 
core/templates/parts/frontend-select.php CHANGED
@@ -2,9 +2,7 @@
2
  <div class="happyforms-part-wrap">
3
  <?php happyforms_the_part_label( $part, $form ); ?>
4
 
5
- <?php if ( 'tooltip' !== $part['description_mode'] || 'hidden' === $part['label_placement'] ) : ?>
6
- <?php happyforms_print_part_description( $part ); ?>
7
- <?php endif; ?>
8
 
9
  <?php
10
  $options = happyforms_get_part_options( $part['options'], $part, $form );
2
  <div class="happyforms-part-wrap">
3
  <?php happyforms_the_part_label( $part, $form ); ?>
4
 
5
+ <?php happyforms_print_part_description( $part ); ?>
 
 
6
 
7
  <?php
8
  $options = happyforms_get_part_options( $part['options'], $part, $form );
core/templates/parts/frontend-single-line-text.php CHANGED
@@ -24,9 +24,7 @@
24
  <?php happyforms_the_part_label( $part, $form ); ?>
25
  <?php endif; ?>
26
 
27
- <?php if ( 'tooltip' !== $part['description_mode'] || 'hidden' === $part['label_placement'] ) : ?>
28
- <?php happyforms_print_part_description( $part ); ?>
29
- <?php endif; ?>
30
 
31
  <div class="happyforms-part__el">
32
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
24
  <?php happyforms_the_part_label( $part, $form ); ?>
25
  <?php endif; ?>
26
 
27
+ <?php happyforms_print_part_description( $part ); ?>
 
 
28
 
29
  <div class="happyforms-part__el">
30
  <?php do_action( 'happyforms_part_input_before', $part, $form ); ?>
core/templates/single-form.php CHANGED
@@ -7,7 +7,6 @@
7
 
8
  <?php happyforms_action_field(); ?>
9
  <?php happyforms_form_field( $form['ID'] ); ?>
10
- <?php happyforms_nonce_field( $form ); ?>
11
  <?php happyforms_step_field( $form ); ?>
12
 
13
  <div class="happyforms-flex">
7
 
8
  <?php happyforms_action_field(); ?>
9
  <?php happyforms_form_field( $form['ID'] ); ?>
 
10
  <?php happyforms_step_field( $form ); ?>
11
 
12
  <div class="happyforms-flex">
happyforms.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://happyforms.io
6
  * Description: We're changin' WordPress forms.
7
  * Author: Happyforms
8
- * Version: 1.13.12
9
  * Author URI: https://happyforms.io
10
  * Upgrade URI: https://happyforms.io/upgrade
11
  */
@@ -22,7 +22,7 @@ if ( defined( 'HAPPYFORMS_UPGRADE_VERSION' ) ) {
22
  /**
23
  * The current version of the plugin.
24
  */
25
- define( 'HAPPYFORMS_VERSION', '1.13.12' );
26
 
27
  if ( ! function_exists( 'happyforms_plugin_file' ) ):
28
  /**
5
  * Plugin URI: https://happyforms.io
6
  * Description: We're changin' WordPress forms.
7
  * Author: Happyforms
8
+ * Version: 1.14.0
9
  * Author URI: https://happyforms.io
10
  * Upgrade URI: https://happyforms.io/upgrade
11
  */
22
  /**
23
  * The current version of the plugin.
24
  */
25
+ define( 'HAPPYFORMS_VERSION', '1.14.0' );
26
 
27
  if ( ! function_exists( 'happyforms_plugin_file' ) ):
28
  /**
inc/assets/css/dashboard-modals.css CHANGED
@@ -18,7 +18,7 @@
18
  .happyforms-modal--onboarding .happyforms-modal__body,
19
  .happyforms-modal--upgrade .happyforms-modal__header,
20
  .happyforms-modal--upgrade .happyforms-modal__body {
21
- padding: 24px 32px 0;
22
  }
23
 
24
  .happyforms-modal--onboarding .happyforms-modal__body,
18
  .happyforms-modal--onboarding .happyforms-modal__body,
19
  .happyforms-modal--upgrade .happyforms-modal__header,
20
  .happyforms-modal--upgrade .happyforms-modal__body {
21
+ padding: 16px 32px 0;
22
  }
23
 
24
  .happyforms-modal--onboarding .happyforms-modal__body,
inc/assets/js/customize.js CHANGED
@@ -720,8 +720,6 @@
720
 
721
  this.drawer.close();
722
 
723
- partModel.set( 'description_mode', happyForms.form.get( 'part_description_mode' ) );
724
-
725
  this.model.get( 'parts' ).add( partModel, options );
726
  this.model.trigger( 'change', this.model );
727
 
@@ -1057,7 +1055,6 @@
1057
  this.listenTo( this.model, 'change:placeholder', this.onPlaceholderChange );
1058
  this.listenTo( this.model, 'change:description', this.onDescriptionChange );
1059
  this.listenTo( this.model, 'change:default_value', this.onDefaultValueChange );
1060
- //this.listenTo( this.model, 'change:description_mode', this.onDescriptionModeChange );
1061
  this.listenTo( this.model, 'change:label_placement', this.onLabelPlacementChange );
1062
  this.listenTo( this.model, 'change:css_class', this.onCSSClassChange );
1063
  this.listenTo( this.model, 'change:focus_reveal_description', this.onFocusRevealDescriptionChange );
@@ -1313,12 +1310,8 @@
1313
 
1314
  if ( value ) {
1315
  this.showDescriptionOptions();
1316
- } else {
1317
- model.set('tooltip_description', 0);
1318
- this.hideDescriptionOptions();
1319
  }
1320
 
1321
- model.set( 'description_mode', happyForms.form.get( 'part_description_mode' ) );
1322
  model.fetchHtml( function( response ) {
1323
  var data = {
1324
  id: model.get( 'id' ),
@@ -1329,40 +1322,6 @@
1329
  } );
1330
  },
1331
 
1332
- /**
1333
- * Trigger a previewer event on tooltip description checkbox change.
1334
- *
1335
- * @since 1.1.0.
1336
- *
1337
- * @return void
1338
- */
1339
- onDescriptionModeChange: function( model, value ) {
1340
- if ( 'tooltip' === model.get( 'description_mode' ) || 'tooltip' === model.previous( 'description_mode' ) ) {
1341
- // reset mode to 'Standard' if label display is set to 'Hidden'
1342
- if ( 'hidden' === model.get( 'label_placement' ) ) {
1343
- this.resetDescriptionMode();
1344
-
1345
- return;
1346
- }
1347
-
1348
- model.fetchHtml( function( response ) {
1349
- var data = {
1350
- id: model.get( 'id' ),
1351
- html: response,
1352
- };
1353
-
1354
- happyForms.previewSend( 'happyforms-form-part-refresh', data );
1355
- } );
1356
- } else {
1357
- var data = {
1358
- id: model.id,
1359
- callback: 'onDescriptionModeChangeCallback',
1360
- };
1361
-
1362
- happyForms.previewSend( 'happyforms-part-dom-update', data );
1363
- }
1364
- },
1365
-
1366
  /**
1367
  * Send data about changed label placement value to previewer.
1368
  *
@@ -1371,8 +1330,6 @@
1371
  * @return void
1372
  */
1373
  onLabelPlacementChange: function( model, value, options ) {
1374
- var $select = $( '[data-bind=label_placement]', this.$el );
1375
-
1376
  if ( 'hidden' === value ) {
1377
  $( '[data-bind=description_mode] option[value=tooltip]', this.$el ).hide();
1378
 
@@ -1381,26 +1338,20 @@
1381
  $( '[data-bind=description_mode] option[value=tooltip]', this.$el ).show();
1382
  }
1383
 
1384
- if ( $('option[value='+value+']', $select).length > 0 ) {
1385
- $select.val( value );
1386
-
1387
- if ( 'as_placeholder' === value ) {
1388
- $( '.happyforms-placeholder-option', this.$el ).hide();
1389
- } else {
1390
- $( '.happyforms-placeholder-option', this.$el ).show();
1391
- }
1392
-
1393
- model.fetchHtml( function( response ) {
1394
- var data = {
1395
- id: model.get( 'id' ),
1396
- html: response,
1397
- };
1398
-
1399
- happyForms.previewSend( 'happyforms-form-part-refresh', data );
1400
- } );
1401
  } else {
1402
- model.set('label_placement', model.previous('label_placement'), { silent: true });
1403
  }
 
 
 
 
 
 
 
 
 
1404
  },
1405
 
1406
  resetDescriptionMode: function() {
@@ -1453,10 +1404,6 @@
1453
  },
1454
 
1455
  onFocusRevealDescriptionChange: function( model, value ) {
1456
- if ( 1 == value && 1 == model.get( 'tooltip_description' ) ) {
1457
- $( '[data-bind=tooltip_description]', this.$el ).prop('checked', false ).trigger('change');
1458
- }
1459
-
1460
  var data = {
1461
  id: this.model.id,
1462
  callback: 'onFocusRevealDescriptionCallback',
@@ -2062,7 +2009,7 @@
2062
  };
2063
 
2064
  happyForms.previewSend( 'happyforms-form-dom-update', data );
2065
- },
2066
  } );
2067
 
2068
  classes.views.FormStyle = classes.views.Base.extend( {
@@ -2086,7 +2033,6 @@
2086
  this.onAdditionalCSSChange( model, value );
2087
  }, 500 ) );
2088
  this.listenTo( this.model, 'change:form_title', this.onChangeTitleDisplay );
2089
- this.listenTo( this.model, 'change:part_description_mode', this.onChangeGlobalDescriptionMode );
2090
 
2091
  this.styles = new Backbone.Collection();
2092
  },
@@ -2160,10 +2106,6 @@
2160
  happyForms.previewSend( 'happyforms-form-class-update', data );
2161
  },
2162
 
2163
- onChangeGlobalDescriptionMode: function( model, value ) {
2164
- this.refreshFormParts( 'description_mode', value );
2165
- },
2166
-
2167
  refreshFormParts: function( partAttribute, value ) {
2168
  happyForms.form.get( 'parts' ).forEach( function( $partModel ) {
2169
  $partModel.set( partAttribute, value );
@@ -2616,32 +2558,6 @@
2616
  var instance = $part.data( 'HappyFormPart' );
2617
 
2618
  instance.editor.setContent( default_value );
2619
- }
2620
- },
2621
-
2622
- onDescriptionModeChangeCallback: function( id, html ) {
2623
- var part = happyForms.form.get( 'parts' ).get( id );
2624
- var $part = this.$( html );
2625
- var $description = this.$( '.happyforms-tooltip + .happyforms-part__description', $part );
2626
- var $tooltip = this.$( '.happyforms-part__tooltip', $part );
2627
-
2628
- switch( part.get( 'description_mode' ) ) {
2629
- case 'focus-reveal':
2630
- $tooltip.hide();
2631
- $description.show();
2632
- $part.addClass('happyforms-part--focus-reveal-description');
2633
- break;
2634
- case 'tooltip':
2635
- $tooltip.show();
2636
- $description.hide();
2637
- $part.removeClass('happyforms-part--focus-reveal-description');
2638
- break;
2639
- case '':
2640
- default:
2641
- $tooltip.hide();
2642
- $description.show();
2643
- $part.removeClass('happyforms-part--focus-reveal-description');
2644
- break;
2645
  }
2646
  },
2647
 
@@ -2722,7 +2638,7 @@
2722
  onSubmissionsLeftLabelChangeCallback: function( $form ) {
2723
  var submissionsLeftLabel = happyForms.form.get( 'submissions_left_label' );
2724
  $( '.happyforms-submissions-left', $form ).text( submissionsLeftLabel );
2725
- },
2726
  };
2727
 
2728
  happyForms = window.happyForms = new HappyForms();
720
 
721
  this.drawer.close();
722
 
 
 
723
  this.model.get( 'parts' ).add( partModel, options );
724
  this.model.trigger( 'change', this.model );
725
 
1055
  this.listenTo( this.model, 'change:placeholder', this.onPlaceholderChange );
1056
  this.listenTo( this.model, 'change:description', this.onDescriptionChange );
1057
  this.listenTo( this.model, 'change:default_value', this.onDefaultValueChange );
 
1058
  this.listenTo( this.model, 'change:label_placement', this.onLabelPlacementChange );
1059
  this.listenTo( this.model, 'change:css_class', this.onCSSClassChange );
1060
  this.listenTo( this.model, 'change:focus_reveal_description', this.onFocusRevealDescriptionChange );
1310
 
1311
  if ( value ) {
1312
  this.showDescriptionOptions();
 
 
 
1313
  }
1314
 
 
1315
  model.fetchHtml( function( response ) {
1316
  var data = {
1317
  id: model.get( 'id' ),
1322
  } );
1323
  },
1324
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1325
  /**
1326
  * Send data about changed label placement value to previewer.
1327
  *
1330
  * @return void
1331
  */
1332
  onLabelPlacementChange: function( model, value, options ) {
 
 
1333
  if ( 'hidden' === value ) {
1334
  $( '[data-bind=description_mode] option[value=tooltip]', this.$el ).hide();
1335
 
1338
  $( '[data-bind=description_mode] option[value=tooltip]', this.$el ).show();
1339
  }
1340
 
1341
+ if ( 'as_placeholder' === value ) {
1342
+ $( '.happyforms-placeholder-option', this.$el ).hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1343
  } else {
1344
+ $( '.happyforms-placeholder-option', this.$el ).show();
1345
  }
1346
+
1347
+ model.fetchHtml( function( response ) {
1348
+ var data = {
1349
+ id: model.get( 'id' ),
1350
+ html: response,
1351
+ };
1352
+
1353
+ happyForms.previewSend( 'happyforms-form-part-refresh', data );
1354
+ } );
1355
  },
1356
 
1357
  resetDescriptionMode: function() {
1404
  },
1405
 
1406
  onFocusRevealDescriptionChange: function( model, value ) {
 
 
 
 
1407
  var data = {
1408
  id: this.model.id,
1409
  callback: 'onFocusRevealDescriptionCallback',
2009
  };
2010
 
2011
  happyForms.previewSend( 'happyforms-form-dom-update', data );
2012
+ },
2013
  } );
2014
 
2015
  classes.views.FormStyle = classes.views.Base.extend( {
2033
  this.onAdditionalCSSChange( model, value );
2034
  }, 500 ) );
2035
  this.listenTo( this.model, 'change:form_title', this.onChangeTitleDisplay );
 
2036
 
2037
  this.styles = new Backbone.Collection();
2038
  },
2106
  happyForms.previewSend( 'happyforms-form-class-update', data );
2107
  },
2108
 
 
 
 
 
2109
  refreshFormParts: function( partAttribute, value ) {
2110
  happyForms.form.get( 'parts' ).forEach( function( $partModel ) {
2111
  $partModel.set( partAttribute, value );
2558
  var instance = $part.data( 'HappyFormPart' );
2559
 
2560
  instance.editor.setContent( default_value );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2561
  }
2562
  },
2563
 
2638
  onSubmissionsLeftLabelChangeCallback: function( $form ) {
2639
  var submissionsLeftLabel = happyForms.form.get( 'submissions_left_label' );
2640
  $( '.happyforms-submissions-left', $form ).text( submissionsLeftLabel );
2641
+ },
2642
  };
2643
 
2644
  happyForms = window.happyForms = new HappyForms();
inc/assets/js/frontend.js CHANGED
@@ -11,7 +11,6 @@
11
  this.$input.on( 'blur', this.onBlur.bind( this ) );
12
  this.$input.on( 'focus', this.onInputFocus.bind( this ) );
13
 
14
- this.initTooltip();
15
  this.onBlur();
16
  },
17
 
@@ -129,63 +128,6 @@
129
  return valid;
130
  },
131
 
132
- initTooltip: function() {
133
- if ( ! $.fn.tooltip ) {
134
- return;
135
- }
136
-
137
- var $form = this.$el.closest( 'form' );
138
- var formStyles = getComputedStyle( $form[0] );
139
-
140
- var descriptionProperties = [
141
- '--happyforms-color-part-description',
142
- '--happyforms-color-part-background',
143
- '--happyforms-part-description-font-size',
144
- '--happyforms-color-part-border',
145
- 'font-family',
146
- 'letter-spacing',
147
- ];
148
-
149
- $( '.happyforms-tooltip__trigger', this.$el ).on( 'click', function( e ) {
150
- e.preventDefault();
151
- } );
152
-
153
- $( '.happyforms-tooltip__trigger', this.$el ).tooltip( {
154
- tooltipClass: 'happyforms-tooltip-ui',
155
- position: {
156
- my: 'bottom',
157
- at: 'center top',
158
- },
159
- open: function( event, ui ) {
160
- if ( ! event.srcElement ) {
161
- return;
162
- }
163
-
164
- var originalHeight = ui.tooltip.height();
165
-
166
- descriptionProperties.forEach( function( variable ) {
167
- var value = formStyles.getPropertyValue( variable );
168
- ui.tooltip[0].style.setProperty( variable, value );
169
- } );
170
-
171
- var newHeight = ui.tooltip.height();
172
- var heightDifference;
173
-
174
- if ( originalHeight > newHeight ) {
175
- heightDifference = originalHeight - newHeight;
176
- ui.tooltip.css( 'top', '+=' + heightDifference );
177
- } else {
178
- heightDifference = newHeight - originalHeight;
179
- ui.tooltip.css( 'top', '-=' + heightDifference );
180
- }
181
-
182
- if ( $( event.srcElement ).offset().top < ui.tooltip.offset().top ) {
183
- ui.tooltip.addClass( 'happyforms-tooltip-ui--bottom' );
184
- }
185
- },
186
- } );
187
- },
188
-
189
  destroy: function() {
190
  this.$el.data( 'HappyFormPart', false );
191
  }
@@ -253,7 +195,6 @@
253
  serialize: function( submitEl ) {
254
  var action = $( '[name=action]', this.$form ).val();
255
  var form_id = $( '[name=happyforms_form_id]', this.$form ).val();
256
- var nonce = $( '[name=happyforms_message_nonce]', this.$form ).val();
257
  var referer = $( '[name=_wp_http_referer]', this.$form ).val();
258
  var step = this.$step.val();
259
 
@@ -261,7 +202,6 @@
261
  { name: 'action', value: action },
262
  { name: 'happyforms_form_id', value: form_id },
263
  { name: 'happyforms_step', value: step },
264
- { name: 'happyforms_message_nonce', value: nonce },
265
  { name: 'referer', value: referer },
266
  ];
267
 
11
  this.$input.on( 'blur', this.onBlur.bind( this ) );
12
  this.$input.on( 'focus', this.onInputFocus.bind( this ) );
13
 
 
14
  this.onBlur();
15
  },
16
 
128
  return valid;
129
  },
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  destroy: function() {
132
  this.$el.data( 'HappyFormPart', false );
133
  }
195
  serialize: function( submitEl ) {
196
  var action = $( '[name=action]', this.$form ).val();
197
  var form_id = $( '[name=happyforms_form_id]', this.$form ).val();
 
198
  var referer = $( '[name=_wp_http_referer]', this.$form ).val();
199
  var step = this.$step.val();
200
 
202
  { name: 'action', value: action },
203
  { name: 'happyforms_form_id', value: form_id },
204
  { name: 'happyforms_step', value: step },
 
205
  { name: 'referer', value: referer },
206
  ];
207
 
inc/assets/jsx/build/admin/dashboard-modals.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '549fb648f66ad64ae57358a9d66a7773');
1
+ <?php return array('dependencies' => array('wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b592a27b6f1ec43f3c768fb654e3b2d2');
inc/assets/jsx/build/admin/dashboard-modals.js CHANGED
@@ -250,7 +250,6 @@ __webpack_require__.r(__webpack_exports__);
250
  const OnboardingModal = props => {
251
  const imageURL = `${settings.pluginURL}/inc/assets/img/welcome.gif`;
252
  const [email, setEmail] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useState"])('');
253
- const [poweredBy, setPoweredBy] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useState"])(false);
254
 
255
  const onEmailChange = e => {
256
  setEmail(e.target.value);
@@ -260,8 +259,7 @@ __webpack_require__.r(__webpack_exports__);
260
  $.post(ajaxurl, {
261
  action: settings.onboardingModalAction,
262
  _wpnonce: settings.onboardingModalNonce,
263
- email: email,
264
- powered_by: poweredBy ? 1 : 0
265
  });
266
  return props.onRequestClose();
267
  };
@@ -284,12 +282,7 @@ __webpack_require__.r(__webpack_exports__);
284
  value: email,
285
  onChange: onEmailChange,
286
  autoFocus: true
287
- }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("label", {
288
- className: "happyforms-radio-label"
289
- }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], {
290
- checked: poweredBy,
291
- onChange: setPoweredBy
292
- }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("span", null, Object(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_3__["__"])('Yes, I want to help support the free plugin by adding a powered by link in the footer of my forms and emails.', 'happyforms')))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
293
  className: "happyforms-modal__footer"
294
  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["BaseControl"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Button"], {
295
  isPrimary: true,
@@ -387,8 +380,7 @@ function _defineProperty(obj, key, value) {
387
  return obj;
388
  }
389
 
390
- module.exports = _defineProperty;
391
- module.exports["default"] = module.exports, module.exports.__esModule = true;
392
 
393
  /***/ }),
394
 
250
  const OnboardingModal = props => {
251
  const imageURL = `${settings.pluginURL}/inc/assets/img/welcome.gif`;
252
  const [email, setEmail] = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["useState"])('');
 
253
 
254
  const onEmailChange = e => {
255
  setEmail(e.target.value);
259
  $.post(ajaxurl, {
260
  action: settings.onboardingModalAction,
261
  _wpnonce: settings.onboardingModalNonce,
262
+ email: email
 
263
  });
264
  return props.onRequestClose();
265
  };
282
  value: email,
283
  onChange: onEmailChange,
284
  autoFocus: true
285
+ })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])("div", {
 
 
 
 
 
286
  className: "happyforms-modal__footer"
287
  }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["BaseControl"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Button"], {
288
  isPrimary: true,
380
  return obj;
381
  }
382
 
383
+ module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
 
384
 
385
  /***/ }),
386
 
inc/assets/jsx/build/admin/dashboard-modals.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./build/core/assets/jsx/src/admin/dashboard-modals.js","webpack:///./build/inc/assets/jsx/src/admin/dashboard-modals.js","webpack:///./node_modules/@babel/runtime/helpers/defineProperty.js","webpack:///external [\"wp\",\"components\"]","webpack:///external [\"wp\",\"element\"]","webpack:///external [\"wp\",\"i18n\"]"],"names":["$","settings","render","wp","element","DeactivateModal","props","option","setOption","useState","onChange","e","target","value","onSubmit","post","ajaxurl","action","deactivateModalAction","_wpnonce","deactivateModalNonce","keep_data","window","location","href","redirectURL","onRequestClose","__","ModalProvider","modal","DashboardModals","constructor","area","document","getElementById","openDeactivateModal","closeModal","bind","openModal","actionModalDismiss","id","OnboardingModal","imageURL","pluginURL","email","setEmail","poweredBy","setPoweredBy","onEmailChange","onboardingModalAction","onboardingModalNonce","powered_by","image","content","UpgradeModal","DashboardModalsBaseClass","DashboardModalsClass","openOnboardingModal","trackingStatus","openUpgradeModal","happyForms","modals","jQuery","_happyFormsDashboardModalsSettings"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;;;;;;;;;;;;AClFA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;;AACe,yEAAUA,CAAV,EAAaC,QAAb,EAAwB;AAEtC,QAAM;AAAEC;AAAF,MAAaC,EAAE,CAACC,OAAtB;AAEA;AACD;AACA;AACA;AACA;;AACC,QAAMC,eAAe,GAAKC,KAAF,IAAa;AACpC,UAAM,CAAEC,MAAF,EAAUC,SAAV,IAAwBC,mEAAQ,CAAE,KAAF,CAAtC;;AAEA,UAAMC,QAAQ,GAAKC,CAAF,IAAS;AACzBH,eAAS,CAAEG,CAAC,CAACC,MAAF,CAASC,KAAX,CAAT;AACA,KAFD;;AAIA,UAAMC,QAAQ,GAAG,MAAM;AACtBd,OAAC,CAACe,IAAF,CAAQC,OAAR,EAAiB;AAChBC,cAAM,EAAEhB,QAAQ,CAACiB,qBADD;AAEhBC,gBAAQ,EAAElB,QAAQ,CAACmB,oBAFH;AAGhBC,iBAAS,EAAEd;AAHK,OAAjB,EAIG,YAAW;AACbe,cAAM,CAACC,QAAP,CAAgBC,IAAhB,GAAuBlB,KAAK,CAACmB,WAA7B;AACA,OAND;AAQA,aAAOnB,KAAK,CAACoB,cAAN,EAAP;AACA,KAVD;;AAYA,WACC,yEAAC,2DAAD;AAAO,eAAS,EAAC,+CAAjB;AAAiE,WAAK,EAAC,uBAAvE;AAA+F,oBAAc,EAAGpB,KAAK,CAACoB;AAAtH,OACC;AAAK,eAAS,EAAC,wBAAf;AAAwC,cAAQ,EAAGhB;AAAnD,OACC;AAAO,aAAO,EAAC;AAAf,OACC;AACC,UAAI,EAAC,OADN;AAEC,QAAE,EAAC,0BAFJ;AAGC,UAAI,EAAC,sBAHN;AAIC,WAAK,EAAC,KAJP;AAKC,oBAAc;AALf,MADD,EAQC,uFAAQiB,0DAAE,CAAE,gCAAF,EAAoC,YAApC,CAAV,CARD,CADD,EAWC;AAAO,aAAO,EAAC;AAAf,OACC;AACC,UAAI,EAAC,OADN;AAEC,QAAE,EAAC,yBAFJ;AAGC,UAAI,EAAC,sBAHN;AAIC,WAAK,EAAC;AAJP,MADD,EAOC,uFAAQA,0DAAE,CAAE,gCAAF,EAAoC,YAApC,CAAV,CAPD,CAXD,CADD,EAsBC;AAAK,eAAS,EAAC;AAAf,OACC;AAAK,eAAS,EAAC;AAAf,OACC,yEAAC,4DAAD;AACC,eAAS,EAAE,IADZ;AAEC,aAAO,EAAGb,QAFX;AAGC,UAAI,EAAGP,MAAM,IAAI,KAAV,GACNoB,0DAAE,CAAE,mBAAF,EAAuB,YAAvB,CADI,GAENA,0DAAE,CAAE,mCAAF,EAAuC,YAAvC;AALJ,MADD,CADD,CAtBD,CADD;AAoCA,GAvDD;AAyDA;AACD;AACA;AACA;AACA;;;AACC,QAAMC,aAAa,GAAKtB,KAAF,IAAa;AAClC,WACC,yEAAC,sEAAD,QACGA,KAAK,CAACuB,KADT,EAEC,yEAAC,6DAAD,CAAS,IAAT,OAFD,CADD;AAMA,GAPD;;AASA,SAAO,MAAMC,eAAN,CAAsB;AAI5BC,eAAW,GAAG;AAAA,iGAFP,IAEO;;AACb,WAAKC,IAAL,GAAYC,QAAQ,CAACC,cAAT,CAAyB,wBAAzB,CAAZ;AACA;;AAEDC,uBAAmB,CAAEV,WAAF,EAAgB;AAClC,UAAII,KAAK,GAAG,yEAAC,eAAD;AAAiB,sBAAc,EAAG,KAAKO,UAAL,CAAgBC,IAAhB,CAAsB,IAAtB,EAA4B,YAA5B,CAAlC;AAA+E,mBAAW,EAAGZ;AAA7F,QAAZ;AAEA,WAAKa,SAAL,CAAgBT,KAAhB;AACA;;AAEDS,aAAS,CAAET,KAAF,EAAU;AAClB3B,YAAM,CAAE,yEAAC,aAAD;AAAe,aAAK,EAAE2B;AAAtB,QAAF,EAAiD,KAAKG,IAAtD,CAAN;AACA;;AAEDI,cAAU,CAAEP,KAAF,EAAU;AACnB3B,YAAM,CAAE,2IAAF,EAAS,KAAK8B,IAAd,CAAN;AAEAhC,OAAC,CAACe,IAAF,CAAQC,OAAR,EAAiB;AAChBC,cAAM,EAAEhB,QAAQ,CAACsC,kBADD;AAEhBC,UAAE,EAAEX;AAFY,OAAjB;AAIA;;AAzB2B,GAA7B;AA6BA,C;;;;;;;;;;;;;;;;;;;;;ACtHD;AACA;AACA;AACA;;AAEA,CAAE,UAAU7B,CAAV,EAAaC,QAAb,EAAwB;AAEzB;AACD;AACA;AACA;AACA;AACC,QAAMwC,eAAe,GAAKnC,KAAF,IAAa;AACpC,UAAMoC,QAAQ,GAAI,GAAEzC,QAAQ,CAAC0C,SAAU,6BAAvC;AACA,UAAM,CAAEC,KAAF,EAASC,QAAT,IAAsBpC,mEAAQ,CAAE,EAAF,CAApC;AACA,UAAM,CAAEqC,SAAF,EAAaC,YAAb,IAA8BtC,mEAAQ,CAAE,KAAF,CAA5C;;AAEA,UAAMuC,aAAa,GAAKrC,CAAF,IAAS;AAC9BkC,cAAQ,CAAElC,CAAC,CAACC,MAAF,CAASC,KAAX,CAAR;AACA,KAFD;;AAIA,UAAMa,cAAc,GAAG,MAAM;AAC5B1B,OAAC,CAACe,IAAF,CAAQC,OAAR,EAAiB;AAChBC,cAAM,EAAEhB,QAAQ,CAACgD,qBADD;AAEhB9B,gBAAQ,EAAElB,QAAQ,CAACiD,oBAFH;AAGhBN,aAAK,EAAEA,KAHS;AAIhBO,kBAAU,EAAEL,SAAS,GAAG,CAAH,GAAO;AAJZ,OAAjB;AAOA,aAAOxC,KAAK,CAACoB,cAAN,EAAP;AACA,KATD;;AAWA,WACC,yEAAC,2DAAD;AACC,cAAQ,EAAGA,cADZ;AAEC,eAAS,EAAC,+CAFX;AAGC,WAAK,EAAG,CACP;AACC0B,aAAK,EACJ,0FACC;AAAK,aAAG,EAAEV,QAAV;AAAoB,eAAK,EAAC,KAA1B;AAAgC,gBAAM,EAAC;AAAvC,UADD,CAFF;AAMCW,eAAO,EACN,4IACA;AAAK,mBAAS,EAAC;AAAf,WACC,qFAAM1B,0DAAE,CAAE,uBAAF,EAA2B,YAA3B,CAAR,CADD,EAEC,oFAAKA,0DAAE,CAAE,iHAAF,EAAqH,YAArH,CAAP,CAFD,CADA,EAKA;AAAK,mBAAS,EAAC;AAAf,WACC,wFAASA,0DAAE,CAAE,eAAF,EAAmB,YAAnB,CAAX,CADD,EAEC;AAAO,cAAI,EAAC,OAAZ;AAAoB,eAAK,EAAGiB,KAA5B;AAAoC,kBAAQ,EAAGI,aAA/C;AAA+D,mBAAS;AAAxE,UAFD,EAGC;AAAO,mBAAS,EAAC;AAAjB,WACC,yEAAC,qEAAD;AAAiB,iBAAO,EAAGF,SAA3B;AAAuC,kBAAQ,EAAGC;AAAlD,UADD,EAEC,uFAAQpB,0DAAE,CAAE,+GAAF,EAAmH,YAAnH,CAAV,CAFD,CAHD,CALA,EAaA;AAAK,mBAAS,EAAC;AAAf,WACC,yEAAC,iEAAD,QACC,yEAAC,4DAAD;AAAQ,mBAAS,EAAE,IAAnB;AAAyB,iBAAO,EAAGD,cAAnC;AAAoD,cAAI,EAAGC,0DAAE,CAAE,UAAF,EAAc,YAAd;AAA7D,UADD,CADD,CAbA;AAPF,OADO;AAHT,MADD;AAoCA,GAxDD;AA0DA;AACD;AACA;AACA;AACA;;;AACC,QAAM2B,YAAY,GAAKhD,KAAF,IAAa;AACjC,UAAMoC,QAAQ,GAAI,GAAEzC,QAAQ,CAAC0C,SAAU,8BAAvC;AAEA,WACC,yEAAC,2DAAD;AACC,cAAQ,EAAGrC,KAAK,CAACoB,cADlB;AAEC,eAAS,EAAC,4CAFX;AAGC,WAAK,EAAG,CACP;AACC0B,aAAK,EACJ,0FACC;AAAK,aAAG,EAAEV,QAAV;AAAoB,eAAK,EAAC,KAA1B;AAAgC,gBAAM,EAAC;AAAvC,UADD,CAFF;AAMCW,eAAO,EACN,4IACA;AAAK,mBAAS,EAAC;AAAf,WACC,qFAAM1B,0DAAE,CAAE,+BAAF,EAAmC,YAAnC,CAAR,CADD,CADA,EAIA;AAAK,mBAAS,EAAC;AAAf,WACC,oFAAKA,0DAAE,CAAE,4KAAF,EAAgL,YAAhL,CAAP,CADD,EAEC,qFACC,qFAAMA,0DAAE,CAAE,oCAAF,EAAwC,YAAxC,CAAR,CADD,EAEC,qFAAMA,0DAAE,CAAE,+CAAF,EAAmD,YAAnD,CAAR,CAFD,EAGC,qFAAMA,0DAAE,CAAE,6CAAF,EAAiD,YAAjD,CAAR,CAHD,EAIC,qFAAMA,0DAAE,CAAE,wCAAF,EAA4C,YAA5C,CAAR,CAJD,CAFD,EAQC,oFAAKA,0DAAE,CAAE,qDAAF,EAAyD,YAAzD,CAAP,CARD,CAJA,EAcA;AAAK,mBAAS,EAAC;AAAf,WACC,yEAAC,iEAAD,QACC,yEAAC,4DAAD;AAAQ,mBAAS,EAAE,IAAnB;AAAyB,cAAI,EAAC,+BAA9B;AAA8D,gBAAM,EAAC,QAArE;AAA8E,cAAI,EAAGA,0DAAE,CAAE,0BAAF,EAA8B,YAA9B;AAAvF,UADD,EAEC,yEAAC,4DAAD;AAAQ,qBAAW,EAAE,IAArB;AAA2B,iBAAO,EAAGrB,KAAK,CAACoB,cAA3C;AAA4D,cAAI,EAAGC,0DAAE,CAAE,mBAAF,EAAuB,YAAvB;AAArE,UAFD,CADD,CAdA;AAPF,OADO;AAHT,MADD;AAsCA,GAzCD;;AA2CA,QAAM4B,wBAAwB,GAAGzB,+FAAe,CAAE9B,CAAF,EAAKC,QAAL,CAAhD;;AAEA,QAAMuD,oBAAN,SAAmCD,wBAAnC,CAA4D;AAE3DE,uBAAmB,GAAG;AACrB,UAAI5B,KAAK,GACR,yEAAC,eAAD;AACC,sBAAc,EAAG,KAAKO,UAAL,CAAgBC,IAAhB,CAAsB,IAAtB,EAA4B,YAA5B,CADlB;AAEC,cAAM,EAAGpC,QAAQ,CAACyD;AAFnB,QADD;AAMA,WAAKpB,SAAL,CAAgBT,KAAhB;AACA;;AAED8B,oBAAgB,GAAG;AAClB,UAAI9B,KAAK,GAAG,yEAAC,YAAD;AAAc,sBAAc,EAAG,KAAKO,UAAL,CAAgBC,IAAhB,CAAsB,IAAtB,EAA4B,SAA5B;AAA/B,QAAZ;AAEA,WAAKC,SAAL,CAAgBT,KAAhB;AACA;;AAhB0D;;AAkB3D;AAED,MAAI+B,UAAU,GAAGtC,MAAM,CAACsC,UAAP,IAAqB,EAAtC;AACAtC,QAAM,CAACsC,UAAP,GAAoBA,UAApB;AAEAA,YAAU,CAACC,MAAX,GAAoB,IAAIL,oBAAJ,EAApB;AAEA,CA5ID,EA4IKM,MA5IL,EA4IaC,kCA5Ib,E;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA,6E;;;;;;;;;;;AChBA,aAAa,6CAA6C,EAAE,I;;;;;;;;;;;ACA5D,aAAa,0CAA0C,EAAE,I;;;;;;;;;;;ACAzD,aAAa,uCAAuC,EAAE,I","file":"dashboard-modals.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./build/inc/assets/jsx/src/admin/dashboard-modals.js\");\n","import { SlotFillProvider, Button, Modal, Guide, Popover, Notice, ExternalLink, TextControl, CheckboxControl, BaseControl } from '@wordpress/components';\nimport { useState, useReducer, useRef } from '@wordpress/element';\nimport { __, sprintf } from '@wordpress/i18n';\n\n/**\n *\n * Modal handler class\n *\n */\nexport default function( $, settings ) {\n\n\tconst { render } = wp.element;\n\n\t/**\n\t *\n\t * Deactivation modal\n\t *\n\t */\n\tconst DeactivateModal = ( props ) => {\n\t\tconst [ option, setOption ] = useState( 'yes' );\n\n\t\tconst onChange = ( e ) => {\n\t\t\tsetOption( e.target.value );\n\t\t};\n\n\t\tconst onSubmit = () => {\n\t\t\t$.post( ajaxurl, {\n\t\t\t\taction: settings.deactivateModalAction,\n\t\t\t\t_wpnonce: settings.deactivateModalNonce,\n\t\t\t\tkeep_data: option, \n\t\t\t}, function() {\n\t\t\t\twindow.location.href = props.redirectURL;\n\t\t\t} );\n\t\t\t\n\t\t\treturn props.onRequestClose();\n\t\t}\n\n\t\treturn (\n\t\t\t<Modal className=\"happyforms-modal happyforms-modal--deactivate\" title=\"What about your data?\" onRequestClose={ props.onRequestClose }>\n\t\t\t\t<div className=\"happyforms-modal__body\" onChange={ onChange }>\n\t\t\t\t\t<label htmlFor=\"happyforms-keep-data-yes\">\n\t\t\t\t\t\t<input \n\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\tid=\"happyforms-keep-data-yes\"\n\t\t\t\t\t\t\tname=\"happyforms-keep-data\" \n\t\t\t\t\t\t\tvalue=\"yes\"\n\t\t\t\t\t\t\tdefaultChecked\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>{ __( 'Keep plugin data (recommended)', 'happyforms' ) }</span>\n\t\t\t\t\t</label>\n\t\t\t\t\t<label htmlFor=\"happyforms-keep-data-no\">\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\t\t\tid=\"happyforms-keep-data-no\"\n\t\t\t\t\t\t\tname=\"happyforms-keep-data\"\n\t\t\t\t\t\t\tvalue=\"no\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<span>{ __( 'Permanently delete plugin data', 'happyforms' ) }</span>\n\t\t\t\t\t</label>\n\t\t\t\t</div>\n\t\t\t\t<div className=\"happyforms-modal__footer\">\n\t\t\t\t\t<div className=\"happyforms-modal__footer-button-group\">\n\t\t\t\t\t\t<Button \n\t\t\t\t\t\t\tisPrimary={true} \n\t\t\t\t\t\t\tonClick={ onSubmit } \n\t\t\t\t\t\t\ttext={ option == 'yes' ? \n\t\t\t\t\t\t\t\t__( 'Deactivate Plugin', 'happyforms' ) : \n\t\t\t\t\t\t\t\t__( 'Delete Data and Deactivate Plugin', 'happyforms' ) }>\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Modal>\n\t\t);\n\t};\n\n\t/**\n\t *\n\t * Modal wrapper\n\t *\n\t */\n\tconst ModalProvider = ( props ) => {\n\t\treturn (\n\t\t\t<SlotFillProvider>\n\t\t\t\t{ props.modal }\n\t\t\t\t<Popover.Slot />\n\t\t\t</SlotFillProvider>\n\t\t);\n\t};\n\t\n\treturn class DashboardModals {\n\n\t\tarea = null;\n\t\t\n\t\tconstructor() {\n\t\t\tthis.area = document.getElementById( 'happyforms-modals-area' );\n\t\t}\n\n\t\topenDeactivateModal( redirectURL ) {\n\t\t\tvar modal = <DeactivateModal onRequestClose={ this.closeModal.bind( this, 'deactivate' ) } redirectURL={ redirectURL } />\n\n\t\t\tthis.openModal( modal );\n\t\t}\n\n\t\topenModal( modal ) {\n\t\t\trender( <ModalProvider modal={modal}></ModalProvider>, this.area );\n\t\t}\n\n\t\tcloseModal( modal ) {\n\t\t\trender( <></>, this.area );\n\n\t\t\t$.post( ajaxurl, {\n\t\t\t\taction: settings.actionModalDismiss,\n\t\t\t\tid: modal, \n\t\t\t} );\n\t\t}\n\n\t};\n\n}","import DashboardModals from '@happyforms/core/jsx/src/admin/dashboard-modals';\nimport { SlotFillProvider, Button, Modal, Guide, Popover, Notice, ExternalLink, TextControl, CheckboxControl, BaseControl } from '@wordpress/components';\nimport { useState, useReducer, useRef } from '@wordpress/element';\nimport { __, sprintf } from '@wordpress/i18n';\n\n( function( $, settings ) {\n\n\t/**\n\t *\n\t * Onboarding modal\n\t *\n\t */\n\tconst OnboardingModal = ( props ) => {\n\t\tconst imageURL = `${settings.pluginURL}/inc/assets/img/welcome.gif`;\n\t\tconst [ email, setEmail ] = useState( '' );\n\t\tconst [ poweredBy, setPoweredBy ] = useState( false );\n\n\t\tconst onEmailChange = ( e ) => {\n\t\t\tsetEmail( e.target.value );\n\t\t};\n\n\t\tconst onRequestClose = () => {\n\t\t\t$.post( ajaxurl, {\n\t\t\t\taction: settings.onboardingModalAction,\n\t\t\t\t_wpnonce: settings.onboardingModalNonce,\n\t\t\t\temail: email,\n\t\t\t\tpowered_by: poweredBy ? 1 : 0,\n\t\t\t} );\n\n\t\t\treturn props.onRequestClose();\n\t\t}\n\n\t\treturn(\n\t\t\t<Guide\n\t\t\t\tonFinish={ onRequestClose }\n\t\t\t\tclassName=\"happyforms-modal happyforms-modal--onboarding\"\n\t\t\t\tpages={ [\n\t\t\t\t\t{\n\t\t\t\t\t\timage: (\n\t\t\t\t\t\t\t<picture>\n\t\t\t\t\t\t\t\t<img src={imageURL} width=\"450\" height=\"276\" />\n\t\t\t\t\t\t\t</picture>\n\t\t\t\t\t\t),\n\t\t\t\t\t\tcontent: (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__header\">\n\t\t\t\t\t\t\t\t<h1>{ __( 'Welcome to Happyforms', 'happyforms' ) }</h1>\n\t\t\t\t\t\t\t\t<p>{ __( 'We\\'ll send you a few emails each month about plugin updates. And don\\'t sweat it, you can unsubscribe anytime.', 'happyforms' ) }</p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__body\">\n\t\t\t\t\t\t\t\t<label>{ __( 'Email address', 'happyforms' ) }</label>\n\t\t\t\t\t\t\t\t<input type=\"email\" value={ email } onChange={ onEmailChange } autoFocus />\n\t\t\t\t\t\t\t\t<label className=\"happyforms-radio-label\">\n\t\t\t\t\t\t\t\t\t<CheckboxControl checked={ poweredBy } onChange={ setPoweredBy } />\n\t\t\t\t\t\t\t\t\t<span>{ __( 'Yes, I want to help support the free plugin by adding a powered by link in the footer of my forms and emails.', 'happyforms' ) }</span>\n\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__footer\">\n\t\t\t\t\t\t\t\t<BaseControl>\n\t\t\t\t\t\t\t\t\t<Button isPrimary={true} onClick={ onRequestClose } text={ __( 'Continue', 'happyforms' ) }></Button>\n\t\t\t\t\t\t\t\t</BaseControl>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t),\n\t\t\t\t\t},\n\t\t\t\t] }\n\t\t\t/>\n\t\t);\n\t}\n\n\t/**\n\t *\n\t * Upgrade modal\n\t *\n\t */\n\tconst UpgradeModal = ( props ) => {\n\t\tconst imageURL = `${settings.pluginURL}/inc/assets/img/alrighty.gif`;\n\n\t\treturn(\n\t\t\t<Guide\n\t\t\t\tonFinish={ props.onRequestClose }\n\t\t\t\tclassName=\"happyforms-modal happyforms-modal--upgrade\"\n\t\t\t\tpages={ [\n\t\t\t\t\t{\n\t\t\t\t\t\timage: (\n\t\t\t\t\t\t\t<picture>\n\t\t\t\t\t\t\t\t<img src={imageURL} width=\"450\" height=\"276\" />\n\t\t\t\t\t\t\t</picture>\n\t\t\t\t\t\t),\n\t\t\t\t\t\tcontent: (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__header\">\n\t\t\t\t\t\t\t\t<h1>{ __( 'Start with a free 7-day trial', 'happyforms' ) }</h1>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__body\">\n\t\t\t\t\t\t\t\t<p>{ __( 'You\\'re just a mouse click and a few key taps away from building better forms for your site. And don\\'t sweat it, you can upgrade, downgrade or cancel your trial anytime.', 'happyforms' ) }</p>\n\t\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t\t<li>{ __( 'Advanced features and integrations', 'happyforms' ) }</li>\n\t\t\t\t\t\t\t\t\t<li>{ __( 'Help from the friendliest support team around', 'happyforms' ) }</li>\n\t\t\t\t\t\t\t\t\t<li>{ __( 'Automatically transfer over your free forms', 'happyforms' ) }</li>\n\t\t\t\t\t\t\t\t\t<li>{ __( 'New goodies released every second week', 'happyforms' ) }</li>\n\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t<p>{ __( 'So whattaya say? Ready to build better forms today?', 'happyforms' ) }</p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__footer\">\n\t\t\t\t\t\t\t\t<BaseControl>\n\t\t\t\t\t\t\t\t\t<Button isPrimary={true} href=\"https://happyforms.io/upgrade\" target=\"_blank\" text={ __( 'Start a Free 7-day Trial', 'happyforms' ) }></Button>\n\t\t\t\t\t\t\t\t\t<Button isSecondary={true} onClick={ props.onRequestClose } text={ __( 'Nope, Maybe Later', 'happyforms' ) }></Button>\n\t\t\t\t\t\t\t\t</BaseControl>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t),\n\t\t\t\t\t},\n\t\t\t\t] }\n\t\t\t/>\n\t\t);\n\t}\n\n\tconst DashboardModalsBaseClass = DashboardModals( $, settings );\n\t\n\tclass DashboardModalsClass extends DashboardModalsBaseClass {\n\n\t\topenOnboardingModal() {\n\t\t\tvar modal = (\n\t\t\t\t<OnboardingModal \n\t\t\t\t\tonRequestClose={ this.closeModal.bind( this, 'onboarding' ) } \n\t\t\t\t\tstatus={ settings.trackingStatus } />\n\t\t\t);\n\n\t\t\tthis.openModal( modal );\n\t\t}\n\n\t\topenUpgradeModal() {\n\t\t\tvar modal = <UpgradeModal onRequestClose={ this.closeModal.bind( this, 'upgrade' ) } />\n\n\t\t\tthis.openModal( modal );\n\t\t}\n\n\t};\n\n\tvar happyForms = window.happyForms || {};\n\twindow.happyForms = happyForms;\n\t\n\thappyForms.modals = new DashboardModalsClass();\n\n} )( jQuery, _happyFormsDashboardModalsSettings );","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","(function() { module.exports = window[\"wp\"][\"components\"]; }());","(function() { module.exports = window[\"wp\"][\"element\"]; }());","(function() { module.exports = window[\"wp\"][\"i18n\"]; }());"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./build/core/assets/jsx/src/admin/dashboard-modals.js","webpack:///./build/inc/assets/jsx/src/admin/dashboard-modals.js","webpack:///./node_modules/@babel/runtime/helpers/defineProperty.js","webpack:///external [\"wp\",\"components\"]","webpack:///external [\"wp\",\"element\"]","webpack:///external [\"wp\",\"i18n\"]"],"names":["$","settings","render","wp","element","DeactivateModal","props","option","setOption","useState","onChange","e","target","value","onSubmit","post","ajaxurl","action","deactivateModalAction","_wpnonce","deactivateModalNonce","keep_data","window","location","href","redirectURL","onRequestClose","__","ModalProvider","modal","DashboardModals","constructor","area","document","getElementById","openDeactivateModal","closeModal","bind","openModal","actionModalDismiss","id","OnboardingModal","imageURL","pluginURL","email","setEmail","onEmailChange","onboardingModalAction","onboardingModalNonce","image","content","UpgradeModal","DashboardModalsBaseClass","DashboardModalsClass","openOnboardingModal","trackingStatus","openUpgradeModal","happyForms","modals","jQuery","_happyFormsDashboardModalsSettings"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;;;;;;;;;;;;AClFA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;;AACe,yEAAUA,CAAV,EAAaC,QAAb,EAAwB;AAEtC,QAAM;AAAEC;AAAF,MAAaC,EAAE,CAACC,OAAtB;AAEA;AACD;AACA;AACA;AACA;;AACC,QAAMC,eAAe,GAAKC,KAAF,IAAa;AACpC,UAAM,CAAEC,MAAF,EAAUC,SAAV,IAAwBC,mEAAQ,CAAE,KAAF,CAAtC;;AAEA,UAAMC,QAAQ,GAAKC,CAAF,IAAS;AACzBH,eAAS,CAAEG,CAAC,CAACC,MAAF,CAASC,KAAX,CAAT;AACA,KAFD;;AAIA,UAAMC,QAAQ,GAAG,MAAM;AACtBd,OAAC,CAACe,IAAF,CAAQC,OAAR,EAAiB;AAChBC,cAAM,EAAEhB,QAAQ,CAACiB,qBADD;AAEhBC,gBAAQ,EAAElB,QAAQ,CAACmB,oBAFH;AAGhBC,iBAAS,EAAEd;AAHK,OAAjB,EAIG,YAAW;AACbe,cAAM,CAACC,QAAP,CAAgBC,IAAhB,GAAuBlB,KAAK,CAACmB,WAA7B;AACA,OAND;AAQA,aAAOnB,KAAK,CAACoB,cAAN,EAAP;AACA,KAVD;;AAYA,WACC,yEAAC,2DAAD;AAAO,eAAS,EAAC,+CAAjB;AAAiE,WAAK,EAAC,uBAAvE;AAA+F,oBAAc,EAAGpB,KAAK,CAACoB;AAAtH,OACC;AAAK,eAAS,EAAC,wBAAf;AAAwC,cAAQ,EAAGhB;AAAnD,OACC;AAAO,aAAO,EAAC;AAAf,OACC;AACC,UAAI,EAAC,OADN;AAEC,QAAE,EAAC,0BAFJ;AAGC,UAAI,EAAC,sBAHN;AAIC,WAAK,EAAC,KAJP;AAKC,oBAAc;AALf,MADD,EAQC,uFAAQiB,0DAAE,CAAE,gCAAF,EAAoC,YAApC,CAAV,CARD,CADD,EAWC;AAAO,aAAO,EAAC;AAAf,OACC;AACC,UAAI,EAAC,OADN;AAEC,QAAE,EAAC,yBAFJ;AAGC,UAAI,EAAC,sBAHN;AAIC,WAAK,EAAC;AAJP,MADD,EAOC,uFAAQA,0DAAE,CAAE,gCAAF,EAAoC,YAApC,CAAV,CAPD,CAXD,CADD,EAsBC;AAAK,eAAS,EAAC;AAAf,OACC;AAAK,eAAS,EAAC;AAAf,OACC,yEAAC,4DAAD;AACC,eAAS,EAAE,IADZ;AAEC,aAAO,EAAGb,QAFX;AAGC,UAAI,EAAGP,MAAM,IAAI,KAAV,GACNoB,0DAAE,CAAE,mBAAF,EAAuB,YAAvB,CADI,GAENA,0DAAE,CAAE,mCAAF,EAAuC,YAAvC;AALJ,MADD,CADD,CAtBD,CADD;AAoCA,GAvDD;AAyDA;AACD;AACA;AACA;AACA;;;AACC,QAAMC,aAAa,GAAKtB,KAAF,IAAa;AAClC,WACC,yEAAC,sEAAD,QACGA,KAAK,CAACuB,KADT,EAEC,yEAAC,6DAAD,CAAS,IAAT,OAFD,CADD;AAMA,GAPD;;AASA,SAAO,MAAMC,eAAN,CAAsB;AAI5BC,eAAW,GAAG;AAAA,iGAFP,IAEO;;AACb,WAAKC,IAAL,GAAYC,QAAQ,CAACC,cAAT,CAAyB,wBAAzB,CAAZ;AACA;;AAEDC,uBAAmB,CAAEV,WAAF,EAAgB;AAClC,UAAII,KAAK,GAAG,yEAAC,eAAD;AAAiB,sBAAc,EAAG,KAAKO,UAAL,CAAgBC,IAAhB,CAAsB,IAAtB,EAA4B,YAA5B,CAAlC;AAA+E,mBAAW,EAAGZ;AAA7F,QAAZ;AAEA,WAAKa,SAAL,CAAgBT,KAAhB;AACA;;AAEDS,aAAS,CAAET,KAAF,EAAU;AAClB3B,YAAM,CAAE,yEAAC,aAAD;AAAe,aAAK,EAAE2B;AAAtB,QAAF,EAAiD,KAAKG,IAAtD,CAAN;AACA;;AAEDI,cAAU,CAAEP,KAAF,EAAU;AACnB3B,YAAM,CAAE,2IAAF,EAAS,KAAK8B,IAAd,CAAN;AAEAhC,OAAC,CAACe,IAAF,CAAQC,OAAR,EAAiB;AAChBC,cAAM,EAAEhB,QAAQ,CAACsC,kBADD;AAEhBC,UAAE,EAAEX;AAFY,OAAjB;AAIA;;AAzB2B,GAA7B;AA6BA,C;;;;;;;;;;;;;;;;;;;;;ACtHD;AACA;AACA;AACA;;AAEA,CAAE,UAAU7B,CAAV,EAAaC,QAAb,EAAwB;AAEzB;AACD;AACA;AACA;AACA;AACC,QAAMwC,eAAe,GAAKnC,KAAF,IAAa;AACpC,UAAMoC,QAAQ,GAAI,GAAEzC,QAAQ,CAAC0C,SAAU,6BAAvC;AACA,UAAM,CAAEC,KAAF,EAASC,QAAT,IAAsBpC,mEAAQ,CAAE,EAAF,CAApC;;AAEA,UAAMqC,aAAa,GAAKnC,CAAF,IAAS;AAC9BkC,cAAQ,CAAElC,CAAC,CAACC,MAAF,CAASC,KAAX,CAAR;AACA,KAFD;;AAIA,UAAMa,cAAc,GAAG,MAAM;AAC5B1B,OAAC,CAACe,IAAF,CAAQC,OAAR,EAAiB;AAChBC,cAAM,EAAEhB,QAAQ,CAAC8C,qBADD;AAEhB5B,gBAAQ,EAAElB,QAAQ,CAAC+C,oBAFH;AAGhBJ,aAAK,EAAEA;AAHS,OAAjB;AAMA,aAAOtC,KAAK,CAACoB,cAAN,EAAP;AACA,KARD;;AAUA,WACC,yEAAC,2DAAD;AACC,cAAQ,EAAGA,cADZ;AAEC,eAAS,EAAC,+CAFX;AAGC,WAAK,EAAG,CACP;AACCuB,aAAK,EACJ,0FACC;AAAK,aAAG,EAAEP,QAAV;AAAoB,eAAK,EAAC,KAA1B;AAAgC,gBAAM,EAAC;AAAvC,UADD,CAFF;AAMCQ,eAAO,EACN,4IACA;AAAK,mBAAS,EAAC;AAAf,WACC,qFAAMvB,0DAAE,CAAE,uBAAF,EAA2B,YAA3B,CAAR,CADD,EAEC,oFAAKA,0DAAE,CAAE,iHAAF,EAAqH,YAArH,CAAP,CAFD,CADA,EAKA;AAAK,mBAAS,EAAC;AAAf,WACC,wFAASA,0DAAE,CAAE,eAAF,EAAmB,YAAnB,CAAX,CADD,EAEC;AAAO,cAAI,EAAC,OAAZ;AAAoB,eAAK,EAAGiB,KAA5B;AAAoC,kBAAQ,EAAGE,aAA/C;AAA+D,mBAAS;AAAxE,UAFD,CALA,EASA;AAAK,mBAAS,EAAC;AAAf,WACC,yEAAC,iEAAD,QACC,yEAAC,4DAAD;AAAQ,mBAAS,EAAE,IAAnB;AAAyB,iBAAO,EAAGpB,cAAnC;AAAoD,cAAI,EAAGC,0DAAE,CAAE,UAAF,EAAc,YAAd;AAA7D,UADD,CADD,CATA;AAPF,OADO;AAHT,MADD;AAgCA,GAlDD;AAoDA;AACD;AACA;AACA;AACA;;;AACC,QAAMwB,YAAY,GAAK7C,KAAF,IAAa;AACjC,UAAMoC,QAAQ,GAAI,GAAEzC,QAAQ,CAAC0C,SAAU,8BAAvC;AAEA,WACC,yEAAC,2DAAD;AACC,cAAQ,EAAGrC,KAAK,CAACoB,cADlB;AAEC,eAAS,EAAC,4CAFX;AAGC,WAAK,EAAG,CACP;AACCuB,aAAK,EACJ,0FACC;AAAK,aAAG,EAAEP,QAAV;AAAoB,eAAK,EAAC,KAA1B;AAAgC,gBAAM,EAAC;AAAvC,UADD,CAFF;AAMCQ,eAAO,EACN,4IACA;AAAK,mBAAS,EAAC;AAAf,WACC,qFAAMvB,0DAAE,CAAE,+BAAF,EAAmC,YAAnC,CAAR,CADD,CADA,EAIA;AAAK,mBAAS,EAAC;AAAf,WACC,oFAAKA,0DAAE,CAAE,4KAAF,EAAgL,YAAhL,CAAP,CADD,EAEC,qFACC,qFAAMA,0DAAE,CAAE,oCAAF,EAAwC,YAAxC,CAAR,CADD,EAEC,qFAAMA,0DAAE,CAAE,+CAAF,EAAmD,YAAnD,CAAR,CAFD,EAGC,qFAAMA,0DAAE,CAAE,6CAAF,EAAiD,YAAjD,CAAR,CAHD,EAIC,qFAAMA,0DAAE,CAAE,wCAAF,EAA4C,YAA5C,CAAR,CAJD,CAFD,EAQC,oFAAKA,0DAAE,CAAE,qDAAF,EAAyD,YAAzD,CAAP,CARD,CAJA,EAcA;AAAK,mBAAS,EAAC;AAAf,WACC,yEAAC,iEAAD,QACC,yEAAC,4DAAD;AAAQ,mBAAS,EAAE,IAAnB;AAAyB,cAAI,EAAC,+BAA9B;AAA8D,gBAAM,EAAC,QAArE;AAA8E,cAAI,EAAGA,0DAAE,CAAE,0BAAF,EAA8B,YAA9B;AAAvF,UADD,EAEC,yEAAC,4DAAD;AAAQ,qBAAW,EAAE,IAArB;AAA2B,iBAAO,EAAGrB,KAAK,CAACoB,cAA3C;AAA4D,cAAI,EAAGC,0DAAE,CAAE,mBAAF,EAAuB,YAAvB;AAArE,UAFD,CADD,CAdA;AAPF,OADO;AAHT,MADD;AAsCA,GAzCD;;AA2CA,QAAMyB,wBAAwB,GAAGtB,+FAAe,CAAE9B,CAAF,EAAKC,QAAL,CAAhD;;AAEA,QAAMoD,oBAAN,SAAmCD,wBAAnC,CAA4D;AAE3DE,uBAAmB,GAAG;AACrB,UAAIzB,KAAK,GACR,yEAAC,eAAD;AACC,sBAAc,EAAG,KAAKO,UAAL,CAAgBC,IAAhB,CAAsB,IAAtB,EAA4B,YAA5B,CADlB;AAEC,cAAM,EAAGpC,QAAQ,CAACsD;AAFnB,QADD;AAMA,WAAKjB,SAAL,CAAgBT,KAAhB;AACA;;AAED2B,oBAAgB,GAAG;AAClB,UAAI3B,KAAK,GAAG,yEAAC,YAAD;AAAc,sBAAc,EAAG,KAAKO,UAAL,CAAgBC,IAAhB,CAAsB,IAAtB,EAA4B,SAA5B;AAA/B,QAAZ;AAEA,WAAKC,SAAL,CAAgBT,KAAhB;AACA;;AAhB0D;;AAkB3D;AAED,MAAI4B,UAAU,GAAGnC,MAAM,CAACmC,UAAP,IAAqB,EAAtC;AACAnC,QAAM,CAACmC,UAAP,GAAoBA,UAApB;AAEAA,YAAU,CAACC,MAAX,GAAoB,IAAIL,oBAAJ,EAApB;AAEA,CAtID,EAsIKM,MAtIL,EAsIaC,kCAtIb,E;;;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA;;AAEA,+G;;;;;;;;;;;ACfA,aAAa,6CAA6C,EAAE,I;;;;;;;;;;;ACA5D,aAAa,0CAA0C,EAAE,I;;;;;;;;;;;ACAzD,aAAa,uCAAuC,EAAE,I","file":"dashboard-modals.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./build/inc/assets/jsx/src/admin/dashboard-modals.js\");\n","import { SlotFillProvider, Button, Modal, Guide, Popover, Notice, ExternalLink, TextControl, CheckboxControl, BaseControl } from '@wordpress/components';\r\nimport { useState, useReducer, useRef } from '@wordpress/element';\r\nimport { __, sprintf } from '@wordpress/i18n';\r\n\r\n/**\r\n *\r\n * Modal handler class\r\n *\r\n */\r\nexport default function( $, settings ) {\r\n\r\n\tconst { render } = wp.element;\r\n\r\n\t/**\r\n\t *\r\n\t * Deactivation modal\r\n\t *\r\n\t */\r\n\tconst DeactivateModal = ( props ) => {\r\n\t\tconst [ option, setOption ] = useState( 'yes' );\r\n\r\n\t\tconst onChange = ( e ) => {\r\n\t\t\tsetOption( e.target.value );\r\n\t\t};\r\n\r\n\t\tconst onSubmit = () => {\r\n\t\t\t$.post( ajaxurl, {\r\n\t\t\t\taction: settings.deactivateModalAction,\r\n\t\t\t\t_wpnonce: settings.deactivateModalNonce,\r\n\t\t\t\tkeep_data: option, \r\n\t\t\t}, function() {\r\n\t\t\t\twindow.location.href = props.redirectURL;\r\n\t\t\t} );\r\n\t\t\t\r\n\t\t\treturn props.onRequestClose();\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t<Modal className=\"happyforms-modal happyforms-modal--deactivate\" title=\"What about your data?\" onRequestClose={ props.onRequestClose }>\r\n\t\t\t\t<div className=\"happyforms-modal__body\" onChange={ onChange }>\r\n\t\t\t\t\t<label htmlFor=\"happyforms-keep-data-yes\">\r\n\t\t\t\t\t\t<input \r\n\t\t\t\t\t\t\ttype=\"radio\"\r\n\t\t\t\t\t\t\tid=\"happyforms-keep-data-yes\"\r\n\t\t\t\t\t\t\tname=\"happyforms-keep-data\" \r\n\t\t\t\t\t\t\tvalue=\"yes\"\r\n\t\t\t\t\t\t\tdefaultChecked\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t<span>{ __( 'Keep plugin data (recommended)', 'happyforms' ) }</span>\r\n\t\t\t\t\t</label>\r\n\t\t\t\t\t<label htmlFor=\"happyforms-keep-data-no\">\r\n\t\t\t\t\t\t<input\r\n\t\t\t\t\t\t\ttype=\"radio\"\r\n\t\t\t\t\t\t\tid=\"happyforms-keep-data-no\"\r\n\t\t\t\t\t\t\tname=\"happyforms-keep-data\"\r\n\t\t\t\t\t\t\tvalue=\"no\"\r\n\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t<span>{ __( 'Permanently delete plugin data', 'happyforms' ) }</span>\r\n\t\t\t\t\t</label>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div className=\"happyforms-modal__footer\">\r\n\t\t\t\t\t<div className=\"happyforms-modal__footer-button-group\">\r\n\t\t\t\t\t\t<Button \r\n\t\t\t\t\t\t\tisPrimary={true} \r\n\t\t\t\t\t\t\tonClick={ onSubmit } \r\n\t\t\t\t\t\t\ttext={ option == 'yes' ? \r\n\t\t\t\t\t\t\t\t__( 'Deactivate Plugin', 'happyforms' ) : \r\n\t\t\t\t\t\t\t\t__( 'Delete Data and Deactivate Plugin', 'happyforms' ) }>\r\n\t\t\t\t\t\t</Button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</Modal>\r\n\t\t);\r\n\t};\r\n\r\n\t/**\r\n\t *\r\n\t * Modal wrapper\r\n\t *\r\n\t */\r\n\tconst ModalProvider = ( props ) => {\r\n\t\treturn (\r\n\t\t\t<SlotFillProvider>\r\n\t\t\t\t{ props.modal }\r\n\t\t\t\t<Popover.Slot />\r\n\t\t\t</SlotFillProvider>\r\n\t\t);\r\n\t};\r\n\t\r\n\treturn class DashboardModals {\r\n\r\n\t\tarea = null;\r\n\t\t\r\n\t\tconstructor() {\r\n\t\t\tthis.area = document.getElementById( 'happyforms-modals-area' );\r\n\t\t}\r\n\r\n\t\topenDeactivateModal( redirectURL ) {\r\n\t\t\tvar modal = <DeactivateModal onRequestClose={ this.closeModal.bind( this, 'deactivate' ) } redirectURL={ redirectURL } />\r\n\r\n\t\t\tthis.openModal( modal );\r\n\t\t}\r\n\r\n\t\topenModal( modal ) {\r\n\t\t\trender( <ModalProvider modal={modal}></ModalProvider>, this.area );\r\n\t\t}\r\n\r\n\t\tcloseModal( modal ) {\r\n\t\t\trender( <></>, this.area );\r\n\r\n\t\t\t$.post( ajaxurl, {\r\n\t\t\t\taction: settings.actionModalDismiss,\r\n\t\t\t\tid: modal, \r\n\t\t\t} );\r\n\t\t}\r\n\r\n\t};\r\n\r\n}","import DashboardModals from '@happyforms/core/jsx/src/admin/dashboard-modals';\r\nimport { SlotFillProvider, Button, Modal, Guide, Popover, Notice, ExternalLink, TextControl, CheckboxControl, BaseControl } from '@wordpress/components';\r\nimport { useState, useReducer, useRef } from '@wordpress/element';\r\nimport { __, sprintf } from '@wordpress/i18n';\r\n\r\n( function( $, settings ) {\r\n\r\n\t/**\r\n\t *\r\n\t * Onboarding modal\r\n\t *\r\n\t */\r\n\tconst OnboardingModal = ( props ) => {\r\n\t\tconst imageURL = `${settings.pluginURL}/inc/assets/img/welcome.gif`;\r\n\t\tconst [ email, setEmail ] = useState( '' );\r\n\r\n\t\tconst onEmailChange = ( e ) => {\r\n\t\t\tsetEmail( e.target.value );\r\n\t\t};\r\n\r\n\t\tconst onRequestClose = () => {\r\n\t\t\t$.post( ajaxurl, {\r\n\t\t\t\taction: settings.onboardingModalAction,\r\n\t\t\t\t_wpnonce: settings.onboardingModalNonce,\r\n\t\t\t\temail: email,\r\n\t\t\t} );\r\n\r\n\t\t\treturn props.onRequestClose();\r\n\t\t}\r\n\r\n\t\treturn(\r\n\t\t\t<Guide\r\n\t\t\t\tonFinish={ onRequestClose }\r\n\t\t\t\tclassName=\"happyforms-modal happyforms-modal--onboarding\"\r\n\t\t\t\tpages={ [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\timage: (\r\n\t\t\t\t\t\t\t<picture>\r\n\t\t\t\t\t\t\t\t<img src={imageURL} width=\"450\" height=\"276\" />\r\n\t\t\t\t\t\t\t</picture>\r\n\t\t\t\t\t\t),\r\n\t\t\t\t\t\tcontent: (\r\n\t\t\t\t\t\t\t<>\r\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__header\">\r\n\t\t\t\t\t\t\t\t<h1>{ __( 'Welcome to Happyforms', 'happyforms' ) }</h1>\r\n\t\t\t\t\t\t\t\t<p>{ __( 'We\\'ll send you a few emails each month about plugin updates. And don\\'t sweat it, you can unsubscribe anytime.', 'happyforms' ) }</p>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__body\">\r\n\t\t\t\t\t\t\t\t<label>{ __( 'Email address', 'happyforms' ) }</label>\r\n\t\t\t\t\t\t\t\t<input type=\"email\" value={ email } onChange={ onEmailChange } autoFocus />\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__footer\">\r\n\t\t\t\t\t\t\t\t<BaseControl>\r\n\t\t\t\t\t\t\t\t\t<Button isPrimary={true} onClick={ onRequestClose } text={ __( 'Continue', 'happyforms' ) }></Button>\r\n\t\t\t\t\t\t\t\t</BaseControl>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</>\r\n\t\t\t\t\t\t),\r\n\t\t\t\t\t},\r\n\t\t\t\t] }\r\n\t\t\t/>\r\n\t\t);\r\n\t}\r\n\r\n\t/**\r\n\t *\r\n\t * Upgrade modal\r\n\t *\r\n\t */\r\n\tconst UpgradeModal = ( props ) => {\r\n\t\tconst imageURL = `${settings.pluginURL}/inc/assets/img/alrighty.gif`;\r\n\r\n\t\treturn(\r\n\t\t\t<Guide\r\n\t\t\t\tonFinish={ props.onRequestClose }\r\n\t\t\t\tclassName=\"happyforms-modal happyforms-modal--upgrade\"\r\n\t\t\t\tpages={ [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\timage: (\r\n\t\t\t\t\t\t\t<picture>\r\n\t\t\t\t\t\t\t\t<img src={imageURL} width=\"450\" height=\"276\" />\r\n\t\t\t\t\t\t\t</picture>\r\n\t\t\t\t\t\t),\r\n\t\t\t\t\t\tcontent: (\r\n\t\t\t\t\t\t\t<>\r\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__header\">\r\n\t\t\t\t\t\t\t\t<h1>{ __( 'Start with a free 7-day trial', 'happyforms' ) }</h1>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__body\">\r\n\t\t\t\t\t\t\t\t<p>{ __( 'You\\'re just a mouse click and a few key taps away from building better forms for your site. And don\\'t sweat it, you can upgrade, downgrade or cancel your trial anytime.', 'happyforms' ) }</p>\r\n\t\t\t\t\t\t\t\t<ul>\r\n\t\t\t\t\t\t\t\t\t<li>{ __( 'Advanced features and integrations', 'happyforms' ) }</li>\r\n\t\t\t\t\t\t\t\t\t<li>{ __( 'Help from the friendliest support team around', 'happyforms' ) }</li>\r\n\t\t\t\t\t\t\t\t\t<li>{ __( 'Automatically transfer over your free forms', 'happyforms' ) }</li>\r\n\t\t\t\t\t\t\t\t\t<li>{ __( 'New goodies released every second week', 'happyforms' ) }</li>\r\n\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t\t\t<p>{ __( 'So whattaya say? Ready to build better forms today?', 'happyforms' ) }</p>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div className=\"happyforms-modal__footer\">\r\n\t\t\t\t\t\t\t\t<BaseControl>\r\n\t\t\t\t\t\t\t\t\t<Button isPrimary={true} href=\"https://happyforms.io/upgrade\" target=\"_blank\" text={ __( 'Start a Free 7-day Trial', 'happyforms' ) }></Button>\r\n\t\t\t\t\t\t\t\t\t<Button isSecondary={true} onClick={ props.onRequestClose } text={ __( 'Nope, Maybe Later', 'happyforms' ) }></Button>\r\n\t\t\t\t\t\t\t\t</BaseControl>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</>\r\n\t\t\t\t\t\t),\r\n\t\t\t\t\t},\r\n\t\t\t\t] }\r\n\t\t\t/>\r\n\t\t);\r\n\t}\r\n\r\n\tconst DashboardModalsBaseClass = DashboardModals( $, settings );\r\n\r\n\tclass DashboardModalsClass extends DashboardModalsBaseClass {\r\n\r\n\t\topenOnboardingModal() {\r\n\t\t\tvar modal = (\r\n\t\t\t\t<OnboardingModal\r\n\t\t\t\t\tonRequestClose={ this.closeModal.bind( this, 'onboarding' ) }\r\n\t\t\t\t\tstatus={ settings.trackingStatus } />\r\n\t\t\t);\r\n\r\n\t\t\tthis.openModal( modal );\r\n\t\t}\r\n\r\n\t\topenUpgradeModal() {\r\n\t\t\tvar modal = <UpgradeModal onRequestClose={ this.closeModal.bind( this, 'upgrade' ) } />\r\n\r\n\t\t\tthis.openModal( modal );\r\n\t\t}\r\n\r\n\t};\r\n\r\n\tvar happyForms = window.happyForms || {};\r\n\twindow.happyForms = happyForms;\r\n\r\n\thappyForms.modals = new DashboardModalsClass();\r\n\r\n} )( jQuery, _happyFormsDashboardModalsSettings );\r\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","(function() { module.exports = window[\"wp\"][\"components\"]; }());","(function() { module.exports = window[\"wp\"][\"element\"]; }());","(function() { module.exports = window[\"wp\"][\"i18n\"]; }());"],"sourceRoot":""}
inc/assets/jsx/src/admin/dashboard-modals.js CHANGED
@@ -13,7 +13,6 @@ import { __, sprintf } from '@wordpress/i18n';
13
  const OnboardingModal = ( props ) => {
14
  const imageURL = `${settings.pluginURL}/inc/assets/img/welcome.gif`;
15
  const [ email, setEmail ] = useState( '' );
16
- const [ poweredBy, setPoweredBy ] = useState( false );
17
 
18
  const onEmailChange = ( e ) => {
19
  setEmail( e.target.value );
@@ -24,7 +23,6 @@ import { __, sprintf } from '@wordpress/i18n';
24
  action: settings.onboardingModalAction,
25
  _wpnonce: settings.onboardingModalNonce,
26
  email: email,
27
- powered_by: poweredBy ? 1 : 0,
28
  } );
29
 
30
  return props.onRequestClose();
@@ -50,10 +48,6 @@ import { __, sprintf } from '@wordpress/i18n';
50
  <div className="happyforms-modal__body">
51
  <label>{ __( 'Email address', 'happyforms' ) }</label>
52
  <input type="email" value={ email } onChange={ onEmailChange } autoFocus />
53
- <label className="happyforms-radio-label">
54
- <CheckboxControl checked={ poweredBy } onChange={ setPoweredBy } />
55
- <span>{ __( 'Yes, I want to help support the free plugin by adding a powered by link in the footer of my forms and emails.', 'happyforms' ) }</span>
56
- </label>
57
  </div>
58
  <div className="happyforms-modal__footer">
59
  <BaseControl>
@@ -117,13 +111,13 @@ import { __, sprintf } from '@wordpress/i18n';
117
  }
118
 
119
  const DashboardModalsBaseClass = DashboardModals( $, settings );
120
-
121
  class DashboardModalsClass extends DashboardModalsBaseClass {
122
 
123
  openOnboardingModal() {
124
  var modal = (
125
- <OnboardingModal
126
- onRequestClose={ this.closeModal.bind( this, 'onboarding' ) }
127
  status={ settings.trackingStatus } />
128
  );
129
 
@@ -140,7 +134,7 @@ import { __, sprintf } from '@wordpress/i18n';
140
 
141
  var happyForms = window.happyForms || {};
142
  window.happyForms = happyForms;
143
-
144
  happyForms.modals = new DashboardModalsClass();
145
 
146
- } )( jQuery, _happyFormsDashboardModalsSettings );
13
  const OnboardingModal = ( props ) => {
14
  const imageURL = `${settings.pluginURL}/inc/assets/img/welcome.gif`;
15
  const [ email, setEmail ] = useState( '' );
 
16
 
17
  const onEmailChange = ( e ) => {
18
  setEmail( e.target.value );
23
  action: settings.onboardingModalAction,
24
  _wpnonce: settings.onboardingModalNonce,
25
  email: email,
 
26
  } );
27
 
28
  return props.onRequestClose();
48
  <div className="happyforms-modal__body">
49
  <label>{ __( 'Email address', 'happyforms' ) }</label>
50
  <input type="email" value={ email } onChange={ onEmailChange } autoFocus />
 
 
 
 
51
  </div>
52
  <div className="happyforms-modal__footer">
53
  <BaseControl>
111
  }
112
 
113
  const DashboardModalsBaseClass = DashboardModals( $, settings );
114
+
115
  class DashboardModalsClass extends DashboardModalsBaseClass {
116
 
117
  openOnboardingModal() {
118
  var modal = (
119
+ <OnboardingModal
120
+ onRequestClose={ this.closeModal.bind( this, 'onboarding' ) }
121
  status={ settings.trackingStatus } />
122
  );
123
 
134
 
135
  var happyForms = window.happyForms || {};
136
  window.happyForms = happyForms;
137
+
138
  happyForms.modals = new DashboardModalsClass();
139
 
140
+ } )( jQuery, _happyFormsDashboardModalsSettings );
inc/classes/class-happyforms.php CHANGED
@@ -9,8 +9,6 @@ class HappyForms extends HappyForms_Core {
9
 
10
  public $action_onboarding = 'happyforms-submit-onboarding';
11
 
12
- public $option_show_powered_by = 'happyforms_show_powered_by';
13
-
14
  public function initialize_plugin() {
15
  parent::initialize_plugin();
16
 
@@ -25,9 +23,6 @@ class HappyForms extends HappyForms_Core {
25
  add_action( 'happyforms_modal_dismissed', [ $this, 'modal_dismissed' ] );
26
  add_action( "wp_ajax_{$this->action_onboarding}", [ $this, 'ajax_action_onboarding' ] );
27
  add_filter( 'happyforms_dashboard_modal_settings', [ $this, 'get_dashboard_modal_settings' ] );
28
- add_action( 'happyforms_form_after', [ $this, 'output_powered_by_form' ] );
29
- add_action( 'happyforms_email_owner_after', [ $this, 'output_powered_by_email' ] );
30
- add_action( 'happyforms_email_user_after', [ $this, 'output_powered_by_email' ] );
31
  add_action( 'admin_print_footer_scripts', array( $this, 'admin_print_footer_scripts' ) );
32
 
33
  if ( is_admin() ) {
@@ -355,11 +350,6 @@ class HappyForms extends HappyForms_Core {
355
  public function ajax_action_onboarding() {
356
  $email = isset( $_POST['email'] ) ? $_POST['email'] : '';
357
  $email = trim( $email );
358
- $powered_by = isset( $_POST['powered_by'] ) ? $_POST['powered_by'] : '';
359
- $powered_by = intval( $powered_by );
360
-
361
- // Store powered by option
362
- update_option( $this->option_show_powered_by, $powered_by );
363
 
364
  // Submit to EmailOctopus
365
  if ( ! empty( $email ) ) {
@@ -378,42 +368,6 @@ class HappyForms extends HappyForms_Core {
378
  return $settings;
379
  }
380
 
381
- public function output_powered_by_form() {
382
- if ( apply_filters( 'happyforms_force_hide_powered_by', false ) === true ) {
383
- return;
384
- }
385
-
386
- if ( ! get_option( $this->option_show_powered_by, false ) ) {
387
- return;
388
- }
389
-
390
- ?>
391
- <p class="happyforms-powered-by"><?php printf(
392
- '<a href="%1$s" style="font-size: 12px; color: black; text-decoration: underline;">%2$s</a>',
393
- 'https://happyforms.io/?utm_source=footer&utm_medium=form&utm_campaign=public_form_footer',
394
- __( 'Build your own WordPress form with Happyforms', 'happyforms' )
395
- ); ?></p>
396
- <?php
397
- }
398
-
399
- public function output_powered_by_email() {
400
- if ( apply_filters( 'happyforms_force_hide_powered_by', false ) === true ) {
401
- return;
402
- }
403
-
404
- if ( ! get_option( $this->option_show_powered_by, false ) ) {
405
- return;
406
- }
407
-
408
- ?>
409
- <p><?php printf(
410
- '<a href="%1$s">%2$s</a>',
411
- 'https://happyforms.io/?utm_source=footer&utm_medium=email&utm_campaign=public_email_footer',
412
- __( 'Build your own WordPress form with Happyforms', 'happyforms' )
413
- ); ?></p>
414
- <?php
415
- }
416
-
417
  public function admin_screens() {
418
  parent::admin_screens();
419
 
9
 
10
  public $action_onboarding = 'happyforms-submit-onboarding';
11
 
 
 
12
  public function initialize_plugin() {
13
  parent::initialize_plugin();
14
 
23
  add_action( 'happyforms_modal_dismissed', [ $this, 'modal_dismissed' ] );
24
  add_action( "wp_ajax_{$this->action_onboarding}", [ $this, 'ajax_action_onboarding' ] );
25
  add_filter( 'happyforms_dashboard_modal_settings', [ $this, 'get_dashboard_modal_settings' ] );
 
 
 
26
  add_action( 'admin_print_footer_scripts', array( $this, 'admin_print_footer_scripts' ) );
27
 
28
  if ( is_admin() ) {
350
  public function ajax_action_onboarding() {
351
  $email = isset( $_POST['email'] ) ? $_POST['email'] : '';
352
  $email = trim( $email );
 
 
 
 
 
353
 
354
  // Submit to EmailOctopus
355
  if ( ! empty( $email ) ) {
368
  return $settings;
369
  }
370
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
371
  public function admin_screens() {
372
  parent::admin_screens();
373
 
inc/classes/class-message-controller.php CHANGED
@@ -57,24 +57,6 @@ class HappyForms_Message_Controller {
57
  */
58
  public $submit_action = 'happyforms_message';
59
 
60
- /**
61
- * The nonce prefix used in forms.
62
- *
63
- * @since 1.0
64
- *
65
- * @var string
66
- */
67
- public $nonce_prefix = 'happyforms_message_nonce_';
68
-
69
- /**
70
- * The nonce name used in forms.
71
- *
72
- * @since 1.0
73
- *
74
- * @var string
75
- */
76
- public $nonce_name = 'happyforms_message_nonce';
77
-
78
  /**
79
  * The singleton constructor.
80
  *
@@ -172,15 +154,6 @@ class HappyForms_Message_Controller {
172
 
173
  $form_id = intval( $_REQUEST[$this->form_parameter] );
174
 
175
- // Validate nonce
176
- if ( apply_filters( 'happyforms_verify_nonce', true ) ) {
177
- if ( ! isset( $_REQUEST[$this->nonce_name] )
178
- || ! $this->verify_nonce( $_REQUEST[$this->nonce_name], $form_id ) ) {
179
-
180
- wp_send_json_error();
181
- }
182
- }
183
-
184
  $form_controller = happyforms_get_form_controller();
185
  $form = $form_controller->get( $form_id );
186
 
@@ -285,20 +258,6 @@ class HappyForms_Message_Controller {
285
  wp_send_json_success( $response );
286
  }
287
 
288
- /**
289
- * Verify a message nonce.
290
- *
291
- * @since 1.0
292
- *
293
- * @param string $nonce The submitted value.
294
- * @param string $form_id The ID of the form being submitted.
295
- *
296
- * @return boolean
297
- */
298
- public function verify_nonce( $nonce, $form_id ) {
299
- return wp_verify_nonce( $nonce, $this->nonce_prefix . $form_id );
300
- }
301
-
302
  /**
303
  * Verify honeypot data.
304
  *
57
  */
58
  public $submit_action = 'happyforms_message';
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  /**
61
  * The singleton constructor.
62
  *
154
 
155
  $form_id = intval( $_REQUEST[$this->form_parameter] );
156
 
 
 
 
 
 
 
 
 
 
157
  $form_controller = happyforms_get_form_controller();
158
  $form = $form_controller->get( $form_id );
159
 
258
  wp_send_json_success( $response );
259
  }
260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
  /**
262
  * Verify honeypot data.
263
  *
inc/helpers/helper-activation.php CHANGED
@@ -1,37 +1,14 @@
1
  <?php
2
- function happyforms_uninstall_cleanup() {
3
- if ( file_exists( ABSPATH . 'wp-content/plugins/happyforms-upgrade' ) ) {
4
- return;
5
- }
6
 
7
- // Cleanup forms
8
- $forms = get_posts( array(
9
- 'post_type' => 'happyform',
10
- 'post_status' => 'any',
11
- 'numberposts' => -1,
12
- ) );
13
-
14
- foreach( $forms as $form ) {
15
- wp_delete_post( $form->ID, true );
16
- }
17
-
18
- // Cleanup responses
19
- $responses = get_posts( array(
20
- 'post_type' => 'happyforms-message',
21
- 'post_status' => 'any',
22
- 'numberposts' => -1,
23
- ) );
24
-
25
- foreach( $responses as $response ) {
26
- wp_delete_post( $response->ID, true );
27
  }
28
 
29
- // Cleanup options
30
- delete_option( 'happyforms-data-version' );
31
- delete_option( 'happyforms-tracking' );
32
- delete_option( 'widget_happyforms_widget' );
33
- delete_transient( '_happyforms_has_responses' );
34
- delete_transient( 'happyforms_modal_dismissed_onboarding' );
35
  }
36
 
37
- add_action( 'happyforms_uninstall', 'happyforms_uninstall_cleanup' );
1
  <?php
 
 
 
 
2
 
3
+ function happyforms_free_cleanup() {
4
+ if ( ! happyforms_cleanup_on_deactivation() ) {
5
+ return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  }
7
 
8
+ delete_transient( 'happyforms_review_notice_recommend' );
9
+ delete_option( 'happyforms_modal_dismissed_onboarding' );
10
+ delete_option( 'happyforms_show_powered_by' );
11
+ delete_option( '_happyforms_received_submissions' );
 
 
12
  }
13
 
14
+ add_action( 'happyforms_deactivate', 'happyforms_free_cleanup' );
inc/templates/customize-controls/checkbox_dummy.php CHANGED
@@ -3,8 +3,7 @@
3
  <input type="checkbox" />
4
  <label>
5
  <span><?php echo $control['label']; ?></span>
6
- <?php if ( isset( $control['tooltip'] ) ) : ?><i class="fa fa-question-circle" aria-hidden="true" data-pointer><span><?php echo $control['tooltip']; ?></span></i><?php endif; ?>
7
  </label>
8
  <span class="members-only"><?php _e( 'Members Only', 'happyforms') ?></span>
9
  </div>
10
- </div>
3
  <input type="checkbox" />
4
  <label>
5
  <span><?php echo $control['label']; ?></span>
 
6
  </label>
7
  <span class="members-only"><?php _e( 'Members Only', 'happyforms') ?></span>
8
  </div>
9
+ </div>
integrations/templates/widget-paypal-dummy.php CHANGED
@@ -1,12 +1,18 @@
1
  <form class="happyforms-service hf-ajax-submit">
2
  <div class="widget-content has-service-selection">
3
- <p>
4
- <label for="happyforms_integrations_spam_service"><?php _e( 'Mode', 'happyforms' ); ?></label>
5
- <select id="happyforms_integrations_spam_service" class="widefat">
6
- <option>Live</option>
7
- </select>
8
- </p>
9
-
 
 
 
 
 
 
10
  <div id="happyforms-service-recaptcha" class="happyforms-service-integration">
11
  <div class="widget-content">
12
  <label for=""><?php _e( 'Client ID', 'happyforms' ); ?></label>
1
  <form class="happyforms-service hf-ajax-submit">
2
  <div class="widget-content has-service-selection">
3
+ <div class="mode-group">
4
+ <label><?php _e( 'Mode', 'happyforms' ); ?></label>
5
+ <div class="happyforms-buttongroup">
6
+ <label>
7
+ <input type="radio" checked disabled />
8
+ <span><?php _e( 'Live', 'happyforms' ); ?></span>
9
+ </label>
10
+ <label>
11
+ <input type="radio" disabled />
12
+ <span><?php _e( 'Sandbox', 'happyforms' ); ?></span>
13
+ </label>
14
+ </div>
15
+ </div>
16
  <div id="happyforms-service-recaptcha" class="happyforms-service-integration">
17
  <div class="widget-content">
18
  <label for=""><?php _e( 'Client ID', 'happyforms' ); ?></label>
integrations/templates/widget-recaptcha-dummy.php CHANGED
@@ -1,11 +1,18 @@
1
  <form class="happyforms-service hf-ajax-submit">
2
  <div class="widget-content has-service-selection">
3
- <p>
4
- <label for="happyforms_integrations_spam_service"><?php _e( 'Service', 'happyforms' ); ?></label>
5
- <select id="happyforms_integrations_spam_service" class="widefat">
6
- <option>V2</option>
7
- </select>
8
- </p>
 
 
 
 
 
 
 
9
 
10
  <div id="happyforms-service-recaptcha" class="happyforms-service-integration">
11
  <div class="widget-content">
1
  <form class="happyforms-service hf-ajax-submit">
2
  <div class="widget-content has-service-selection">
3
+ <div class="mode-group">
4
+ <label><?php _e( 'Mode', 'happyforms' ); ?></label>
5
+ <div class="happyforms-buttongroup">
6
+ <label>
7
+ <input type="radio" checked disabled />
8
+ <span><?php _e( 'v2', 'happyforms' ); ?></span>
9
+ </label>
10
+ <label>
11
+ <input type="radio" disabled />
12
+ <span><?php _e( 'v3', 'happyforms' ); ?></span>
13
+ </label>
14
+ </div>
15
+ </div>
16
 
17
  <div id="happyforms-service-recaptcha" class="happyforms-service-integration">
18
  <div class="widget-content">
integrations/templates/widget-stripe-dummy.php CHANGED
@@ -1,11 +1,18 @@
1
  <form class="happyforms-service hf-ajax-submit">
2
  <div class="widget-content has-service-selection">
3
- <p>
4
- <label for="happyforms_integrations_spam_service"><?php _e( 'Mode', 'happyforms' ); ?></label>
5
- <select id="happyforms_integrations_spam_service" class="widefat">
6
- <option>Live</option>
7
- </select>
8
- </p>
 
 
 
 
 
 
 
9
 
10
  <div id="happyforms-service-recaptcha" class="happyforms-service-integration">
11
  <div class="widget-content">
1
  <form class="happyforms-service hf-ajax-submit">
2
  <div class="widget-content has-service-selection">
3
+ <div class="mode-group">
4
+ <label><?php _e( 'Mode', 'happyforms' ); ?></label>
5
+ <div class="happyforms-buttongroup">
6
+ <label>
7
+ <input type="radio" checked disabled />
8
+ <span><?php _e( 'Live', 'happyforms' ); ?></span>
9
+ </label>
10
+ <label>
11
+ <input type="radio" disabled />
12
+ <span><?php _e( 'Test', 'happyforms' ); ?></span>
13
+ </label>
14
+ </div>
15
+ </div>
16
 
17
  <div id="happyforms-service-recaptcha" class="happyforms-service-integration">
18
  <div class="widget-content">
languages/happyforms.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Happyforms (free) plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Happyforms (free) 1.13.12\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/happyforms/\n"
7
  "Last-Translator: The Theme Foundry\n"
8
  "Language-Team: The Theme Foundry\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-01-06T11:12:57+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: happyforms\n"
@@ -168,8 +168,8 @@ msgid "Email me a copy of each submission"
168
  msgstr ""
169
 
170
  #: core/classes/class-form-email.php:96
171
- #: inc/assets/jsx/build/admin/dashboard-modals.js:282
172
- #: inc/assets/jsx/src/admin/dashboard-modals.js:51
173
  msgid "Email address"
174
  msgstr ""
175
 
@@ -213,13 +213,13 @@ msgid "Min words"
213
  msgstr ""
214
 
215
  #: core/classes/class-form-messages.php:35
216
- #: core/classes/parts/class-part-multi-line-text.php:76
217
  #: core/templates/parts/customize-multi-line-text.php:58
218
  msgid "Max words"
219
  msgstr ""
220
 
221
  #: core/classes/class-form-messages.php:39
222
- #: core/classes/parts/class-part-multi-line-text.php:72
223
  #: core/templates/parts/customize-multi-line-text.php:61
224
  msgid "Min characters"
225
  msgstr ""
@@ -402,320 +402,294 @@ msgid "Submit form"
402
  msgstr ""
403
 
404
  #: core/classes/class-form-shuffle.php:43
405
- #: inc/classes/class-happyforms.php:118
406
  msgid "Randomize fields to prevent bias"
407
  msgstr ""
408
 
409
- #: core/classes/class-form-styles.php:55
410
  msgid "Left-to-right"
411
  msgstr ""
412
 
413
- #: core/classes/class-form-styles.php:56
414
  msgid "Right-to-left"
415
  msgstr ""
416
 
417
- #: core/classes/class-form-styles.php:75
418
- #: core/classes/class-form-styles.php:149
419
- #: core/classes/class-form-styles.php:159
 
420
  #: core/classes/class-form-styles.php:282
421
- #: core/classes/class-form-styles.php:292
422
  msgid "Default"
423
  msgstr ""
424
 
425
- #: core/classes/class-form-styles.php:76
426
- #: core/classes/class-form-styles.php:148
427
- #: core/classes/class-form-styles.php:158
428
- #: core/classes/class-form-styles.php:291
429
  msgid "Narrow"
430
  msgstr ""
431
 
432
- #: core/classes/class-form-styles.php:77
433
- #: core/classes/class-form-styles.php:150
434
- #: core/classes/class-form-styles.php:160
435
- #: core/classes/class-form-styles.php:293
436
  msgid "Wide"
437
  msgstr ""
438
 
439
- #: core/classes/class-form-styles.php:91
440
- #: core/classes/class-form-styles.php:120
441
- #: core/classes/class-form-styles.php:263
442
- #: core/templates/parts/customize-checkbox.php:8
443
- #: core/templates/parts/customize-email.php:8
444
- #: core/templates/parts/customize-multi-line-text.php:8
445
- #: core/templates/parts/customize-number.php:8
446
- #: core/templates/parts/customize-radio.php:8
447
- #: core/templates/parts/customize-select.php:8
448
- #: core/templates/parts/customize-single-line-text.php:8
449
  msgid "Show"
450
  msgstr ""
451
 
452
- #: core/classes/class-form-styles.php:92
453
- #: core/classes/class-form-styles.php:121
454
- #: core/classes/class-form-styles.php:264
455
- #: core/templates/parts/customize-checkbox.php:15
456
- #: core/templates/parts/customize-email.php:15
457
- #: core/templates/parts/customize-multi-line-text.php:15
458
- #: core/templates/parts/customize-number.php:15
459
- #: core/templates/parts/customize-radio.php:15
460
- #: core/templates/parts/customize-select.php:15
461
- #: core/templates/parts/customize-single-line-text.php:15
462
  msgid "Hide"
463
  msgstr ""
464
 
 
 
 
 
 
 
 
 
 
465
  #: core/classes/class-form-styles.php:100
466
  #: core/classes/class-form-styles.php:174
467
- #: core/classes/class-form-styles.php:205
468
  #: core/classes/class-form-styles.php:214
469
- #: core/classes/class-form-styles.php:243
470
- #: core/classes/class-form-styles.php:320
471
- #: core/templates/parts/customize-checkbox.php:10
472
- #: core/templates/parts/customize-email.php:10
473
- #: core/templates/parts/customize-multi-line-text.php:10
474
- #: core/templates/parts/customize-number.php:10
475
- #: core/templates/parts/customize-radio.php:10
476
- #: core/templates/parts/customize-select.php:10
477
- #: core/templates/parts/customize-single-line-text.php:10
478
- msgid "Left"
479
  msgstr ""
480
 
481
  #: core/classes/class-form-styles.php:101
482
  #: core/classes/class-form-styles.php:175
483
  #: core/classes/class-form-styles.php:215
484
- #: core/classes/class-form-styles.php:244
485
- #: core/classes/class-form-styles.php:321
486
- msgid "Center"
487
- msgstr ""
488
-
489
- #: core/classes/class-form-styles.php:102
490
- #: core/classes/class-form-styles.php:176
491
- #: core/classes/class-form-styles.php:216
492
- #: core/classes/class-form-styles.php:245
493
- #: core/classes/class-form-styles.php:322
494
  msgid "Right"
495
  msgstr ""
496
 
497
- #: core/classes/class-form-styles.php:129
498
  msgid "All sides"
499
  msgstr ""
500
 
501
- #: core/classes/class-form-styles.php:130
502
  msgid "Bottom only"
503
  msgstr ""
504
 
505
- #: core/classes/class-form-styles.php:138
506
- #: core/classes/class-form-styles.php:272
507
  msgid "Square"
508
  msgstr ""
509
 
510
- #: core/classes/class-form-styles.php:139
511
- #: core/classes/class-form-styles.php:273
512
  msgid "Round"
513
  msgstr ""
514
 
515
- #: core/classes/class-form-styles.php:140
516
- #: core/classes/class-form-styles.php:274
517
  msgid "Pill"
518
  msgstr ""
519
 
520
- #: core/classes/class-form-styles.php:194
521
- #: core/classes/class-form-styles.php:311
522
  msgid "Normal"
523
  msgstr ""
524
 
525
- #: core/classes/class-form-styles.php:195
526
- #: core/classes/class-form-styles.php:312
527
  msgid "Bold"
528
  msgstr ""
529
 
530
- #: core/classes/class-form-styles.php:203
531
  msgid "Above"
532
  msgstr ""
533
 
534
- #: core/classes/class-form-styles.php:204
535
- #: core/templates/parts/customize-checkbox.php:13
536
- #: core/templates/parts/customize-email.php:13
537
- #: core/templates/parts/customize-multi-line-text.php:13
538
- #: core/templates/parts/customize-number.php:13
539
- #: core/templates/parts/customize-radio.php:13
540
- #: core/templates/parts/customize-select.php:13
541
- #: core/templates/parts/customize-single-line-text.php:13
542
  msgid "Below"
543
  msgstr ""
544
 
545
- #: core/classes/class-form-styles.php:206
546
  msgid "Hidden"
547
  msgstr ""
548
 
549
- #: core/classes/class-form-styles.php:234
550
- msgid "Standard"
551
- msgstr ""
552
-
553
- #: core/classes/class-form-styles.php:235
554
- msgid "Tooltip"
555
- msgstr ""
556
-
557
- #: core/classes/class-form-styles.php:283
558
  msgid "Full width"
559
  msgstr ""
560
 
561
- #: core/classes/class-form-styles.php:546
562
  msgid "General"
563
  msgstr ""
564
 
565
- #: core/classes/class-form-styles.php:551
566
- #: core/classes/class-form-styles.php:866
567
  #: core/templates/partials/customize-field-width.php:2
568
  msgid "Width"
569
  msgstr ""
570
 
571
- #: core/classes/class-form-styles.php:556
572
- #: core/classes/class-form-styles.php:871
573
  msgid "Padding"
574
  msgstr ""
575
 
576
- #: core/classes/class-form-styles.php:561
577
  msgid "Direction"
578
  msgstr ""
579
 
580
- #: core/classes/class-form-styles.php:567
581
- #: core/classes/class-form-styles.php:652
582
- #: core/classes/class-form-styles.php:727
583
- #: core/classes/class-form-styles.php:897
584
  msgid "Colors"
585
  msgstr ""
586
 
587
- #: core/classes/class-form-styles.php:571
588
  msgid "Primary"
589
  msgstr ""
590
 
591
- #: core/classes/class-form-styles.php:576
592
  msgid "Success message background"
593
  msgstr ""
594
 
595
- #: core/classes/class-form-styles.php:581
596
  msgid "Success message text"
597
  msgstr ""
598
 
599
- #: core/classes/class-form-styles.php:586
600
  msgid "Validation message text"
601
  msgstr ""
602
 
603
- #: core/classes/class-form-styles.php:591
604
  msgid "Error message background"
605
  msgstr ""
606
 
607
- #: core/classes/class-form-styles.php:596
608
  msgid "Error message text"
609
  msgstr ""
610
 
611
- #: core/classes/class-form-styles.php:601
612
  #: inc/classes/parts/class-part-title-dummy.php:8
613
  msgid "Title"
614
  msgstr ""
615
 
616
- #: core/classes/class-form-styles.php:606
617
  msgid "Display"
618
  msgstr ""
619
 
620
- #: core/classes/class-form-styles.php:611
621
- #: core/classes/class-form-styles.php:886
622
  msgid "Alignment"
623
  msgstr ""
624
 
625
- #: core/classes/class-form-styles.php:616
626
- #: core/classes/class-form-styles.php:876
627
  msgid "Font size"
628
  msgstr ""
629
 
630
- #: core/classes/class-form-styles.php:621
631
  msgid "Field borders & spacing"
632
  msgstr ""
633
 
634
- #: core/classes/class-form-styles.php:626
635
- #: core/classes/class-form-styles.php:656
636
- #: core/classes/class-form-styles.php:856
637
- #: core/classes/class-form-styles.php:911
638
  msgid "Border"
639
  msgstr ""
640
 
641
- #: core/classes/class-form-styles.php:631
642
  msgid "Border location"
643
  msgstr ""
644
 
645
- #: core/classes/class-form-styles.php:636
646
- #: core/classes/class-form-styles.php:861
647
  msgid "Border radius"
648
  msgstr ""
649
 
650
- #: core/classes/class-form-styles.php:641
651
  msgid "Outer spacing"
652
  msgstr ""
653
 
654
- #: core/classes/class-form-styles.php:646
655
  msgid "Inner spacing"
656
  msgstr ""
657
 
658
- #: core/classes/class-form-styles.php:661
659
  msgid "Border on focus"
660
  msgstr ""
661
 
662
- #: core/classes/class-form-styles.php:666
663
- #: core/classes/class-form-styles.php:761
664
- #: core/classes/class-form-styles.php:786
665
- #: core/classes/class-form-styles.php:901
666
  msgid "Background"
667
  msgstr ""
668
 
669
- #: core/classes/class-form-styles.php:671
670
- #: core/classes/class-form-styles.php:771
671
- #: core/classes/class-form-styles.php:791
672
- #: core/classes/class-form-styles.php:906
673
  msgid "Background on focus"
674
  msgstr ""
675
 
676
- #: core/classes/class-form-styles.php:676
677
  msgid "Field labels & text"
678
  msgstr ""
679
 
680
- #: core/classes/class-form-styles.php:681
681
  msgid "Toggle placeholder on field focus"
682
  msgstr ""
683
 
684
- #: core/classes/class-form-styles.php:686
685
  msgid "Label alignment"
686
  msgstr ""
687
 
688
- #: core/classes/class-form-styles.php:691
689
  msgid "Label font size"
690
  msgstr ""
691
 
692
- #: core/classes/class-form-styles.php:696
693
  msgid "Label font weight"
694
  msgstr ""
695
 
696
- #: core/classes/class-form-styles.php:701
697
  msgid "Hint alignment"
698
  msgstr ""
699
 
700
- #: core/classes/class-form-styles.php:706
701
  msgid "Hint font size"
702
  msgstr ""
703
 
704
- #: core/classes/class-form-styles.php:711
705
- msgid "Hint display"
706
- msgstr ""
707
-
708
- #: core/classes/class-form-styles.php:716
709
  msgid "Placeholder &amp; value alignment"
710
  msgstr ""
711
 
712
- #: core/classes/class-form-styles.php:721
713
  msgid "Value font size"
714
  msgstr ""
715
 
716
- #: core/classes/class-form-styles.php:731
717
  #: core/templates/parts/customize-checkbox.php:4
718
- #: core/templates/parts/customize-checkbox.php:136
719
  #: core/templates/parts/customize-email.php:4
720
  #: core/templates/parts/customize-multi-line-text.php:4
721
  #: core/templates/parts/customize-number.php:4
@@ -727,11 +701,11 @@ msgstr ""
727
  msgid "Label"
728
  msgstr ""
729
 
730
- #: core/classes/class-form-styles.php:736
731
  msgid "Value"
732
  msgstr ""
733
 
734
- #: core/classes/class-form-styles.php:741
735
  #: core/templates/parts/customize-email.php:20
736
  #: core/templates/parts/customize-multi-line-text.php:20
737
  #: core/templates/parts/customize-number.php:20
@@ -740,7 +714,7 @@ msgstr ""
740
  msgid "Placeholder"
741
  msgstr ""
742
 
743
- #: core/classes/class-form-styles.php:746
744
  #: core/templates/parts/customize-checkbox.php:20
745
  #: core/templates/parts/customize-email.php:28
746
  #: core/templates/parts/customize-multi-line-text.php:28
@@ -751,109 +725,109 @@ msgstr ""
751
  msgid "Hint"
752
  msgstr ""
753
 
754
- #: core/classes/class-form-styles.php:751
755
  msgid "Dropdowns"
756
  msgstr ""
757
 
758
- #: core/classes/class-form-styles.php:757
759
  msgid "Items"
760
  msgstr ""
761
 
762
- #: core/classes/class-form-styles.php:766
763
- #: core/classes/class-form-styles.php:916
764
  #: core/classes/parts/class-part-single-line-text.php:8
765
  msgid "Text"
766
  msgstr ""
767
 
768
- #: core/classes/class-form-styles.php:776
769
  msgid "Text focused"
770
  msgstr ""
771
 
772
- #: core/classes/class-form-styles.php:781
773
  msgid "Checkboxes & Radios"
774
  msgstr ""
775
 
776
- #: core/classes/class-form-styles.php:796
777
  msgid "Checkmark"
778
  msgstr ""
779
 
780
- #: core/classes/class-form-styles.php:801
781
  msgid "Rating"
782
  msgstr ""
783
 
784
- #: core/classes/class-form-styles.php:806
785
  msgid "Rating star color"
786
  msgstr ""
787
 
788
- #: core/classes/class-form-styles.php:811
789
  msgid "Rating star color on hover"
790
  msgstr ""
791
 
792
- #: core/classes/class-form-styles.php:816
793
  msgid "Tables"
794
  msgstr ""
795
 
796
- #: core/classes/class-form-styles.php:821
797
  msgid "Odd row primary"
798
  msgstr ""
799
 
800
- #: core/classes/class-form-styles.php:826
801
  msgid "Odd row secondary"
802
  msgstr ""
803
 
804
- #: core/classes/class-form-styles.php:831
805
  msgid "Even row primary"
806
  msgstr ""
807
 
808
- #: core/classes/class-form-styles.php:836
809
  msgid "Even row secondary"
810
  msgstr ""
811
 
812
- #: core/classes/class-form-styles.php:841
813
  msgid "Dividers"
814
  msgstr ""
815
 
816
- #: core/classes/class-form-styles.php:846
817
  msgid "Color"
818
  msgstr ""
819
 
820
- #: core/classes/class-form-styles.php:851
821
  msgid "Submit button"
822
  msgstr ""
823
 
824
- #: core/classes/class-form-styles.php:881
825
  msgid "Font weight"
826
  msgstr ""
827
 
828
- #: core/classes/class-form-styles.php:891
829
  msgid "Make button a field of last input"
830
  msgstr ""
831
 
832
- #: core/classes/class-form-styles.php:921
833
  msgid "Text on focus"
834
  msgstr ""
835
 
836
- #: core/classes/class-form-styles.php:933
837
  msgid "Add your own CSS code here to customize the appearance of your form."
838
  msgstr ""
839
 
840
- #: core/classes/class-form-styles.php:935
841
  msgid "For each rule you add, we'll prepend your form's HTML ID. This makes sure all styles added will only apply to this form. For example %s becomes %s."
842
  msgstr ""
843
 
844
- #: core/classes/class-form-styles.php:943
845
  msgid "The edit field automatically highlights code syntax. You can disable this in your <a href=\"%s\" class=\"%s\" target=\"_blank\">user profile</a> to work in plain text mode."
846
  msgstr ""
847
 
848
- #: core/classes/class-form-styles.php:951
849
- #: core/classes/class-form-styles.php:961
850
  msgid "Additional CSS"
851
  msgstr ""
852
 
853
  #: core/classes/class-happyforms-core.php:209
854
  #: core/classes/class-happyforms-core.php:210
855
- #: inc/classes/class-message-controller.php:584
856
- #: inc/classes/class-message-controller.php:585
857
  msgid "Activity"
858
  msgstr ""
859
 
@@ -938,10 +912,6 @@ msgid "For checkboxes allowing multiple selections."
938
  msgstr ""
939
 
940
  #: core/classes/parts/class-part-checkbox.php:81
941
- msgid "Select all"
942
- msgstr ""
943
-
944
- #: core/classes/parts/class-part-checkbox.php:89
945
  #: core/classes/parts/class-part-radio.php:82
946
  #: core/classes/parts/class-part-select.php:80
947
  msgid "Other"
@@ -1101,1239 +1071,1239 @@ msgstr ""
1101
  msgid "I agree to the storage and handling of my data by this website"
1102
  msgstr ""
1103
 
1104
- #: core/helpers/helper-form-templates.php:67
1105
  msgid "Leave this field blank"
1106
  msgstr ""
1107
 
1108
- #: core/helpers/helper-form-templates.php:1014
1109
  msgid "January"
1110
  msgstr ""
1111
 
1112
- #: core/helpers/helper-form-templates.php:1015
1113
  msgid "February"
1114
  msgstr ""
1115
 
1116
- #: core/helpers/helper-form-templates.php:1016
1117
  msgid "March"
1118
  msgstr ""
1119
 
1120
- #: core/helpers/helper-form-templates.php:1017
1121
  msgid "April"
1122
  msgstr ""
1123
 
1124
- #: core/helpers/helper-form-templates.php:1018
1125
  msgid "May"
1126
  msgstr ""
1127
 
1128
- #: core/helpers/helper-form-templates.php:1019
1129
  msgid "June"
1130
  msgstr ""
1131
 
1132
- #: core/helpers/helper-form-templates.php:1020
1133
  msgid "July"
1134
  msgstr ""
1135
 
1136
- #: core/helpers/helper-form-templates.php:1021
1137
  msgid "August"
1138
  msgstr ""
1139
 
1140
- #: core/helpers/helper-form-templates.php:1022
1141
  msgid "September"
1142
  msgstr ""
1143
 
1144
- #: core/helpers/helper-form-templates.php:1023
1145
  msgid "October"
1146
  msgstr ""
1147
 
1148
- #: core/helpers/helper-form-templates.php:1024
1149
  msgid "November"
1150
  msgstr ""
1151
 
1152
- #: core/helpers/helper-form-templates.php:1025
1153
  msgid "December"
1154
  msgstr ""
1155
 
1156
- #: core/helpers/helper-form-templates.php:1066
1157
  msgid "Ascension Island"
1158
  msgstr ""
1159
 
1160
- #: core/helpers/helper-form-templates.php:1067
1161
  #: core/helpers/helper-misc.php:228
1162
  msgid "Andorra"
1163
  msgstr ""
1164
 
1165
- #: core/helpers/helper-form-templates.php:1068
1166
  #: core/helpers/helper-misc.php:446
1167
  msgid "United Arab Emirates"
1168
  msgstr ""
1169
 
1170
- #: core/helpers/helper-form-templates.php:1069
1171
  #: core/helpers/helper-misc.php:224
1172
  msgid "Afghanistan"
1173
  msgstr ""
1174
 
1175
- #: core/helpers/helper-form-templates.php:1070
1176
  #: core/helpers/helper-misc.php:232
1177
  msgid "Antigua and Barbuda"
1178
  msgstr ""
1179
 
1180
- #: core/helpers/helper-form-templates.php:1071
1181
  #: core/helpers/helper-misc.php:230
1182
  msgid "Anguilla"
1183
  msgstr ""
1184
 
1185
- #: core/helpers/helper-form-templates.php:1072
1186
  #: core/helpers/helper-misc.php:225
1187
  msgid "Albania"
1188
  msgstr ""
1189
 
1190
- #: core/helpers/helper-form-templates.php:1073
1191
  #: core/helpers/helper-misc.php:234
1192
  msgid "Armenia"
1193
  msgstr ""
1194
 
1195
- #: core/helpers/helper-form-templates.php:1074
1196
  #: core/helpers/helper-misc.php:229
1197
  msgid "Angola"
1198
  msgstr ""
1199
 
1200
- #: core/helpers/helper-form-templates.php:1075
1201
  #: core/helpers/helper-misc.php:233
1202
  msgid "Argentina"
1203
  msgstr ""
1204
 
1205
- #: core/helpers/helper-form-templates.php:1076
1206
  #: core/helpers/helper-misc.php:227
1207
  msgid "American Samoa"
1208
  msgstr ""
1209
 
1210
- #: core/helpers/helper-form-templates.php:1077
1211
  #: core/helpers/helper-misc.php:237
1212
  msgid "Austria"
1213
  msgstr ""
1214
 
1215
- #: core/helpers/helper-form-templates.php:1078
1216
  #: core/helpers/helper-misc.php:236
1217
  msgid "Australia"
1218
  msgstr ""
1219
 
1220
- #: core/helpers/helper-form-templates.php:1079
1221
  #: core/helpers/helper-misc.php:235
1222
  msgid "Aruba"
1223
  msgstr ""
1224
 
1225
- #: core/helpers/helper-form-templates.php:1080
1226
  msgid "Åland Islands"
1227
  msgstr ""
1228
 
1229
- #: core/helpers/helper-form-templates.php:1081
1230
  #: core/helpers/helper-misc.php:238
1231
  msgid "Azerbaijan"
1232
  msgstr ""
1233
 
1234
- #: core/helpers/helper-form-templates.php:1082
1235
  msgid "Bosnia and Herzegovina"
1236
  msgstr ""
1237
 
1238
- #: core/helpers/helper-form-templates.php:1083
1239
  #: core/helpers/helper-misc.php:242
1240
  msgid "Barbados"
1241
  msgstr ""
1242
 
1243
- #: core/helpers/helper-form-templates.php:1084
1244
  #: core/helpers/helper-misc.php:241
1245
  msgid "Bangladesh"
1246
  msgstr ""
1247
 
1248
- #: core/helpers/helper-form-templates.php:1085
1249
  #: core/helpers/helper-misc.php:244
1250
  msgid "Belgium"
1251
  msgstr ""
1252
 
1253
- #: core/helpers/helper-form-templates.php:1086
1254
  #: core/helpers/helper-misc.php:257
1255
  msgid "Burkina Faso"
1256
  msgstr ""
1257
 
1258
- #: core/helpers/helper-form-templates.php:1087
1259
  #: core/helpers/helper-misc.php:256
1260
  msgid "Bulgaria"
1261
  msgstr ""
1262
 
1263
- #: core/helpers/helper-form-templates.php:1088
1264
  #: core/helpers/helper-misc.php:240
1265
  msgid "Bahrain"
1266
  msgstr ""
1267
 
1268
- #: core/helpers/helper-form-templates.php:1089
1269
  #: core/helpers/helper-misc.php:258
1270
  msgid "Burundi"
1271
  msgstr ""
1272
 
1273
- #: core/helpers/helper-form-templates.php:1090
1274
  #: core/helpers/helper-misc.php:246
1275
  msgid "Benin"
1276
  msgstr ""
1277
 
1278
- #: core/helpers/helper-form-templates.php:1091
1279
  msgid "Saint Barthélemy"
1280
  msgstr ""
1281
 
1282
- #: core/helpers/helper-form-templates.php:1092
1283
  #: core/helpers/helper-misc.php:247
1284
  msgid "Bermuda"
1285
  msgstr ""
1286
 
1287
- #: core/helpers/helper-form-templates.php:1093
1288
  #: core/helpers/helper-misc.php:255
1289
  msgid "Brunei Darussalam"
1290
  msgstr ""
1291
 
1292
- #: core/helpers/helper-form-templates.php:1094
1293
  #: core/helpers/helper-misc.php:249
1294
  msgid "Bolivia"
1295
  msgstr ""
1296
 
1297
- #: core/helpers/helper-form-templates.php:1095
1298
  msgid "Bonaire, Sint Eustatius and Saba"
1299
  msgstr ""
1300
 
1301
- #: core/helpers/helper-form-templates.php:1096
1302
  #: core/helpers/helper-misc.php:253
1303
  msgid "Brazil"
1304
  msgstr ""
1305
 
1306
- #: core/helpers/helper-form-templates.php:1097
1307
  #: core/helpers/helper-misc.php:239
1308
  msgid "Bahamas"
1309
  msgstr ""
1310
 
1311
- #: core/helpers/helper-form-templates.php:1098
1312
  #: core/helpers/helper-misc.php:248
1313
  msgid "Bhutan"
1314
  msgstr ""
1315
 
1316
- #: core/helpers/helper-form-templates.php:1099
1317
  #: core/helpers/helper-misc.php:251
1318
  msgid "Botswana"
1319
  msgstr ""
1320
 
1321
- #: core/helpers/helper-form-templates.php:1100
1322
  #: core/helpers/helper-misc.php:243
1323
  msgid "Belarus"
1324
  msgstr ""
1325
 
1326
- #: core/helpers/helper-form-templates.php:1101
1327
  #: core/helpers/helper-misc.php:245
1328
  msgid "Belize"
1329
  msgstr ""
1330
 
1331
- #: core/helpers/helper-form-templates.php:1102
1332
  #: core/helpers/helper-misc.php:261
1333
  msgid "Canada"
1334
  msgstr ""
1335
 
1336
- #: core/helpers/helper-form-templates.php:1103
1337
  #: core/helpers/helper-misc.php:269
1338
  msgid "Cocos (Keeling) Islands"
1339
  msgstr ""
1340
 
1341
- #: core/helpers/helper-form-templates.php:1104
1342
  #: core/helpers/helper-misc.php:273
1343
  msgid "Congo, the Democratic Republic of the"
1344
  msgstr ""
1345
 
1346
- #: core/helpers/helper-form-templates.php:1105
1347
  #: core/helpers/helper-misc.php:264
1348
  msgid "Central African Republic"
1349
  msgstr ""
1350
 
1351
- #: core/helpers/helper-form-templates.php:1106
1352
  #: core/helpers/helper-misc.php:272
1353
  msgid "Congo"
1354
  msgstr ""
1355
 
1356
- #: core/helpers/helper-form-templates.php:1107
1357
  #: core/helpers/helper-misc.php:429
1358
  msgid "Switzerland"
1359
  msgstr ""
1360
 
1361
- #: core/helpers/helper-form-templates.php:1108
1362
  msgid "Cote D'Ivoire"
1363
  msgstr ""
1364
 
1365
- #: core/helpers/helper-form-templates.php:1109
1366
  #: core/helpers/helper-misc.php:274
1367
  msgid "Cook Islands"
1368
  msgstr ""
1369
 
1370
- #: core/helpers/helper-form-templates.php:1110
1371
  #: core/helpers/helper-misc.php:266
1372
  msgid "Chile"
1373
  msgstr ""
1374
 
1375
- #: core/helpers/helper-form-templates.php:1111
1376
  #: core/helpers/helper-misc.php:260
1377
  msgid "Cameroon"
1378
  msgstr ""
1379
 
1380
- #: core/helpers/helper-form-templates.php:1112
1381
  #: core/helpers/helper-misc.php:267
1382
  msgid "China"
1383
  msgstr ""
1384
 
1385
- #: core/helpers/helper-form-templates.php:1113
1386
  #: core/helpers/helper-misc.php:270
1387
  msgid "Colombia"
1388
  msgstr ""
1389
 
1390
- #: core/helpers/helper-form-templates.php:1114
1391
  #: core/helpers/helper-misc.php:275
1392
  msgid "Costa Rica"
1393
  msgstr ""
1394
 
1395
- #: core/helpers/helper-form-templates.php:1115
1396
  #: core/helpers/helper-misc.php:278
1397
  msgid "Cuba"
1398
  msgstr ""
1399
 
1400
- #: core/helpers/helper-form-templates.php:1116
1401
  #: core/helpers/helper-misc.php:262
1402
  msgid "Cape Verde"
1403
  msgstr ""
1404
 
1405
- #: core/helpers/helper-form-templates.php:1117
1406
  msgid "Curaçao"
1407
  msgstr ""
1408
 
1409
- #: core/helpers/helper-form-templates.php:1118
1410
  #: core/helpers/helper-misc.php:268
1411
  msgid "Christmas Island"
1412
  msgstr ""
1413
 
1414
- #: core/helpers/helper-form-templates.php:1119
1415
  #: core/helpers/helper-misc.php:279
1416
  msgid "Cyprus"
1417
  msgstr ""
1418
 
1419
- #: core/helpers/helper-form-templates.php:1120
1420
  #: core/helpers/helper-misc.php:280
1421
  msgid "Czech Republic"
1422
  msgstr ""
1423
 
1424
- #: core/helpers/helper-form-templates.php:1121
1425
  #: core/helpers/helper-misc.php:305
1426
  msgid "Germany"
1427
  msgstr ""
1428
 
1429
- #: core/helpers/helper-form-templates.php:1122
1430
  #: core/helpers/helper-misc.php:282
1431
  msgid "Djibouti"
1432
  msgstr ""
1433
 
1434
- #: core/helpers/helper-form-templates.php:1123
1435
  #: core/helpers/helper-misc.php:281
1436
  msgid "Denmark"
1437
  msgstr ""
1438
 
1439
- #: core/helpers/helper-form-templates.php:1124
1440
  #: core/helpers/helper-misc.php:283
1441
  msgid "Dominica"
1442
  msgstr ""
1443
 
1444
- #: core/helpers/helper-form-templates.php:1125
1445
  #: core/helpers/helper-misc.php:284
1446
  msgid "Dominican Republic"
1447
  msgstr ""
1448
 
1449
- #: core/helpers/helper-form-templates.php:1126
1450
  #: core/helpers/helper-misc.php:226
1451
  msgid "Algeria"
1452
  msgstr ""
1453
 
1454
- #: core/helpers/helper-form-templates.php:1127
1455
  #: core/helpers/helper-misc.php:286
1456
  msgid "Ecuador"
1457
  msgstr ""
1458
 
1459
- #: core/helpers/helper-form-templates.php:1128
1460
  #: core/helpers/helper-misc.php:291
1461
  msgid "Estonia"
1462
  msgstr ""
1463
 
1464
- #: core/helpers/helper-form-templates.php:1129
1465
  #: core/helpers/helper-misc.php:287
1466
  msgid "Egypt"
1467
  msgstr ""
1468
 
1469
- #: core/helpers/helper-form-templates.php:1130
1470
  #: core/helpers/helper-misc.php:458
1471
  msgid "Western Sahara"
1472
  msgstr ""
1473
 
1474
- #: core/helpers/helper-form-templates.php:1131
1475
  #: core/helpers/helper-misc.php:290
1476
  msgid "Eritrea"
1477
  msgstr ""
1478
 
1479
- #: core/helpers/helper-form-templates.php:1132
1480
  #: core/helpers/helper-misc.php:420
1481
  msgid "Spain"
1482
  msgstr ""
1483
 
1484
- #: core/helpers/helper-form-templates.php:1133
1485
  #: core/helpers/helper-misc.php:292
1486
  msgid "Ethiopia"
1487
  msgstr ""
1488
 
1489
- #: core/helpers/helper-form-templates.php:1134
1490
  #: core/helpers/helper-misc.php:296
1491
  msgid "Finland"
1492
  msgstr ""
1493
 
1494
- #: core/helpers/helper-form-templates.php:1135
1495
  #: core/helpers/helper-misc.php:295
1496
  msgid "Fiji"
1497
  msgstr ""
1498
 
1499
- #: core/helpers/helper-form-templates.php:1136
1500
  #: core/helpers/helper-misc.php:293
1501
  msgid "Falkland Islands (Malvinas)"
1502
  msgstr ""
1503
 
1504
- #: core/helpers/helper-form-templates.php:1137
1505
  #: core/helpers/helper-misc.php:364
1506
  msgid "Micronesia, Federated States of"
1507
  msgstr ""
1508
 
1509
- #: core/helpers/helper-form-templates.php:1138
1510
  #: core/helpers/helper-misc.php:294
1511
  msgid "Faroe Islands"
1512
  msgstr ""
1513
 
1514
- #: core/helpers/helper-form-templates.php:1139
1515
  #: core/helpers/helper-misc.php:297
1516
  msgid "France"
1517
  msgstr ""
1518
 
1519
- #: core/helpers/helper-form-templates.php:1140
1520
  #: core/helpers/helper-misc.php:302
1521
  msgid "Gabon"
1522
  msgstr ""
1523
 
1524
- #: core/helpers/helper-form-templates.php:1141
1525
  #: core/helpers/helper-misc.php:447
1526
  msgid "United Kingdom"
1527
  msgstr ""
1528
 
1529
- #: core/helpers/helper-form-templates.php:1142
1530
  #: core/helpers/helper-misc.php:310
1531
  msgid "Grenada"
1532
  msgstr ""
1533
 
1534
- #: core/helpers/helper-form-templates.php:1143
1535
  #: core/helpers/helper-misc.php:304
1536
  msgid "Georgia"
1537
  msgstr ""
1538
 
1539
- #: core/helpers/helper-form-templates.php:1144
1540
  #: core/helpers/helper-misc.php:299
1541
  msgid "French Guiana"
1542
  msgstr ""
1543
 
1544
- #: core/helpers/helper-form-templates.php:1145
1545
  msgid "Guernsey"
1546
  msgstr ""
1547
 
1548
- #: core/helpers/helper-form-templates.php:1146
1549
  #: core/helpers/helper-misc.php:306
1550
  msgid "Ghana"
1551
  msgstr ""
1552
 
1553
- #: core/helpers/helper-form-templates.php:1147
1554
  #: core/helpers/helper-misc.php:307
1555
  msgid "Gibraltar"
1556
  msgstr ""
1557
 
1558
- #: core/helpers/helper-form-templates.php:1148
1559
  #: core/helpers/helper-misc.php:309
1560
  msgid "Greenland"
1561
  msgstr ""
1562
 
1563
- #: core/helpers/helper-form-templates.php:1149
1564
  #: core/helpers/helper-misc.php:303
1565
  msgid "Gambia"
1566
  msgstr ""
1567
 
1568
- #: core/helpers/helper-form-templates.php:1150
1569
  #: core/helpers/helper-misc.php:314
1570
  msgid "Guinea"
1571
  msgstr ""
1572
 
1573
- #: core/helpers/helper-form-templates.php:1151
1574
  #: core/helpers/helper-misc.php:311
1575
  msgid "Guadeloupe"
1576
  msgstr ""
1577
 
1578
- #: core/helpers/helper-form-templates.php:1152
1579
  #: core/helpers/helper-misc.php:289
1580
  msgid "Equatorial Guinea"
1581
  msgstr ""
1582
 
1583
- #: core/helpers/helper-form-templates.php:1153
1584
  #: core/helpers/helper-misc.php:308
1585
  msgid "Greece"
1586
  msgstr ""
1587
 
1588
- #: core/helpers/helper-form-templates.php:1154
1589
  #: core/helpers/helper-misc.php:313
1590
  msgid "Guatemala"
1591
  msgstr ""
1592
 
1593
- #: core/helpers/helper-form-templates.php:1155
1594
  #: core/helpers/helper-misc.php:312
1595
  msgid "Guam"
1596
  msgstr ""
1597
 
1598
- #: core/helpers/helper-form-templates.php:1156
1599
  #: core/helpers/helper-misc.php:315
1600
  msgid "Guinea-Bissau"
1601
  msgstr ""
1602
 
1603
- #: core/helpers/helper-form-templates.php:1157
1604
  #: core/helpers/helper-misc.php:316
1605
  msgid "Guyana"
1606
  msgstr ""
1607
 
1608
- #: core/helpers/helper-form-templates.php:1158
1609
  #: core/helpers/helper-misc.php:321
1610
  msgid "Hong Kong"
1611
  msgstr ""
1612
 
1613
- #: core/helpers/helper-form-templates.php:1159
1614
  #: core/helpers/helper-misc.php:320
1615
  msgid "Honduras"
1616
  msgstr ""
1617
 
1618
- #: core/helpers/helper-form-templates.php:1160
1619
  msgid "Croatia"
1620
  msgstr ""
1621
 
1622
- #: core/helpers/helper-form-templates.php:1161
1623
  #: core/helpers/helper-misc.php:317
1624
  msgid "Haiti"
1625
  msgstr ""
1626
 
1627
- #: core/helpers/helper-form-templates.php:1162
1628
  #: core/helpers/helper-misc.php:322
1629
  msgid "Hungary"
1630
  msgstr ""
1631
 
1632
- #: core/helpers/helper-form-templates.php:1163
1633
  #: core/helpers/helper-misc.php:325
1634
  msgid "Indonesia"
1635
  msgstr ""
1636
 
1637
- #: core/helpers/helper-form-templates.php:1164
1638
  #: core/helpers/helper-misc.php:328
1639
  msgid "Ireland"
1640
  msgstr ""
1641
 
1642
- #: core/helpers/helper-form-templates.php:1165
1643
  #: core/helpers/helper-misc.php:329
1644
  msgid "Israel"
1645
  msgstr ""
1646
 
1647
- #: core/helpers/helper-form-templates.php:1166
1648
  msgid "Isle of Man"
1649
  msgstr ""
1650
 
1651
- #: core/helpers/helper-form-templates.php:1167
1652
  #: core/helpers/helper-misc.php:324
1653
  msgid "India"
1654
  msgstr ""
1655
 
1656
- #: core/helpers/helper-form-templates.php:1168
1657
  #: core/helpers/helper-misc.php:254
1658
  msgid "British Indian Ocean Territory"
1659
  msgstr ""
1660
 
1661
- #: core/helpers/helper-form-templates.php:1169
1662
  #: core/helpers/helper-misc.php:327
1663
  msgid "Iraq"
1664
  msgstr ""
1665
 
1666
- #: core/helpers/helper-form-templates.php:1170
1667
  msgid "Iran, Islamic Republic of"
1668
  msgstr ""
1669
 
1670
- #: core/helpers/helper-form-templates.php:1171
1671
  #: core/helpers/helper-misc.php:323
1672
  msgid "Iceland"
1673
  msgstr ""
1674
 
1675
- #: core/helpers/helper-form-templates.php:1172
1676
  #: core/helpers/helper-misc.php:330
1677
  msgid "Italy"
1678
  msgstr ""
1679
 
1680
- #: core/helpers/helper-form-templates.php:1173
1681
  msgid "Jersey"
1682
  msgstr ""
1683
 
1684
- #: core/helpers/helper-form-templates.php:1174
1685
  #: core/helpers/helper-misc.php:331
1686
  msgid "Jamaica"
1687
  msgstr ""
1688
 
1689
- #: core/helpers/helper-form-templates.php:1175
1690
  #: core/helpers/helper-misc.php:333
1691
  msgid "Jordan"
1692
  msgstr ""
1693
 
1694
- #: core/helpers/helper-form-templates.php:1176
1695
  #: core/helpers/helper-misc.php:332
1696
  msgid "Japan"
1697
  msgstr ""
1698
 
1699
- #: core/helpers/helper-form-templates.php:1177
1700
  #: core/helpers/helper-misc.php:335
1701
  msgid "Kenya"
1702
  msgstr ""
1703
 
1704
- #: core/helpers/helper-form-templates.php:1178
1705
  #: core/helpers/helper-misc.php:340
1706
  msgid "Kyrgyzstan"
1707
  msgstr ""
1708
 
1709
- #: core/helpers/helper-form-templates.php:1179
1710
  #: core/helpers/helper-misc.php:259
1711
  msgid "Cambodia"
1712
  msgstr ""
1713
 
1714
- #: core/helpers/helper-form-templates.php:1180
1715
  #: core/helpers/helper-misc.php:336
1716
  msgid "Kiribati"
1717
  msgstr ""
1718
 
1719
- #: core/helpers/helper-form-templates.php:1181
1720
  #: core/helpers/helper-misc.php:271
1721
  msgid "Comoros"
1722
  msgstr ""
1723
 
1724
- #: core/helpers/helper-form-templates.php:1182
1725
  #: core/helpers/helper-misc.php:403
1726
  msgid "Saint Kitts and Nevis"
1727
  msgstr ""
1728
 
1729
- #: core/helpers/helper-form-templates.php:1183
1730
  msgid "North Korea"
1731
  msgstr ""
1732
 
1733
- #: core/helpers/helper-form-templates.php:1184
1734
  msgid "South Korea"
1735
  msgstr ""
1736
 
1737
- #: core/helpers/helper-form-templates.php:1185
1738
  #: core/helpers/helper-misc.php:339
1739
  msgid "Kuwait"
1740
  msgstr ""
1741
 
1742
- #: core/helpers/helper-form-templates.php:1186
1743
  #: core/helpers/helper-misc.php:263
1744
  msgid "Cayman Islands"
1745
  msgstr ""
1746
 
1747
- #: core/helpers/helper-form-templates.php:1187
1748
  #: core/helpers/helper-misc.php:334
1749
  msgid "Kazakhstan"
1750
  msgstr ""
1751
 
1752
- #: core/helpers/helper-form-templates.php:1188
1753
  msgid "Lao People's Democratic Republic"
1754
  msgstr ""
1755
 
1756
- #: core/helpers/helper-form-templates.php:1189
1757
  #: core/helpers/helper-misc.php:343
1758
  msgid "Lebanon"
1759
  msgstr ""
1760
 
1761
- #: core/helpers/helper-form-templates.php:1190
1762
  #: core/helpers/helper-misc.php:404
1763
  msgid "Saint Lucia"
1764
  msgstr ""
1765
 
1766
- #: core/helpers/helper-form-templates.php:1191
1767
  #: core/helpers/helper-misc.php:347
1768
  msgid "Liechtenstein"
1769
  msgstr ""
1770
 
1771
- #: core/helpers/helper-form-templates.php:1192
1772
  #: core/helpers/helper-misc.php:421
1773
  msgid "Sri Lanka"
1774
  msgstr ""
1775
 
1776
- #: core/helpers/helper-form-templates.php:1193
1777
  #: core/helpers/helper-misc.php:345
1778
  msgid "Liberia"
1779
  msgstr ""
1780
 
1781
- #: core/helpers/helper-form-templates.php:1194
1782
  #: core/helpers/helper-misc.php:344
1783
  msgid "Lesotho"
1784
  msgstr ""
1785
 
1786
- #: core/helpers/helper-form-templates.php:1195
1787
  #: core/helpers/helper-misc.php:348
1788
  msgid "Lithuania"
1789
  msgstr ""
1790
 
1791
- #: core/helpers/helper-form-templates.php:1196
1792
  #: core/helpers/helper-misc.php:349
1793
  msgid "Luxembourg"
1794
  msgstr ""
1795
 
1796
- #: core/helpers/helper-form-templates.php:1197
1797
  #: core/helpers/helper-misc.php:342
1798
  msgid "Latvia"
1799
  msgstr ""
1800
 
1801
- #: core/helpers/helper-form-templates.php:1198
1802
  msgid "Libya"
1803
  msgstr ""
1804
 
1805
- #: core/helpers/helper-form-templates.php:1199
1806
  #: core/helpers/helper-misc.php:369
1807
  msgid "Morocco"
1808
  msgstr ""
1809
 
1810
- #: core/helpers/helper-form-templates.php:1200
1811
  #: core/helpers/helper-misc.php:366
1812
  msgid "Monaco"
1813
  msgstr ""
1814
 
1815
- #: core/helpers/helper-form-templates.php:1201
1816
  #: core/helpers/helper-misc.php:365
1817
  msgid "Moldova, Republic of"
1818
  msgstr ""
1819
 
1820
- #: core/helpers/helper-form-templates.php:1202
1821
  msgid "Montenegro"
1822
  msgstr ""
1823
 
1824
- #: core/helpers/helper-form-templates.php:1203
1825
  msgid "Saint Martin (French part)"
1826
  msgstr ""
1827
 
1828
- #: core/helpers/helper-form-templates.php:1204
1829
  #: core/helpers/helper-misc.php:352
1830
  msgid "Madagascar"
1831
  msgstr ""
1832
 
1833
- #: core/helpers/helper-form-templates.php:1205
1834
  #: core/helpers/helper-misc.php:358
1835
  msgid "Marshall Islands"
1836
  msgstr ""
1837
 
1838
- #: core/helpers/helper-form-templates.php:1206
1839
  msgid "North Macedonia, Republic of"
1840
  msgstr ""
1841
 
1842
- #: core/helpers/helper-form-templates.php:1207
1843
  #: core/helpers/helper-misc.php:356
1844
  msgid "Mali"
1845
  msgstr ""
1846
 
1847
- #: core/helpers/helper-form-templates.php:1208
1848
  #: core/helpers/helper-misc.php:371
1849
  msgid "Myanmar"
1850
  msgstr ""
1851
 
1852
- #: core/helpers/helper-form-templates.php:1209
1853
  #: core/helpers/helper-misc.php:367
1854
  msgid "Mongolia"
1855
  msgstr ""
1856
 
1857
- #: core/helpers/helper-form-templates.php:1210
1858
  msgid "Macao"
1859
  msgstr ""
1860
 
1861
- #: core/helpers/helper-form-templates.php:1211
1862
  #: core/helpers/helper-misc.php:384
1863
  msgid "Northern Mariana Islands"
1864
  msgstr ""
1865
 
1866
- #: core/helpers/helper-form-templates.php:1212
1867
  #: core/helpers/helper-misc.php:359
1868
  msgid "Martinique"
1869
  msgstr ""
1870
 
1871
- #: core/helpers/helper-form-templates.php:1213
1872
  #: core/helpers/helper-misc.php:360
1873
  msgid "Mauritania"
1874
  msgstr ""
1875
 
1876
- #: core/helpers/helper-form-templates.php:1214
1877
  #: core/helpers/helper-misc.php:368
1878
  msgid "Montserrat"
1879
  msgstr ""
1880
 
1881
- #: core/helpers/helper-form-templates.php:1215
1882
  #: core/helpers/helper-misc.php:357
1883
  msgid "Malta"
1884
  msgstr ""
1885
 
1886
- #: core/helpers/helper-form-templates.php:1216
1887
  #: core/helpers/helper-misc.php:361
1888
  msgid "Mauritius"
1889
  msgstr ""
1890
 
1891
- #: core/helpers/helper-form-templates.php:1217
1892
  #: core/helpers/helper-misc.php:355
1893
  msgid "Maldives"
1894
  msgstr ""
1895
 
1896
- #: core/helpers/helper-form-templates.php:1218
1897
  #: core/helpers/helper-misc.php:353
1898
  msgid "Malawi"
1899
  msgstr ""
1900
 
1901
- #: core/helpers/helper-form-templates.php:1219
1902
  #: core/helpers/helper-misc.php:363
1903
  msgid "Mexico"
1904
  msgstr ""
1905
 
1906
- #: core/helpers/helper-form-templates.php:1220
1907
  #: core/helpers/helper-misc.php:354
1908
  msgid "Malaysia"
1909
  msgstr ""
1910
 
1911
- #: core/helpers/helper-form-templates.php:1221
1912
  #: core/helpers/helper-misc.php:370
1913
  msgid "Mozambique"
1914
  msgstr ""
1915
 
1916
- #: core/helpers/helper-form-templates.php:1222
1917
  #: core/helpers/helper-misc.php:372
1918
  msgid "Namibia"
1919
  msgstr ""
1920
 
1921
- #: core/helpers/helper-form-templates.php:1223
1922
  #: core/helpers/helper-misc.php:377
1923
  msgid "New Caledonia"
1924
  msgstr ""
1925
 
1926
- #: core/helpers/helper-form-templates.php:1224
1927
  #: core/helpers/helper-misc.php:380
1928
  msgid "Niger"
1929
  msgstr ""
1930
 
1931
- #: core/helpers/helper-form-templates.php:1225
1932
  #: core/helpers/helper-misc.php:383
1933
  msgid "Norfolk Island"
1934
  msgstr ""
1935
 
1936
- #: core/helpers/helper-form-templates.php:1226
1937
  #: core/helpers/helper-misc.php:381
1938
  msgid "Nigeria"
1939
  msgstr ""
1940
 
1941
- #: core/helpers/helper-form-templates.php:1227
1942
  #: core/helpers/helper-misc.php:379
1943
  msgid "Nicaragua"
1944
  msgstr ""
1945
 
1946
- #: core/helpers/helper-form-templates.php:1228
1947
  #: core/helpers/helper-misc.php:375
1948
  msgid "Netherlands"
1949
  msgstr ""
1950
 
1951
- #: core/helpers/helper-form-templates.php:1229
1952
  #: core/helpers/helper-misc.php:385
1953
  msgid "Norway"
1954
  msgstr ""
1955
 
1956
- #: core/helpers/helper-form-templates.php:1230
1957
  #: core/helpers/helper-misc.php:374
1958
  msgid "Nepal"
1959
  msgstr ""
1960
 
1961
- #: core/helpers/helper-form-templates.php:1231
1962
  #: core/helpers/helper-misc.php:373
1963
  msgid "Nauru"
1964
  msgstr ""
1965
 
1966
- #: core/helpers/helper-form-templates.php:1232
1967
  #: core/helpers/helper-misc.php:382
1968
  msgid "Niue"
1969
  msgstr ""
1970
 
1971
- #: core/helpers/helper-form-templates.php:1233
1972
  #: core/helpers/helper-misc.php:378
1973
  msgid "New Zealand"
1974
  msgstr ""
1975
 
1976
- #: core/helpers/helper-form-templates.php:1234
1977
  #: core/helpers/helper-misc.php:386
1978
  msgid "Oman"
1979
  msgstr ""
1980
 
1981
- #: core/helpers/helper-form-templates.php:1235
1982
  #: core/helpers/helper-misc.php:389
1983
  msgid "Panama"
1984
  msgstr ""
1985
 
1986
- #: core/helpers/helper-form-templates.php:1236
1987
  #: core/helpers/helper-misc.php:392
1988
  msgid "Peru"
1989
  msgstr ""
1990
 
1991
- #: core/helpers/helper-form-templates.php:1237
1992
  #: core/helpers/helper-misc.php:300
1993
  msgid "French Polynesia"
1994
  msgstr ""
1995
 
1996
- #: core/helpers/helper-form-templates.php:1238
1997
  #: core/helpers/helper-misc.php:390
1998
  msgid "Papua New Guinea"
1999
  msgstr ""
2000
 
2001
- #: core/helpers/helper-form-templates.php:1239
2002
  #: core/helpers/helper-misc.php:393
2003
  msgid "Philippines"
2004
  msgstr ""
2005
 
2006
- #: core/helpers/helper-form-templates.php:1240
2007
  #: core/helpers/helper-misc.php:387
2008
  msgid "Pakistan"
2009
  msgstr ""
2010
 
2011
- #: core/helpers/helper-form-templates.php:1241
2012
  #: core/helpers/helper-misc.php:395
2013
  msgid "Poland"
2014
  msgstr ""
2015
 
2016
- #: core/helpers/helper-form-templates.php:1242
2017
  msgid "Saint Pierre and Miquelon"
2018
  msgstr ""
2019
 
2020
- #: core/helpers/helper-form-templates.php:1243
2021
  #: core/helpers/helper-misc.php:397
2022
  msgid "Puerto Rico"
2023
  msgstr ""
2024
 
2025
- #: core/helpers/helper-form-templates.php:1244
2026
  msgid "Palestinian Territory, Occupied"
2027
  msgstr ""
2028
 
2029
- #: core/helpers/helper-form-templates.php:1245
2030
  #: core/helpers/helper-misc.php:396
2031
  msgid "Portugal"
2032
  msgstr ""
2033
 
2034
- #: core/helpers/helper-form-templates.php:1246
2035
  #: core/helpers/helper-misc.php:388
2036
  msgid "Palau"
2037
  msgstr ""
2038
 
2039
- #: core/helpers/helper-form-templates.php:1247
2040
  #: core/helpers/helper-misc.php:391
2041
  msgid "Paraguay"
2042
  msgstr ""
2043
 
2044
- #: core/helpers/helper-form-templates.php:1248
2045
  #: core/helpers/helper-misc.php:398
2046
  msgid "Qatar"
2047
  msgstr ""
2048
 
2049
- #: core/helpers/helper-form-templates.php:1249
2050
  #: core/helpers/helper-misc.php:399
2051
  msgid "Reunion"
2052
  msgstr ""
2053
 
2054
- #: core/helpers/helper-form-templates.php:1250
2055
  #: core/helpers/helper-misc.php:400
2056
  msgid "Romania"
2057
  msgstr ""
2058
 
2059
- #: core/helpers/helper-form-templates.php:1251
2060
  msgid "Serbia"
2061
  msgstr ""
2062
 
2063
- #: core/helpers/helper-form-templates.php:1252
2064
  #: core/helpers/helper-misc.php:401
2065
  msgid "Russian Federation"
2066
  msgstr ""
2067
 
2068
- #: core/helpers/helper-form-templates.php:1253
2069
  #: core/helpers/helper-misc.php:402
2070
  msgid "Rwanda"
2071
  msgstr ""
2072
 
2073
- #: core/helpers/helper-form-templates.php:1254
2074
  #: core/helpers/helper-misc.php:409
2075
  msgid "Saudi Arabia"
2076
  msgstr ""
2077
 
2078
- #: core/helpers/helper-form-templates.php:1255
2079
  #: core/helpers/helper-misc.php:416
2080
  msgid "Solomon Islands"
2081
  msgstr ""
2082
 
2083
- #: core/helpers/helper-form-templates.php:1256
2084
  #: core/helpers/helper-misc.php:411
2085
  msgid "Seychelles"
2086
  msgstr ""
2087
 
2088
- #: core/helpers/helper-form-templates.php:1257
2089
  #: core/helpers/helper-misc.php:424
2090
  msgid "Sudan"
2091
  msgstr ""
2092
 
2093
- #: core/helpers/helper-form-templates.php:1258
2094
  #: core/helpers/helper-misc.php:428
2095
  msgid "Sweden"
2096
  msgstr ""
2097
 
2098
- #: core/helpers/helper-form-templates.php:1259
2099
  #: core/helpers/helper-misc.php:413
2100
  msgid "Singapore"
2101
  msgstr ""
2102
 
2103
- #: core/helpers/helper-form-templates.php:1260
2104
- #: core/helpers/helper-form-templates.php:1275
2105
  msgid "Saint Helena"
2106
  msgstr ""
2107
 
2108
- #: core/helpers/helper-form-templates.php:1261
2109
  #: core/helpers/helper-misc.php:415
2110
  msgid "Slovenia"
2111
  msgstr ""
2112
 
2113
- #: core/helpers/helper-form-templates.php:1262
2114
  msgid "Svalbard and Jan Mayen"
2115
  msgstr ""
2116
 
2117
- #: core/helpers/helper-form-templates.php:1263
2118
  msgid "Slovakia"
2119
  msgstr ""
2120
 
2121
- #: core/helpers/helper-form-templates.php:1264
2122
  #: core/helpers/helper-misc.php:412
2123
  msgid "Sierra Leone"
2124
  msgstr ""
2125
 
2126
- #: core/helpers/helper-form-templates.php:1265
2127
  #: core/helpers/helper-misc.php:407
2128
  msgid "San Marino"
2129
  msgstr ""
2130
 
2131
- #: core/helpers/helper-form-templates.php:1266
2132
  #: core/helpers/helper-misc.php:410
2133
  msgid "Senegal"
2134
  msgstr ""
2135
 
2136
- #: core/helpers/helper-form-templates.php:1267
2137
  #: core/helpers/helper-misc.php:417
2138
  msgid "Somalia"
2139
  msgstr ""
2140
 
2141
- #: core/helpers/helper-form-templates.php:1268
2142
  #: core/helpers/helper-misc.php:425
2143
  msgid "Suriname"
2144
  msgstr ""
2145
 
2146
- #: core/helpers/helper-form-templates.php:1269
2147
  msgid "South Sudan"
2148
  msgstr ""
2149
 
2150
- #: core/helpers/helper-form-templates.php:1270
2151
  #: core/helpers/helper-misc.php:408
2152
  msgid "Sao Tome and Principe"
2153
  msgstr ""
2154
 
2155
- #: core/helpers/helper-form-templates.php:1271
2156
  #: core/helpers/helper-misc.php:288
2157
  msgid "El Salvador"
2158
  msgstr ""
2159
 
2160
- #: core/helpers/helper-form-templates.php:1272
2161
  msgid "Sint Maarten (Dutch part)"
2162
  msgstr ""
2163
 
2164
- #: core/helpers/helper-form-templates.php:1273
2165
  #: core/helpers/helper-misc.php:430
2166
  msgid "Syrian Arab Republic"
2167
  msgstr ""
2168
 
2169
- #: core/helpers/helper-form-templates.php:1274
2170
  msgid "Eswatini"
2171
  msgstr ""
2172
 
2173
- #: core/helpers/helper-form-templates.php:1276
2174
  #: core/helpers/helper-misc.php:442
2175
  msgid "Turks and Caicos Islands"
2176
  msgstr ""
2177
 
2178
- #: core/helpers/helper-form-templates.php:1277
2179
  #: core/helpers/helper-misc.php:265
2180
  msgid "Chad"
2181
  msgstr ""
2182
 
2183
- #: core/helpers/helper-form-templates.php:1278
2184
  #: core/helpers/helper-misc.php:435
2185
  msgid "Togo"
2186
  msgstr ""
2187
 
2188
- #: core/helpers/helper-form-templates.php:1279
2189
  #: core/helpers/helper-misc.php:434
2190
  msgid "Thailand"
2191
  msgstr ""
2192
 
2193
- #: core/helpers/helper-form-templates.php:1280
2194
  #: core/helpers/helper-misc.php:432
2195
  msgid "Tajikistan"
2196
  msgstr ""
2197
 
2198
- #: core/helpers/helper-form-templates.php:1281
2199
  #: core/helpers/helper-misc.php:436
2200
  msgid "Tokelau"
2201
  msgstr ""
2202
 
2203
- #: core/helpers/helper-form-templates.php:1282
2204
  msgid "Timor-Leste"
2205
  msgstr ""
2206
 
2207
- #: core/helpers/helper-form-templates.php:1283
2208
  #: core/helpers/helper-misc.php:441
2209
  msgid "Turkmenistan"
2210
  msgstr ""
2211
 
2212
- #: core/helpers/helper-form-templates.php:1284
2213
  #: core/helpers/helper-misc.php:439
2214
  msgid "Tunisia"
2215
  msgstr ""
2216
 
2217
- #: core/helpers/helper-form-templates.php:1285
2218
  #: core/helpers/helper-misc.php:437
2219
  msgid "Tonga"
2220
  msgstr ""
2221
 
2222
- #: core/helpers/helper-form-templates.php:1286
2223
  #: core/helpers/helper-misc.php:440
2224
  msgid "Turkey"
2225
  msgstr ""
2226
 
2227
- #: core/helpers/helper-form-templates.php:1287
2228
  #: core/helpers/helper-misc.php:438
2229
  msgid "Trinidad and Tobago"
2230
  msgstr ""
2231
 
2232
- #: core/helpers/helper-form-templates.php:1288
2233
  #: core/helpers/helper-misc.php:443
2234
  msgid "Tuvalu"
2235
  msgstr ""
2236
 
2237
- #: core/helpers/helper-form-templates.php:1289
2238
  msgid "Taiwan"
2239
  msgstr ""
2240
 
2241
- #: core/helpers/helper-form-templates.php:1290
2242
  #: core/helpers/helper-misc.php:433
2243
  msgid "Tanzania, United Republic of"
2244
  msgstr ""
2245
 
2246
- #: core/helpers/helper-form-templates.php:1291
2247
  #: core/helpers/helper-misc.php:445
2248
  msgid "Ukraine"
2249
  msgstr ""
2250
 
2251
- #: core/helpers/helper-form-templates.php:1292
2252
  #: core/helpers/helper-misc.php:444
2253
  msgid "Uganda"
2254
  msgstr ""
2255
 
2256
- #: core/helpers/helper-form-templates.php:1293
2257
  msgid "United States of America"
2258
  msgstr ""
2259
 
2260
- #: core/helpers/helper-form-templates.php:1294
2261
  #: core/helpers/helper-misc.php:450
2262
  msgid "Uruguay"
2263
  msgstr ""
2264
 
2265
- #: core/helpers/helper-form-templates.php:1295
2266
  #: core/helpers/helper-misc.php:451
2267
  msgid "Uzbekistan"
2268
  msgstr ""
2269
 
2270
- #: core/helpers/helper-form-templates.php:1296
2271
  #: core/helpers/helper-misc.php:319
2272
  msgid "Holy See (Vatican City State)"
2273
  msgstr ""
2274
 
2275
- #: core/helpers/helper-form-templates.php:1297
2276
  #: core/helpers/helper-misc.php:405
2277
  msgid "Saint Vincent and the Grenadines"
2278
  msgstr ""
2279
 
2280
- #: core/helpers/helper-form-templates.php:1298
2281
  #: core/helpers/helper-misc.php:453
2282
  msgid "Venezuela"
2283
  msgstr ""
2284
 
2285
- #: core/helpers/helper-form-templates.php:1299
2286
  msgid "Virgin Islands, British"
2287
  msgstr ""
2288
 
2289
- #: core/helpers/helper-form-templates.php:1300
2290
  msgid "Virgin Islands, U.S."
2291
  msgstr ""
2292
 
2293
- #: core/helpers/helper-form-templates.php:1301
2294
  #: core/helpers/helper-misc.php:454
2295
  msgid "Vietnam"
2296
  msgstr ""
2297
 
2298
- #: core/helpers/helper-form-templates.php:1302
2299
  #: core/helpers/helper-misc.php:452
2300
  msgid "Vanuatu"
2301
  msgstr ""
2302
 
2303
- #: core/helpers/helper-form-templates.php:1303
2304
  msgid "Wallis and Futuna"
2305
  msgstr ""
2306
 
2307
- #: core/helpers/helper-form-templates.php:1304
2308
  #: core/helpers/helper-misc.php:406
2309
  msgid "Samoa"
2310
  msgstr ""
2311
 
2312
- #: core/helpers/helper-form-templates.php:1305
2313
  msgid "Kosovo"
2314
  msgstr ""
2315
 
2316
- #: core/helpers/helper-form-templates.php:1306
2317
  #: core/helpers/helper-misc.php:459
2318
  msgid "Yemen"
2319
  msgstr ""
2320
 
2321
- #: core/helpers/helper-form-templates.php:1307
2322
  #: core/helpers/helper-misc.php:362
2323
  msgid "Mayotte"
2324
  msgstr ""
2325
 
2326
- #: core/helpers/helper-form-templates.php:1308
2327
  #: core/helpers/helper-misc.php:418
2328
  msgid "South Africa"
2329
  msgstr ""
2330
 
2331
- #: core/helpers/helper-form-templates.php:1309
2332
  #: core/helpers/helper-misc.php:461
2333
  msgid "Zambia"
2334
  msgstr ""
2335
 
2336
- #: core/helpers/helper-form-templates.php:1310
2337
  #: core/helpers/helper-misc.php:462
2338
  msgid "Zimbabwe"
2339
  msgstr ""
@@ -3034,7 +3004,7 @@ msgstr ""
3034
  #: core/templates/customize-controls/setup/upsell.php:2
3035
  #: core/templates/customize-form-part-footer.php:5
3036
  #: core/templates/customize-form-parts-drawer.php:37
3037
- #: inc/templates/customize-controls/checkbox_dummy.php:8
3038
  #: inc/templates/customize-controls/email-parts-list-dummy.php:2
3039
  msgid "Members Only"
3040
  msgstr ""
@@ -3075,7 +3045,7 @@ msgstr ""
3075
 
3076
  #: core/templates/customize-form-item.php:33
3077
  #: core/templates/customize-form-part-footer.php:3
3078
- #: core/templates/parts/customize-checkbox.php:157
3079
  #: core/templates/parts/customize-radio.php:130
3080
  #: core/templates/parts/customize-select.php:129
3081
  msgid "Delete"
@@ -3138,27 +3108,27 @@ msgstr ""
3138
  msgid "Close"
3139
  msgstr ""
3140
 
3141
- #: core/templates/partials/customize-field-width.php:4
3142
  msgid "Full"
3143
  msgstr ""
3144
 
3145
- #: core/templates/partials/customize-field-width.php:5
3146
  msgid "Half"
3147
  msgstr ""
3148
 
3149
- #: core/templates/partials/customize-field-width.php:6
3150
  msgid "Third"
3151
  msgstr ""
3152
 
3153
- #: core/templates/partials/customize-field-width.php:7
3154
  msgid "Quarter"
3155
  msgstr ""
3156
 
3157
- #: core/templates/partials/customize-field-width.php:8
3158
  msgid "Auto"
3159
  msgstr ""
3160
 
3161
- #: core/templates/partials/customize-field-width.php:13
3162
  msgid "Apply to all fields"
3163
  msgstr ""
3164
 
@@ -3211,68 +3181,60 @@ msgstr ""
3211
  msgid "Require an answer"
3212
  msgstr ""
3213
 
3214
- #: core/templates/parts/customize-checkbox.php:59
3215
- msgid "Add 'select all' choice"
3216
- msgstr ""
3217
-
3218
- #: core/templates/parts/customize-checkbox.php:64
3219
- msgid "'Select all' label"
3220
- msgstr ""
3221
-
3222
- #: core/templates/parts/customize-checkbox.php:72
3223
  #: core/templates/parts/customize-radio.php:60
3224
  #: core/templates/parts/customize-select.php:60
3225
  msgid "Add 'other' choice"
3226
  msgstr ""
3227
 
3228
- #: core/templates/parts/customize-checkbox.php:77
3229
  #: core/templates/parts/customize-radio.php:65
3230
  #: core/templates/parts/customize-select.php:66
3231
  msgid "'Other' label"
3232
  msgstr ""
3233
 
3234
- #: core/templates/parts/customize-checkbox.php:81
3235
  #: core/templates/parts/customize-radio.php:69
3236
  #: core/templates/parts/customize-select.php:70
3237
  msgid "'Other' placeholder"
3238
  msgstr ""
3239
 
3240
- #: core/templates/parts/customize-checkbox.php:88
3241
  #: core/templates/parts/customize-radio.php:76
3242
  #: core/templates/parts/customize-select.php:82
3243
  msgid "Randomize choices to prevent bias"
3244
  msgstr ""
3245
 
3246
- #: core/templates/parts/customize-checkbox.php:93
3247
  msgid "Limit choices"
3248
  msgstr ""
3249
 
3250
- #: core/templates/parts/customize-checkbox.php:98
3251
  msgid "Min choices"
3252
  msgstr ""
3253
 
3254
- #: core/templates/parts/customize-checkbox.php:102
3255
  msgid "Max choices"
3256
  msgstr ""
3257
 
3258
- #: core/templates/parts/customize-checkbox.php:107
3259
  #: core/templates/parts/customize-radio.php:80
3260
  msgid "Choices display"
3261
  msgstr ""
3262
 
3263
- #: core/templates/parts/customize-checkbox.php:109
3264
  #: core/templates/parts/customize-radio.php:82
3265
  msgid "Horizontal"
3266
  msgstr ""
3267
 
3268
- #: core/templates/parts/customize-checkbox.php:110
3269
  #: core/templates/parts/customize-radio.php:83
3270
  msgid "Vertical"
3271
  msgstr ""
3272
 
3273
- #: core/templates/parts/customize-checkbox.php:119
3274
  #: core/templates/parts/customize-email.php:58
3275
- #: core/templates/parts/customize-multi-line-text.php:77
3276
  #: core/templates/parts/customize-number.php:81
3277
  #: core/templates/parts/customize-radio.php:90
3278
  #: core/templates/parts/customize-select.php:89
@@ -3280,32 +3242,32 @@ msgstr ""
3280
  msgid "Additional CSS class(es)"
3281
  msgstr ""
3282
 
3283
- #: core/templates/parts/customize-checkbox.php:141
3284
  #: core/templates/parts/customize-radio.php:114
3285
  #: core/templates/parts/customize-select.php:113
3286
  msgid "Make this choice default"
3287
  msgstr ""
3288
 
3289
- #: core/templates/parts/customize-checkbox.php:144
3290
  #: core/templates/parts/customize-radio.php:117
3291
  #: core/templates/parts/customize-select.php:116
3292
- #: inc/classes/class-happyforms.php:148
3293
  msgid "Limit submissions"
3294
  msgstr ""
3295
 
3296
- #: core/templates/parts/customize-checkbox.php:148
3297
  #: core/templates/parts/customize-radio.php:121
3298
  #: core/templates/parts/customize-select.php:120
3299
  msgid "Max submissions"
3300
  msgstr ""
3301
 
3302
- #: core/templates/parts/customize-checkbox.php:152
3303
  #: core/templates/parts/customize-radio.php:125
3304
  #: core/templates/parts/customize-select.php:124
3305
  msgid "Show remaining submissions"
3306
  msgstr ""
3307
 
3308
- #: core/templates/parts/customize-checkbox.php:158
3309
  #: core/templates/parts/customize-radio.php:131
3310
  #: core/templates/parts/customize-select.php:130
3311
  msgid "More"
@@ -3342,10 +3304,6 @@ msgstr ""
3342
  msgid "Count"
3343
  msgstr ""
3344
 
3345
- #: core/templates/parts/customize-multi-line-text.php:68
3346
- msgid "Add rich-text editor toolbar"
3347
- msgstr ""
3348
-
3349
  #: core/templates/parts/customize-number.php:36
3350
  msgid "Min number"
3351
  msgstr ""
@@ -3370,64 +3328,59 @@ msgstr ""
3370
  msgid "Click to edit this part."
3371
  msgstr ""
3372
 
3373
- #: inc/classes/class-happyforms.php:110
3374
  msgid "Upgrade"
3375
  msgstr ""
3376
 
3377
- #: inc/classes/class-happyforms.php:124
3378
  msgid "Use reCAPTCHA"
3379
  msgstr ""
3380
 
3381
- #: inc/classes/class-happyforms.php:130
3382
  msgid "Save incomplete and abandoned submissions"
3383
  msgstr ""
3384
 
3385
- #: inc/classes/class-happyforms.php:136
3386
  msgid "Let respondents save a draft submission and come back to it later"
3387
  msgstr ""
3388
 
3389
- #: inc/classes/class-happyforms.php:142
3390
  msgid "Require respondents to review a submission before submitting"
3391
  msgstr ""
3392
 
3393
- #: inc/classes/class-happyforms.php:154
3394
  msgid "Store replies and attachments in database"
3395
  msgstr ""
3396
 
3397
- #: inc/classes/class-happyforms.php:160
3398
  msgid "Capture user metadata (IP, language, platform, time and timezone)"
3399
  msgstr ""
3400
 
3401
- #: inc/classes/class-happyforms.php:166
3402
  msgid "Show an error message if field contains words in Disallowed Comment Keys"
3403
  msgstr ""
3404
 
3405
- #: inc/classes/class-happyforms.php:176
3406
  msgid "Include reply link"
3407
  msgstr ""
3408
 
3409
- #: inc/classes/class-happyforms.php:182
3410
  msgid "Include referral web address"
3411
  msgstr ""
3412
 
3413
- #: inc/classes/class-happyforms.php:188
3414
- #: inc/classes/class-happyforms.php:200
3415
  msgid "Attach .pdf"
3416
  msgstr ""
3417
 
3418
- #: inc/classes/class-happyforms.php:194
3419
  msgid "To email address"
3420
  msgstr ""
3421
 
3422
- #: inc/classes/class-happyforms.php:206
3423
  msgid "Send abandonment email"
3424
  msgstr ""
3425
 
3426
- #: inc/classes/class-happyforms.php:394
3427
- #: inc/classes/class-happyforms.php:412
3428
- msgid "Build your own WordPress form with Happyforms"
3429
- msgstr ""
3430
-
3431
  #: inc/classes/class-message-admin.php:59
3432
  msgid "Contact"
3433
  msgstr ""
@@ -3460,12 +3413,12 @@ msgstr ""
3460
  msgid "Spam"
3461
  msgstr ""
3462
 
3463
- #: inc/classes/class-message-controller.php:586
3464
- #: inc/classes/class-message-controller.php:587
3465
  msgid "All Activity"
3466
  msgstr ""
3467
 
3468
- #: inc/classes/class-message-controller.php:588
3469
  msgid "No activity found."
3470
  msgstr ""
3471
 
@@ -3735,15 +3688,15 @@ msgstr ""
3735
  #: integrations/templates/widget-integromat-dummy.php:8
3736
  #: integrations/templates/widget-mailchimp-dummy.php:8
3737
  #: integrations/templates/widget-mailerlite-dummy.php:8
3738
- #: integrations/templates/widget-paypal-dummy.php:15
3739
- #: integrations/templates/widget-paypal-dummy.php:22
3740
- #: integrations/templates/widget-recaptcha-dummy.php:15
3741
  #: integrations/templates/widget-recaptcha-dummy.php:22
 
3742
  #: integrations/templates/widget-sendfox-dummy.php:8
3743
  #: integrations/templates/widget-sendgrid-dummy.php:8
3744
  #: integrations/templates/widget-sendinblue-dummy.php:8
3745
- #: integrations/templates/widget-stripe-dummy.php:15
3746
  #: integrations/templates/widget-stripe-dummy.php:22
 
3747
  #: integrations/templates/widget-zapier-dummy.php:8
3748
  msgid "Show credentials"
3749
  msgstr ""
@@ -3761,15 +3714,15 @@ msgstr ""
3761
  #: integrations/templates/widget-integromat-dummy.php:8
3762
  #: integrations/templates/widget-mailchimp-dummy.php:8
3763
  #: integrations/templates/widget-mailerlite-dummy.php:8
3764
- #: integrations/templates/widget-paypal-dummy.php:15
3765
- #: integrations/templates/widget-paypal-dummy.php:22
3766
- #: integrations/templates/widget-recaptcha-dummy.php:15
3767
  #: integrations/templates/widget-recaptcha-dummy.php:22
 
3768
  #: integrations/templates/widget-sendfox-dummy.php:8
3769
  #: integrations/templates/widget-sendgrid-dummy.php:8
3770
  #: integrations/templates/widget-sendinblue-dummy.php:8
3771
- #: integrations/templates/widget-stripe-dummy.php:15
3772
  #: integrations/templates/widget-stripe-dummy.php:22
 
3773
  #: integrations/templates/widget-zapier-dummy.php:8
3774
  msgid "Hide credentials"
3775
  msgstr ""
@@ -3798,12 +3751,12 @@ msgstr ""
3798
  #: integrations/templates/widget-integromat-dummy.php:16
3799
  #: integrations/templates/widget-mailchimp-dummy.php:16
3800
  #: integrations/templates/widget-mailerlite-dummy.php:16
3801
- #: integrations/templates/widget-paypal-dummy.php:32
3802
- #: integrations/templates/widget-recaptcha-dummy.php:32
3803
  #: integrations/templates/widget-sendfox-dummy.php:16
3804
  #: integrations/templates/widget-sendgrid-dummy.php:16
3805
  #: integrations/templates/widget-sendinblue-dummy.php:16
3806
- #: integrations/templates/widget-stripe-dummy.php:32
3807
  #: integrations/templates/widget-zapier-dummy.php:16
3808
  msgid "Save Changes"
3809
  msgstr ""
@@ -3825,28 +3778,42 @@ msgid "MailPoet plugin must first be installed and activated to use this integra
3825
  msgstr ""
3826
 
3827
  #: integrations/templates/widget-paypal-dummy.php:4
 
3828
  #: integrations/templates/widget-stripe-dummy.php:4
3829
  msgid "Mode"
3830
  msgstr ""
3831
 
 
 
 
 
 
3832
  #: integrations/templates/widget-paypal-dummy.php:12
 
 
 
 
3833
  msgid "Client ID"
3834
  msgstr ""
3835
 
3836
- #: integrations/templates/widget-paypal-dummy.php:19
3837
  msgid "Client secret"
3838
  msgstr ""
3839
 
3840
- #: integrations/templates/widget-recaptcha-dummy.php:4
3841
- msgid "Service"
3842
  msgstr ""
3843
 
3844
  #: integrations/templates/widget-recaptcha-dummy.php:12
3845
- msgid "Site key"
3846
  msgstr ""
3847
 
3848
  #: integrations/templates/widget-recaptcha-dummy.php:19
3849
- #: integrations/templates/widget-stripe-dummy.php:19
 
 
 
 
3850
  msgid "Secret key"
3851
  msgstr ""
3852
 
@@ -3857,6 +3824,10 @@ msgid "Personal access token"
3857
  msgstr ""
3858
 
3859
  #: integrations/templates/widget-stripe-dummy.php:12
 
 
 
 
3860
  msgid "Publishable key"
3861
  msgstr ""
3862
 
@@ -3884,67 +3855,62 @@ msgstr ""
3884
  msgid "Delete Data and Deactivate Plugin"
3885
  msgstr ""
3886
 
3887
- #: inc/assets/jsx/build/admin/dashboard-modals.js:280
3888
- #: inc/assets/jsx/src/admin/dashboard-modals.js:47
3889
  msgid "Welcome to Happyforms"
3890
  msgstr ""
3891
 
3892
- #: inc/assets/jsx/build/admin/dashboard-modals.js:280
3893
- #: inc/assets/jsx/src/admin/dashboard-modals.js:48
3894
  msgid "We'll send you a few emails each month about plugin updates. And don't sweat it, you can unsubscribe anytime."
3895
  msgstr ""
3896
 
3897
- #: inc/assets/jsx/build/admin/dashboard-modals.js:292
3898
- #: inc/assets/jsx/src/admin/dashboard-modals.js:55
3899
- msgid "Yes, I want to help support the free plugin by adding a powered by link in the footer of my forms and emails."
3900
- msgstr ""
3901
-
3902
- #: inc/assets/jsx/build/admin/dashboard-modals.js:297
3903
- #: inc/assets/jsx/src/admin/dashboard-modals.js:60
3904
  msgid "Continue"
3905
  msgstr ""
3906
 
3907
- #: inc/assets/jsx/build/admin/dashboard-modals.js:322
3908
- #: inc/assets/jsx/src/admin/dashboard-modals.js:93
3909
  msgid "Start with a free 7-day trial"
3910
  msgstr ""
3911
 
3912
- #: inc/assets/jsx/build/admin/dashboard-modals.js:324
3913
- #: inc/assets/jsx/src/admin/dashboard-modals.js:96
3914
  msgid "You're just a mouse click and a few key taps away from building better forms for your site. And don't sweat it, you can upgrade, downgrade or cancel your trial anytime."
3915
  msgstr ""
3916
 
3917
- #: inc/assets/jsx/build/admin/dashboard-modals.js:324
3918
- #: inc/assets/jsx/src/admin/dashboard-modals.js:98
3919
  msgid "Advanced features and integrations"
3920
  msgstr ""
3921
 
3922
- #: inc/assets/jsx/build/admin/dashboard-modals.js:324
3923
- #: inc/assets/jsx/src/admin/dashboard-modals.js:99
3924
  msgid "Help from the friendliest support team around"
3925
  msgstr ""
3926
 
3927
- #: inc/assets/jsx/build/admin/dashboard-modals.js:324
3928
- #: inc/assets/jsx/src/admin/dashboard-modals.js:100
3929
  msgid "Automatically transfer over your free forms"
3930
  msgstr ""
3931
 
3932
- #: inc/assets/jsx/build/admin/dashboard-modals.js:324
3933
- #: inc/assets/jsx/src/admin/dashboard-modals.js:101
3934
  msgid "New goodies released every second week"
3935
  msgstr ""
3936
 
3937
- #: inc/assets/jsx/build/admin/dashboard-modals.js:324
3938
- #: inc/assets/jsx/src/admin/dashboard-modals.js:103
3939
  msgid "So whattaya say? Ready to build better forms today?"
3940
  msgstr ""
3941
 
3942
- #: inc/assets/jsx/build/admin/dashboard-modals.js:330
3943
- #: inc/assets/jsx/src/admin/dashboard-modals.js:107
3944
  msgid "Start a Free 7-day Trial"
3945
  msgstr ""
3946
 
3947
- #: inc/assets/jsx/build/admin/dashboard-modals.js:334
3948
- #: inc/assets/jsx/src/admin/dashboard-modals.js:108
3949
  msgid "Nope, Maybe Later"
3950
  msgstr ""
2
  # This file is distributed under the same license as the Happyforms (free) plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Happyforms (free) 1.14.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/happyforms/\n"
7
  "Last-Translator: The Theme Foundry\n"
8
  "Language-Team: The Theme Foundry\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-01-24T13:04:47+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: happyforms\n"
168
  msgstr ""
169
 
170
  #: core/classes/class-form-email.php:96
171
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:280
172
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:49
173
  msgid "Email address"
174
  msgstr ""
175
 
213
  msgstr ""
214
 
215
  #: core/classes/class-form-messages.php:35
216
+ #: core/classes/parts/class-part-multi-line-text.php:74
217
  #: core/templates/parts/customize-multi-line-text.php:58
218
  msgid "Max words"
219
  msgstr ""
220
 
221
  #: core/classes/class-form-messages.php:39
222
+ #: core/classes/parts/class-part-multi-line-text.php:70
223
  #: core/templates/parts/customize-multi-line-text.php:61
224
  msgid "Min characters"
225
  msgstr ""
402
  msgstr ""
403
 
404
  #: core/classes/class-form-shuffle.php:43
405
+ #: inc/classes/class-happyforms.php:113
406
  msgid "Randomize fields to prevent bias"
407
  msgstr ""
408
 
409
+ #: core/classes/class-form-styles.php:54
410
  msgid "Left-to-right"
411
  msgstr ""
412
 
413
+ #: core/classes/class-form-styles.php:55
414
  msgid "Right-to-left"
415
  msgstr ""
416
 
417
+ #: core/classes/class-form-styles.php:74
418
+ #: core/classes/class-form-styles.php:148
419
+ #: core/classes/class-form-styles.php:158
420
+ #: core/classes/class-form-styles.php:272
421
  #: core/classes/class-form-styles.php:282
 
422
  msgid "Default"
423
  msgstr ""
424
 
425
+ #: core/classes/class-form-styles.php:75
426
+ #: core/classes/class-form-styles.php:147
427
+ #: core/classes/class-form-styles.php:157
428
+ #: core/classes/class-form-styles.php:281
429
  msgid "Narrow"
430
  msgstr ""
431
 
432
+ #: core/classes/class-form-styles.php:76
433
+ #: core/classes/class-form-styles.php:149
434
+ #: core/classes/class-form-styles.php:159
435
+ #: core/classes/class-form-styles.php:283
436
  msgid "Wide"
437
  msgstr ""
438
 
439
+ #: core/classes/class-form-styles.php:90
440
+ #: core/classes/class-form-styles.php:119
441
+ #: core/classes/class-form-styles.php:253
442
+ #: core/templates/parts/customize-checkbox.php:10
443
+ #: core/templates/parts/customize-email.php:10
444
+ #: core/templates/parts/customize-multi-line-text.php:10
445
+ #: core/templates/parts/customize-number.php:10
446
+ #: core/templates/parts/customize-radio.php:10
447
+ #: core/templates/parts/customize-select.php:10
448
+ #: core/templates/parts/customize-single-line-text.php:10
449
  msgid "Show"
450
  msgstr ""
451
 
452
+ #: core/classes/class-form-styles.php:91
453
+ #: core/classes/class-form-styles.php:120
454
+ #: core/classes/class-form-styles.php:254
455
+ #: core/templates/parts/customize-checkbox.php:14
456
+ #: core/templates/parts/customize-email.php:14
457
+ #: core/templates/parts/customize-multi-line-text.php:14
458
+ #: core/templates/parts/customize-number.php:14
459
+ #: core/templates/parts/customize-radio.php:14
460
+ #: core/templates/parts/customize-select.php:14
461
+ #: core/templates/parts/customize-single-line-text.php:14
462
  msgid "Hide"
463
  msgstr ""
464
 
465
+ #: core/classes/class-form-styles.php:99
466
+ #: core/classes/class-form-styles.php:173
467
+ #: core/classes/class-form-styles.php:204
468
+ #: core/classes/class-form-styles.php:213
469
+ #: core/classes/class-form-styles.php:233
470
+ #: core/classes/class-form-styles.php:310
471
+ msgid "Left"
472
+ msgstr ""
473
+
474
  #: core/classes/class-form-styles.php:100
475
  #: core/classes/class-form-styles.php:174
 
476
  #: core/classes/class-form-styles.php:214
477
+ #: core/classes/class-form-styles.php:234
478
+ #: core/classes/class-form-styles.php:311
479
+ msgid "Center"
 
 
 
 
 
 
 
480
  msgstr ""
481
 
482
  #: core/classes/class-form-styles.php:101
483
  #: core/classes/class-form-styles.php:175
484
  #: core/classes/class-form-styles.php:215
485
+ #: core/classes/class-form-styles.php:235
486
+ #: core/classes/class-form-styles.php:312
 
 
 
 
 
 
 
 
487
  msgid "Right"
488
  msgstr ""
489
 
490
+ #: core/classes/class-form-styles.php:128
491
  msgid "All sides"
492
  msgstr ""
493
 
494
+ #: core/classes/class-form-styles.php:129
495
  msgid "Bottom only"
496
  msgstr ""
497
 
498
+ #: core/classes/class-form-styles.php:137
499
+ #: core/classes/class-form-styles.php:262
500
  msgid "Square"
501
  msgstr ""
502
 
503
+ #: core/classes/class-form-styles.php:138
504
+ #: core/classes/class-form-styles.php:263
505
  msgid "Round"
506
  msgstr ""
507
 
508
+ #: core/classes/class-form-styles.php:139
509
+ #: core/classes/class-form-styles.php:264
510
  msgid "Pill"
511
  msgstr ""
512
 
513
+ #: core/classes/class-form-styles.php:193
514
+ #: core/classes/class-form-styles.php:301
515
  msgid "Normal"
516
  msgstr ""
517
 
518
+ #: core/classes/class-form-styles.php:194
519
+ #: core/classes/class-form-styles.php:302
520
  msgid "Bold"
521
  msgstr ""
522
 
523
+ #: core/classes/class-form-styles.php:202
524
  msgid "Above"
525
  msgstr ""
526
 
527
+ #: core/classes/class-form-styles.php:203
 
 
 
 
 
 
 
528
  msgid "Below"
529
  msgstr ""
530
 
531
+ #: core/classes/class-form-styles.php:205
532
  msgid "Hidden"
533
  msgstr ""
534
 
535
+ #: core/classes/class-form-styles.php:273
 
 
 
 
 
 
 
 
536
  msgid "Full width"
537
  msgstr ""
538
 
539
+ #: core/classes/class-form-styles.php:536
540
  msgid "General"
541
  msgstr ""
542
 
543
+ #: core/classes/class-form-styles.php:541
544
+ #: core/classes/class-form-styles.php:851
545
  #: core/templates/partials/customize-field-width.php:2
546
  msgid "Width"
547
  msgstr ""
548
 
549
+ #: core/classes/class-form-styles.php:546
550
+ #: core/classes/class-form-styles.php:856
551
  msgid "Padding"
552
  msgstr ""
553
 
554
+ #: core/classes/class-form-styles.php:551
555
  msgid "Direction"
556
  msgstr ""
557
 
558
+ #: core/classes/class-form-styles.php:557
559
+ #: core/classes/class-form-styles.php:642
560
+ #: core/classes/class-form-styles.php:712
561
+ #: core/classes/class-form-styles.php:882
562
  msgid "Colors"
563
  msgstr ""
564
 
565
+ #: core/classes/class-form-styles.php:561
566
  msgid "Primary"
567
  msgstr ""
568
 
569
+ #: core/classes/class-form-styles.php:566
570
  msgid "Success message background"
571
  msgstr ""
572
 
573
+ #: core/classes/class-form-styles.php:571
574
  msgid "Success message text"
575
  msgstr ""
576
 
577
+ #: core/classes/class-form-styles.php:576
578
  msgid "Validation message text"
579
  msgstr ""
580
 
581
+ #: core/classes/class-form-styles.php:581
582
  msgid "Error message background"
583
  msgstr ""
584
 
585
+ #: core/classes/class-form-styles.php:586
586
  msgid "Error message text"
587
  msgstr ""
588
 
589
+ #: core/classes/class-form-styles.php:591
590
  #: inc/classes/parts/class-part-title-dummy.php:8
591
  msgid "Title"
592
  msgstr ""
593
 
594
+ #: core/classes/class-form-styles.php:596
595
  msgid "Display"
596
  msgstr ""
597
 
598
+ #: core/classes/class-form-styles.php:601
599
+ #: core/classes/class-form-styles.php:871
600
  msgid "Alignment"
601
  msgstr ""
602
 
603
+ #: core/classes/class-form-styles.php:606
604
+ #: core/classes/class-form-styles.php:861
605
  msgid "Font size"
606
  msgstr ""
607
 
608
+ #: core/classes/class-form-styles.php:611
609
  msgid "Field borders & spacing"
610
  msgstr ""
611
 
612
+ #: core/classes/class-form-styles.php:616
613
+ #: core/classes/class-form-styles.php:646
614
+ #: core/classes/class-form-styles.php:841
615
+ #: core/classes/class-form-styles.php:896
616
  msgid "Border"
617
  msgstr ""
618
 
619
+ #: core/classes/class-form-styles.php:621
620
  msgid "Border location"
621
  msgstr ""
622
 
623
+ #: core/classes/class-form-styles.php:626
624
+ #: core/classes/class-form-styles.php:846
625
  msgid "Border radius"
626
  msgstr ""
627
 
628
+ #: core/classes/class-form-styles.php:631
629
  msgid "Outer spacing"
630
  msgstr ""
631
 
632
+ #: core/classes/class-form-styles.php:636
633
  msgid "Inner spacing"
634
  msgstr ""
635
 
636
+ #: core/classes/class-form-styles.php:651
637
  msgid "Border on focus"
638
  msgstr ""
639
 
640
+ #: core/classes/class-form-styles.php:656
641
+ #: core/classes/class-form-styles.php:746
642
+ #: core/classes/class-form-styles.php:771
643
+ #: core/classes/class-form-styles.php:886
644
  msgid "Background"
645
  msgstr ""
646
 
647
+ #: core/classes/class-form-styles.php:661
648
+ #: core/classes/class-form-styles.php:756
649
+ #: core/classes/class-form-styles.php:776
650
+ #: core/classes/class-form-styles.php:891
651
  msgid "Background on focus"
652
  msgstr ""
653
 
654
+ #: core/classes/class-form-styles.php:666
655
  msgid "Field labels & text"
656
  msgstr ""
657
 
658
+ #: core/classes/class-form-styles.php:671
659
  msgid "Toggle placeholder on field focus"
660
  msgstr ""
661
 
662
+ #: core/classes/class-form-styles.php:676
663
  msgid "Label alignment"
664
  msgstr ""
665
 
666
+ #: core/classes/class-form-styles.php:681
667
  msgid "Label font size"
668
  msgstr ""
669
 
670
+ #: core/classes/class-form-styles.php:686
671
  msgid "Label font weight"
672
  msgstr ""
673
 
674
+ #: core/classes/class-form-styles.php:691
675
  msgid "Hint alignment"
676
  msgstr ""
677
 
678
+ #: core/classes/class-form-styles.php:696
679
  msgid "Hint font size"
680
  msgstr ""
681
 
682
+ #: core/classes/class-form-styles.php:701
 
 
 
 
683
  msgid "Placeholder &amp; value alignment"
684
  msgstr ""
685
 
686
+ #: core/classes/class-form-styles.php:706
687
  msgid "Value font size"
688
  msgstr ""
689
 
690
+ #: core/classes/class-form-styles.php:716
691
  #: core/templates/parts/customize-checkbox.php:4
692
+ #: core/templates/parts/customize-checkbox.php:124
693
  #: core/templates/parts/customize-email.php:4
694
  #: core/templates/parts/customize-multi-line-text.php:4
695
  #: core/templates/parts/customize-number.php:4
701
  msgid "Label"
702
  msgstr ""
703
 
704
+ #: core/classes/class-form-styles.php:721
705
  msgid "Value"
706
  msgstr ""
707
 
708
+ #: core/classes/class-form-styles.php:726
709
  #: core/templates/parts/customize-email.php:20
710
  #: core/templates/parts/customize-multi-line-text.php:20
711
  #: core/templates/parts/customize-number.php:20
714
  msgid "Placeholder"
715
  msgstr ""
716
 
717
+ #: core/classes/class-form-styles.php:731
718
  #: core/templates/parts/customize-checkbox.php:20
719
  #: core/templates/parts/customize-email.php:28
720
  #: core/templates/parts/customize-multi-line-text.php:28
725
  msgid "Hint"
726
  msgstr ""
727
 
728
+ #: core/classes/class-form-styles.php:736
729
  msgid "Dropdowns"
730
  msgstr ""
731
 
732
+ #: core/classes/class-form-styles.php:742
733
  msgid "Items"
734
  msgstr ""
735
 
736
+ #: core/classes/class-form-styles.php:751
737
+ #: core/classes/class-form-styles.php:901
738
  #: core/classes/parts/class-part-single-line-text.php:8
739
  msgid "Text"
740
  msgstr ""
741
 
742
+ #: core/classes/class-form-styles.php:761
743
  msgid "Text focused"
744
  msgstr ""
745
 
746
+ #: core/classes/class-form-styles.php:766
747
  msgid "Checkboxes & Radios"
748
  msgstr ""
749
 
750
+ #: core/classes/class-form-styles.php:781
751
  msgid "Checkmark"
752
  msgstr ""
753
 
754
+ #: core/classes/class-form-styles.php:786
755
  msgid "Rating"
756
  msgstr ""
757
 
758
+ #: core/classes/class-form-styles.php:791
759
  msgid "Rating star color"
760
  msgstr ""
761
 
762
+ #: core/classes/class-form-styles.php:796
763
  msgid "Rating star color on hover"
764
  msgstr ""
765
 
766
+ #: core/classes/class-form-styles.php:801
767
  msgid "Tables"
768
  msgstr ""
769
 
770
+ #: core/classes/class-form-styles.php:806
771
  msgid "Odd row primary"
772
  msgstr ""
773
 
774
+ #: core/classes/class-form-styles.php:811
775
  msgid "Odd row secondary"
776
  msgstr ""
777
 
778
+ #: core/classes/class-form-styles.php:816
779
  msgid "Even row primary"
780
  msgstr ""
781
 
782
+ #: core/classes/class-form-styles.php:821
783
  msgid "Even row secondary"
784
  msgstr ""
785
 
786
+ #: core/classes/class-form-styles.php:826
787
  msgid "Dividers"
788
  msgstr ""
789
 
790
+ #: core/classes/class-form-styles.php:831
791
  msgid "Color"
792
  msgstr ""
793
 
794
+ #: core/classes/class-form-styles.php:836
795
  msgid "Submit button"
796
  msgstr ""
797
 
798
+ #: core/classes/class-form-styles.php:866
799
  msgid "Font weight"
800
  msgstr ""
801
 
802
+ #: core/classes/class-form-styles.php:876
803
  msgid "Make button a field of last input"
804
  msgstr ""
805
 
806
+ #: core/classes/class-form-styles.php:906
807
  msgid "Text on focus"
808
  msgstr ""
809
 
810
+ #: core/classes/class-form-styles.php:918
811
  msgid "Add your own CSS code here to customize the appearance of your form."
812
  msgstr ""
813
 
814
+ #: core/classes/class-form-styles.php:920
815
  msgid "For each rule you add, we'll prepend your form's HTML ID. This makes sure all styles added will only apply to this form. For example %s becomes %s."
816
  msgstr ""
817
 
818
+ #: core/classes/class-form-styles.php:928
819
  msgid "The edit field automatically highlights code syntax. You can disable this in your <a href=\"%s\" class=\"%s\" target=\"_blank\">user profile</a> to work in plain text mode."
820
  msgstr ""
821
 
822
+ #: core/classes/class-form-styles.php:936
823
+ #: core/classes/class-form-styles.php:946
824
  msgid "Additional CSS"
825
  msgstr ""
826
 
827
  #: core/classes/class-happyforms-core.php:209
828
  #: core/classes/class-happyforms-core.php:210
829
+ #: inc/classes/class-message-controller.php:543
830
+ #: inc/classes/class-message-controller.php:544
831
  msgid "Activity"
832
  msgstr ""
833
 
912
  msgstr ""
913
 
914
  #: core/classes/parts/class-part-checkbox.php:81
 
 
 
 
915
  #: core/classes/parts/class-part-radio.php:82
916
  #: core/classes/parts/class-part-select.php:80
917
  msgid "Other"
1071
  msgid "I agree to the storage and handling of my data by this website"
1072
  msgstr ""
1073
 
1074
+ #: core/helpers/helper-form-templates.php:46
1075
  msgid "Leave this field blank"
1076
  msgstr ""
1077
 
1078
+ #: core/helpers/helper-form-templates.php:965
1079
  msgid "January"
1080
  msgstr ""
1081
 
1082
+ #: core/helpers/helper-form-templates.php:966
1083
  msgid "February"
1084
  msgstr ""
1085
 
1086
+ #: core/helpers/helper-form-templates.php:967
1087
  msgid "March"
1088
  msgstr ""
1089
 
1090
+ #: core/helpers/helper-form-templates.php:968
1091
  msgid "April"
1092
  msgstr ""
1093
 
1094
+ #: core/helpers/helper-form-templates.php:969
1095
  msgid "May"
1096
  msgstr ""
1097
 
1098
+ #: core/helpers/helper-form-templates.php:970
1099
  msgid "June"
1100
  msgstr ""
1101
 
1102
+ #: core/helpers/helper-form-templates.php:971
1103
  msgid "July"
1104
  msgstr ""
1105
 
1106
+ #: core/helpers/helper-form-templates.php:972
1107
  msgid "August"
1108
  msgstr ""
1109
 
1110
+ #: core/helpers/helper-form-templates.php:973
1111
  msgid "September"
1112
  msgstr ""
1113
 
1114
+ #: core/helpers/helper-form-templates.php:974
1115
  msgid "October"
1116
  msgstr ""
1117
 
1118
+ #: core/helpers/helper-form-templates.php:975
1119
  msgid "November"
1120
  msgstr ""
1121
 
1122
+ #: core/helpers/helper-form-templates.php:976
1123
  msgid "December"
1124
  msgstr ""
1125
 
1126
+ #: core/helpers/helper-form-templates.php:1017
1127
  msgid "Ascension Island"
1128
  msgstr ""
1129
 
1130
+ #: core/helpers/helper-form-templates.php:1018
1131
  #: core/helpers/helper-misc.php:228
1132
  msgid "Andorra"
1133
  msgstr ""
1134
 
1135
+ #: core/helpers/helper-form-templates.php:1019
1136
  #: core/helpers/helper-misc.php:446
1137
  msgid "United Arab Emirates"
1138
  msgstr ""
1139
 
1140
+ #: core/helpers/helper-form-templates.php:1020
1141
  #: core/helpers/helper-misc.php:224
1142
  msgid "Afghanistan"
1143
  msgstr ""
1144
 
1145
+ #: core/helpers/helper-form-templates.php:1021
1146
  #: core/helpers/helper-misc.php:232
1147
  msgid "Antigua and Barbuda"
1148
  msgstr ""
1149
 
1150
+ #: core/helpers/helper-form-templates.php:1022
1151
  #: core/helpers/helper-misc.php:230
1152
  msgid "Anguilla"
1153
  msgstr ""
1154
 
1155
+ #: core/helpers/helper-form-templates.php:1023
1156
  #: core/helpers/helper-misc.php:225
1157
  msgid "Albania"
1158
  msgstr ""
1159
 
1160
+ #: core/helpers/helper-form-templates.php:1024
1161
  #: core/helpers/helper-misc.php:234
1162
  msgid "Armenia"
1163
  msgstr ""
1164
 
1165
+ #: core/helpers/helper-form-templates.php:1025
1166
  #: core/helpers/helper-misc.php:229
1167
  msgid "Angola"
1168
  msgstr ""
1169
 
1170
+ #: core/helpers/helper-form-templates.php:1026
1171
  #: core/helpers/helper-misc.php:233
1172
  msgid "Argentina"
1173
  msgstr ""
1174
 
1175
+ #: core/helpers/helper-form-templates.php:1027
1176
  #: core/helpers/helper-misc.php:227
1177
  msgid "American Samoa"
1178
  msgstr ""
1179
 
1180
+ #: core/helpers/helper-form-templates.php:1028
1181
  #: core/helpers/helper-misc.php:237
1182
  msgid "Austria"
1183
  msgstr ""
1184
 
1185
+ #: core/helpers/helper-form-templates.php:1029
1186
  #: core/helpers/helper-misc.php:236
1187
  msgid "Australia"
1188
  msgstr ""
1189
 
1190
+ #: core/helpers/helper-form-templates.php:1030
1191
  #: core/helpers/helper-misc.php:235
1192
  msgid "Aruba"
1193
  msgstr ""
1194
 
1195
+ #: core/helpers/helper-form-templates.php:1031
1196
  msgid "Åland Islands"
1197
  msgstr ""
1198
 
1199
+ #: core/helpers/helper-form-templates.php:1032
1200
  #: core/helpers/helper-misc.php:238
1201
  msgid "Azerbaijan"
1202
  msgstr ""
1203
 
1204
+ #: core/helpers/helper-form-templates.php:1033
1205
  msgid "Bosnia and Herzegovina"
1206
  msgstr ""
1207
 
1208
+ #: core/helpers/helper-form-templates.php:1034
1209
  #: core/helpers/helper-misc.php:242
1210
  msgid "Barbados"
1211
  msgstr ""
1212
 
1213
+ #: core/helpers/helper-form-templates.php:1035
1214
  #: core/helpers/helper-misc.php:241
1215
  msgid "Bangladesh"
1216
  msgstr ""
1217
 
1218
+ #: core/helpers/helper-form-templates.php:1036
1219
  #: core/helpers/helper-misc.php:244
1220
  msgid "Belgium"
1221
  msgstr ""
1222
 
1223
+ #: core/helpers/helper-form-templates.php:1037
1224
  #: core/helpers/helper-misc.php:257
1225
  msgid "Burkina Faso"
1226
  msgstr ""
1227
 
1228
+ #: core/helpers/helper-form-templates.php:1038
1229
  #: core/helpers/helper-misc.php:256
1230
  msgid "Bulgaria"
1231
  msgstr ""
1232
 
1233
+ #: core/helpers/helper-form-templates.php:1039
1234
  #: core/helpers/helper-misc.php:240
1235
  msgid "Bahrain"
1236
  msgstr ""
1237
 
1238
+ #: core/helpers/helper-form-templates.php:1040
1239
  #: core/helpers/helper-misc.php:258
1240
  msgid "Burundi"
1241
  msgstr ""
1242
 
1243
+ #: core/helpers/helper-form-templates.php:1041
1244
  #: core/helpers/helper-misc.php:246
1245
  msgid "Benin"
1246
  msgstr ""
1247
 
1248
+ #: core/helpers/helper-form-templates.php:1042
1249
  msgid "Saint Barthélemy"
1250
  msgstr ""
1251
 
1252
+ #: core/helpers/helper-form-templates.php:1043
1253
  #: core/helpers/helper-misc.php:247
1254
  msgid "Bermuda"
1255
  msgstr ""
1256
 
1257
+ #: core/helpers/helper-form-templates.php:1044
1258
  #: core/helpers/helper-misc.php:255
1259
  msgid "Brunei Darussalam"
1260
  msgstr ""
1261
 
1262
+ #: core/helpers/helper-form-templates.php:1045
1263
  #: core/helpers/helper-misc.php:249
1264
  msgid "Bolivia"
1265
  msgstr ""
1266
 
1267
+ #: core/helpers/helper-form-templates.php:1046
1268
  msgid "Bonaire, Sint Eustatius and Saba"
1269
  msgstr ""
1270
 
1271
+ #: core/helpers/helper-form-templates.php:1047
1272
  #: core/helpers/helper-misc.php:253
1273
  msgid "Brazil"
1274
  msgstr ""
1275
 
1276
+ #: core/helpers/helper-form-templates.php:1048
1277
  #: core/helpers/helper-misc.php:239
1278
  msgid "Bahamas"
1279
  msgstr ""
1280
 
1281
+ #: core/helpers/helper-form-templates.php:1049
1282
  #: core/helpers/helper-misc.php:248
1283
  msgid "Bhutan"
1284
  msgstr ""
1285
 
1286
+ #: core/helpers/helper-form-templates.php:1050
1287
  #: core/helpers/helper-misc.php:251
1288
  msgid "Botswana"
1289
  msgstr ""
1290
 
1291
+ #: core/helpers/helper-form-templates.php:1051
1292
  #: core/helpers/helper-misc.php:243
1293
  msgid "Belarus"
1294
  msgstr ""
1295
 
1296
+ #: core/helpers/helper-form-templates.php:1052
1297
  #: core/helpers/helper-misc.php:245
1298
  msgid "Belize"
1299
  msgstr ""
1300
 
1301
+ #: core/helpers/helper-form-templates.php:1053
1302
  #: core/helpers/helper-misc.php:261
1303
  msgid "Canada"
1304
  msgstr ""
1305
 
1306
+ #: core/helpers/helper-form-templates.php:1054
1307
  #: core/helpers/helper-misc.php:269
1308
  msgid "Cocos (Keeling) Islands"
1309
  msgstr ""
1310
 
1311
+ #: core/helpers/helper-form-templates.php:1055
1312
  #: core/helpers/helper-misc.php:273
1313
  msgid "Congo, the Democratic Republic of the"
1314
  msgstr ""
1315
 
1316
+ #: core/helpers/helper-form-templates.php:1056
1317
  #: core/helpers/helper-misc.php:264
1318
  msgid "Central African Republic"
1319
  msgstr ""
1320
 
1321
+ #: core/helpers/helper-form-templates.php:1057
1322
  #: core/helpers/helper-misc.php:272
1323
  msgid "Congo"
1324
  msgstr ""
1325
 
1326
+ #: core/helpers/helper-form-templates.php:1058
1327
  #: core/helpers/helper-misc.php:429
1328
  msgid "Switzerland"
1329
  msgstr ""
1330
 
1331
+ #: core/helpers/helper-form-templates.php:1059
1332
  msgid "Cote D'Ivoire"
1333
  msgstr ""
1334
 
1335
+ #: core/helpers/helper-form-templates.php:1060
1336
  #: core/helpers/helper-misc.php:274
1337
  msgid "Cook Islands"
1338
  msgstr ""
1339
 
1340
+ #: core/helpers/helper-form-templates.php:1061
1341
  #: core/helpers/helper-misc.php:266
1342
  msgid "Chile"
1343
  msgstr ""
1344
 
1345
+ #: core/helpers/helper-form-templates.php:1062
1346
  #: core/helpers/helper-misc.php:260
1347
  msgid "Cameroon"
1348
  msgstr ""
1349
 
1350
+ #: core/helpers/helper-form-templates.php:1063
1351
  #: core/helpers/helper-misc.php:267
1352
  msgid "China"
1353
  msgstr ""
1354
 
1355
+ #: core/helpers/helper-form-templates.php:1064
1356
  #: core/helpers/helper-misc.php:270
1357
  msgid "Colombia"
1358
  msgstr ""
1359
 
1360
+ #: core/helpers/helper-form-templates.php:1065
1361
  #: core/helpers/helper-misc.php:275
1362
  msgid "Costa Rica"
1363
  msgstr ""
1364
 
1365
+ #: core/helpers/helper-form-templates.php:1066
1366
  #: core/helpers/helper-misc.php:278
1367
  msgid "Cuba"
1368
  msgstr ""
1369
 
1370
+ #: core/helpers/helper-form-templates.php:1067
1371
  #: core/helpers/helper-misc.php:262
1372
  msgid "Cape Verde"
1373
  msgstr ""
1374
 
1375
+ #: core/helpers/helper-form-templates.php:1068
1376
  msgid "Curaçao"
1377
  msgstr ""
1378
 
1379
+ #: core/helpers/helper-form-templates.php:1069
1380
  #: core/helpers/helper-misc.php:268
1381
  msgid "Christmas Island"
1382
  msgstr ""
1383
 
1384
+ #: core/helpers/helper-form-templates.php:1070
1385
  #: core/helpers/helper-misc.php:279
1386
  msgid "Cyprus"
1387
  msgstr ""
1388
 
1389
+ #: core/helpers/helper-form-templates.php:1071
1390
  #: core/helpers/helper-misc.php:280
1391
  msgid "Czech Republic"
1392
  msgstr ""
1393
 
1394
+ #: core/helpers/helper-form-templates.php:1072
1395
  #: core/helpers/helper-misc.php:305
1396
  msgid "Germany"
1397
  msgstr ""
1398
 
1399
+ #: core/helpers/helper-form-templates.php:1073
1400
  #: core/helpers/helper-misc.php:282
1401
  msgid "Djibouti"
1402
  msgstr ""
1403
 
1404
+ #: core/helpers/helper-form-templates.php:1074
1405
  #: core/helpers/helper-misc.php:281
1406
  msgid "Denmark"
1407
  msgstr ""
1408
 
1409
+ #: core/helpers/helper-form-templates.php:1075
1410
  #: core/helpers/helper-misc.php:283
1411
  msgid "Dominica"
1412
  msgstr ""
1413
 
1414
+ #: core/helpers/helper-form-templates.php:1076
1415
  #: core/helpers/helper-misc.php:284
1416
  msgid "Dominican Republic"
1417
  msgstr ""
1418
 
1419
+ #: core/helpers/helper-form-templates.php:1077
1420
  #: core/helpers/helper-misc.php:226
1421
  msgid "Algeria"
1422
  msgstr ""
1423
 
1424
+ #: core/helpers/helper-form-templates.php:1078
1425
  #: core/helpers/helper-misc.php:286
1426
  msgid "Ecuador"
1427
  msgstr ""
1428
 
1429
+ #: core/helpers/helper-form-templates.php:1079
1430
  #: core/helpers/helper-misc.php:291
1431
  msgid "Estonia"
1432
  msgstr ""
1433
 
1434
+ #: core/helpers/helper-form-templates.php:1080
1435
  #: core/helpers/helper-misc.php:287
1436
  msgid "Egypt"
1437
  msgstr ""
1438
 
1439
+ #: core/helpers/helper-form-templates.php:1081
1440
  #: core/helpers/helper-misc.php:458
1441
  msgid "Western Sahara"
1442
  msgstr ""
1443
 
1444
+ #: core/helpers/helper-form-templates.php:1082
1445
  #: core/helpers/helper-misc.php:290
1446
  msgid "Eritrea"
1447
  msgstr ""
1448
 
1449
+ #: core/helpers/helper-form-templates.php:1083
1450
  #: core/helpers/helper-misc.php:420
1451
  msgid "Spain"
1452
  msgstr ""
1453
 
1454
+ #: core/helpers/helper-form-templates.php:1084
1455
  #: core/helpers/helper-misc.php:292
1456
  msgid "Ethiopia"
1457
  msgstr ""
1458
 
1459
+ #: core/helpers/helper-form-templates.php:1085
1460
  #: core/helpers/helper-misc.php:296
1461
  msgid "Finland"
1462
  msgstr ""
1463
 
1464
+ #: core/helpers/helper-form-templates.php:1086
1465
  #: core/helpers/helper-misc.php:295
1466
  msgid "Fiji"
1467
  msgstr ""
1468
 
1469
+ #: core/helpers/helper-form-templates.php:1087
1470
  #: core/helpers/helper-misc.php:293
1471
  msgid "Falkland Islands (Malvinas)"
1472
  msgstr ""
1473
 
1474
+ #: core/helpers/helper-form-templates.php:1088
1475
  #: core/helpers/helper-misc.php:364
1476
  msgid "Micronesia, Federated States of"
1477
  msgstr ""
1478
 
1479
+ #: core/helpers/helper-form-templates.php:1089
1480
  #: core/helpers/helper-misc.php:294
1481
  msgid "Faroe Islands"
1482
  msgstr ""
1483
 
1484
+ #: core/helpers/helper-form-templates.php:1090
1485
  #: core/helpers/helper-misc.php:297
1486
  msgid "France"
1487
  msgstr ""
1488
 
1489
+ #: core/helpers/helper-form-templates.php:1091
1490
  #: core/helpers/helper-misc.php:302
1491
  msgid "Gabon"
1492
  msgstr ""
1493
 
1494
+ #: core/helpers/helper-form-templates.php:1092
1495
  #: core/helpers/helper-misc.php:447
1496
  msgid "United Kingdom"
1497
  msgstr ""
1498
 
1499
+ #: core/helpers/helper-form-templates.php:1093
1500
  #: core/helpers/helper-misc.php:310
1501
  msgid "Grenada"
1502
  msgstr ""
1503
 
1504
+ #: core/helpers/helper-form-templates.php:1094
1505
  #: core/helpers/helper-misc.php:304
1506
  msgid "Georgia"
1507
  msgstr ""
1508
 
1509
+ #: core/helpers/helper-form-templates.php:1095
1510
  #: core/helpers/helper-misc.php:299
1511
  msgid "French Guiana"
1512
  msgstr ""
1513
 
1514
+ #: core/helpers/helper-form-templates.php:1096
1515
  msgid "Guernsey"
1516
  msgstr ""
1517
 
1518
+ #: core/helpers/helper-form-templates.php:1097
1519
  #: core/helpers/helper-misc.php:306
1520
  msgid "Ghana"
1521
  msgstr ""
1522
 
1523
+ #: core/helpers/helper-form-templates.php:1098
1524
  #: core/helpers/helper-misc.php:307
1525
  msgid "Gibraltar"
1526
  msgstr ""
1527
 
1528
+ #: core/helpers/helper-form-templates.php:1099
1529
  #: core/helpers/helper-misc.php:309
1530
  msgid "Greenland"
1531
  msgstr ""
1532
 
1533
+ #: core/helpers/helper-form-templates.php:1100
1534
  #: core/helpers/helper-misc.php:303
1535
  msgid "Gambia"
1536
  msgstr ""
1537
 
1538
+ #: core/helpers/helper-form-templates.php:1101
1539
  #: core/helpers/helper-misc.php:314
1540
  msgid "Guinea"
1541
  msgstr ""
1542
 
1543
+ #: core/helpers/helper-form-templates.php:1102
1544
  #: core/helpers/helper-misc.php:311
1545
  msgid "Guadeloupe"
1546
  msgstr ""
1547
 
1548
+ #: core/helpers/helper-form-templates.php:1103
1549
  #: core/helpers/helper-misc.php:289
1550
  msgid "Equatorial Guinea"
1551
  msgstr ""
1552
 
1553
+ #: core/helpers/helper-form-templates.php:1104
1554
  #: core/helpers/helper-misc.php:308
1555
  msgid "Greece"
1556
  msgstr ""
1557
 
1558
+ #: core/helpers/helper-form-templates.php:1105
1559
  #: core/helpers/helper-misc.php:313
1560
  msgid "Guatemala"
1561
  msgstr ""
1562
 
1563
+ #: core/helpers/helper-form-templates.php:1106
1564
  #: core/helpers/helper-misc.php:312
1565
  msgid "Guam"
1566
  msgstr ""
1567
 
1568
+ #: core/helpers/helper-form-templates.php:1107
1569
  #: core/helpers/helper-misc.php:315
1570
  msgid "Guinea-Bissau"
1571
  msgstr ""
1572
 
1573
+ #: core/helpers/helper-form-templates.php:1108
1574
  #: core/helpers/helper-misc.php:316
1575
  msgid "Guyana"
1576
  msgstr ""
1577
 
1578
+ #: core/helpers/helper-form-templates.php:1109
1579
  #: core/helpers/helper-misc.php:321
1580
  msgid "Hong Kong"
1581
  msgstr ""
1582
 
1583
+ #: core/helpers/helper-form-templates.php:1110
1584
  #: core/helpers/helper-misc.php:320
1585
  msgid "Honduras"
1586
  msgstr ""
1587
 
1588
+ #: core/helpers/helper-form-templates.php:1111
1589
  msgid "Croatia"
1590
  msgstr ""
1591
 
1592
+ #: core/helpers/helper-form-templates.php:1112
1593
  #: core/helpers/helper-misc.php:317
1594
  msgid "Haiti"
1595
  msgstr ""
1596
 
1597
+ #: core/helpers/helper-form-templates.php:1113
1598
  #: core/helpers/helper-misc.php:322
1599
  msgid "Hungary"
1600
  msgstr ""
1601
 
1602
+ #: core/helpers/helper-form-templates.php:1114
1603
  #: core/helpers/helper-misc.php:325
1604
  msgid "Indonesia"
1605
  msgstr ""
1606
 
1607
+ #: core/helpers/helper-form-templates.php:1115
1608
  #: core/helpers/helper-misc.php:328
1609
  msgid "Ireland"
1610
  msgstr ""
1611
 
1612
+ #: core/helpers/helper-form-templates.php:1116
1613
  #: core/helpers/helper-misc.php:329
1614
  msgid "Israel"
1615
  msgstr ""
1616
 
1617
+ #: core/helpers/helper-form-templates.php:1117
1618
  msgid "Isle of Man"
1619
  msgstr ""
1620
 
1621
+ #: core/helpers/helper-form-templates.php:1118
1622
  #: core/helpers/helper-misc.php:324
1623
  msgid "India"
1624
  msgstr ""
1625
 
1626
+ #: core/helpers/helper-form-templates.php:1119
1627
  #: core/helpers/helper-misc.php:254
1628
  msgid "British Indian Ocean Territory"
1629
  msgstr ""
1630
 
1631
+ #: core/helpers/helper-form-templates.php:1120
1632
  #: core/helpers/helper-misc.php:327
1633
  msgid "Iraq"
1634
  msgstr ""
1635
 
1636
+ #: core/helpers/helper-form-templates.php:1121
1637
  msgid "Iran, Islamic Republic of"
1638
  msgstr ""
1639
 
1640
+ #: core/helpers/helper-form-templates.php:1122
1641
  #: core/helpers/helper-misc.php:323
1642
  msgid "Iceland"
1643
  msgstr ""
1644
 
1645
+ #: core/helpers/helper-form-templates.php:1123
1646
  #: core/helpers/helper-misc.php:330
1647
  msgid "Italy"
1648
  msgstr ""
1649
 
1650
+ #: core/helpers/helper-form-templates.php:1124
1651
  msgid "Jersey"
1652
  msgstr ""
1653
 
1654
+ #: core/helpers/helper-form-templates.php:1125
1655
  #: core/helpers/helper-misc.php:331
1656
  msgid "Jamaica"
1657
  msgstr ""
1658
 
1659
+ #: core/helpers/helper-form-templates.php:1126
1660
  #: core/helpers/helper-misc.php:333
1661
  msgid "Jordan"
1662
  msgstr ""
1663
 
1664
+ #: core/helpers/helper-form-templates.php:1127
1665
  #: core/helpers/helper-misc.php:332
1666
  msgid "Japan"
1667
  msgstr ""
1668
 
1669
+ #: core/helpers/helper-form-templates.php:1128
1670
  #: core/helpers/helper-misc.php:335
1671
  msgid "Kenya"
1672
  msgstr ""
1673
 
1674
+ #: core/helpers/helper-form-templates.php:1129
1675
  #: core/helpers/helper-misc.php:340
1676
  msgid "Kyrgyzstan"
1677
  msgstr ""
1678
 
1679
+ #: core/helpers/helper-form-templates.php:1130
1680
  #: core/helpers/helper-misc.php:259
1681
  msgid "Cambodia"
1682
  msgstr ""
1683
 
1684
+ #: core/helpers/helper-form-templates.php:1131
1685
  #: core/helpers/helper-misc.php:336
1686
  msgid "Kiribati"
1687
  msgstr ""
1688
 
1689
+ #: core/helpers/helper-form-templates.php:1132
1690
  #: core/helpers/helper-misc.php:271
1691
  msgid "Comoros"
1692
  msgstr ""
1693
 
1694
+ #: core/helpers/helper-form-templates.php:1133
1695
  #: core/helpers/helper-misc.php:403
1696
  msgid "Saint Kitts and Nevis"
1697
  msgstr ""
1698
 
1699
+ #: core/helpers/helper-form-templates.php:1134
1700
  msgid "North Korea"
1701
  msgstr ""
1702
 
1703
+ #: core/helpers/helper-form-templates.php:1135
1704
  msgid "South Korea"
1705
  msgstr ""
1706
 
1707
+ #: core/helpers/helper-form-templates.php:1136
1708
  #: core/helpers/helper-misc.php:339
1709
  msgid "Kuwait"
1710
  msgstr ""
1711
 
1712
+ #: core/helpers/helper-form-templates.php:1137
1713
  #: core/helpers/helper-misc.php:263
1714
  msgid "Cayman Islands"
1715
  msgstr ""
1716
 
1717
+ #: core/helpers/helper-form-templates.php:1138
1718
  #: core/helpers/helper-misc.php:334
1719
  msgid "Kazakhstan"
1720
  msgstr ""
1721
 
1722
+ #: core/helpers/helper-form-templates.php:1139
1723
  msgid "Lao People's Democratic Republic"
1724
  msgstr ""
1725
 
1726
+ #: core/helpers/helper-form-templates.php:1140
1727
  #: core/helpers/helper-misc.php:343
1728
  msgid "Lebanon"
1729
  msgstr ""
1730
 
1731
+ #: core/helpers/helper-form-templates.php:1141
1732
  #: core/helpers/helper-misc.php:404
1733
  msgid "Saint Lucia"
1734
  msgstr ""
1735
 
1736
+ #: core/helpers/helper-form-templates.php:1142
1737
  #: core/helpers/helper-misc.php:347
1738
  msgid "Liechtenstein"
1739
  msgstr ""
1740
 
1741
+ #: core/helpers/helper-form-templates.php:1143
1742
  #: core/helpers/helper-misc.php:421
1743
  msgid "Sri Lanka"
1744
  msgstr ""
1745
 
1746
+ #: core/helpers/helper-form-templates.php:1144
1747
  #: core/helpers/helper-misc.php:345
1748
  msgid "Liberia"
1749
  msgstr ""
1750
 
1751
+ #: core/helpers/helper-form-templates.php:1145
1752
  #: core/helpers/helper-misc.php:344
1753
  msgid "Lesotho"
1754
  msgstr ""
1755
 
1756
+ #: core/helpers/helper-form-templates.php:1146
1757
  #: core/helpers/helper-misc.php:348
1758
  msgid "Lithuania"
1759
  msgstr ""
1760
 
1761
+ #: core/helpers/helper-form-templates.php:1147
1762
  #: core/helpers/helper-misc.php:349
1763
  msgid "Luxembourg"
1764
  msgstr ""
1765
 
1766
+ #: core/helpers/helper-form-templates.php:1148
1767
  #: core/helpers/helper-misc.php:342
1768
  msgid "Latvia"
1769
  msgstr ""
1770
 
1771
+ #: core/helpers/helper-form-templates.php:1149
1772
  msgid "Libya"
1773
  msgstr ""
1774
 
1775
+ #: core/helpers/helper-form-templates.php:1150
1776
  #: core/helpers/helper-misc.php:369
1777
  msgid "Morocco"
1778
  msgstr ""
1779
 
1780
+ #: core/helpers/helper-form-templates.php:1151
1781
  #: core/helpers/helper-misc.php:366
1782
  msgid "Monaco"
1783
  msgstr ""
1784
 
1785
+ #: core/helpers/helper-form-templates.php:1152
1786
  #: core/helpers/helper-misc.php:365
1787
  msgid "Moldova, Republic of"
1788
  msgstr ""
1789
 
1790
+ #: core/helpers/helper-form-templates.php:1153
1791
  msgid "Montenegro"
1792
  msgstr ""
1793
 
1794
+ #: core/helpers/helper-form-templates.php:1154
1795
  msgid "Saint Martin (French part)"
1796
  msgstr ""
1797
 
1798
+ #: core/helpers/helper-form-templates.php:1155
1799
  #: core/helpers/helper-misc.php:352
1800
  msgid "Madagascar"
1801
  msgstr ""
1802
 
1803
+ #: core/helpers/helper-form-templates.php:1156
1804
  #: core/helpers/helper-misc.php:358
1805
  msgid "Marshall Islands"
1806
  msgstr ""
1807
 
1808
+ #: core/helpers/helper-form-templates.php:1157
1809
  msgid "North Macedonia, Republic of"
1810
  msgstr ""
1811
 
1812
+ #: core/helpers/helper-form-templates.php:1158
1813
  #: core/helpers/helper-misc.php:356
1814
  msgid "Mali"
1815
  msgstr ""
1816
 
1817
+ #: core/helpers/helper-form-templates.php:1159
1818
  #: core/helpers/helper-misc.php:371
1819
  msgid "Myanmar"
1820
  msgstr ""
1821
 
1822
+ #: core/helpers/helper-form-templates.php:1160
1823
  #: core/helpers/helper-misc.php:367
1824
  msgid "Mongolia"
1825
  msgstr ""
1826
 
1827
+ #: core/helpers/helper-form-templates.php:1161
1828
  msgid "Macao"
1829
  msgstr ""
1830
 
1831
+ #: core/helpers/helper-form-templates.php:1162
1832
  #: core/helpers/helper-misc.php:384
1833
  msgid "Northern Mariana Islands"
1834
  msgstr ""
1835
 
1836
+ #: core/helpers/helper-form-templates.php:1163
1837
  #: core/helpers/helper-misc.php:359
1838
  msgid "Martinique"
1839
  msgstr ""
1840
 
1841
+ #: core/helpers/helper-form-templates.php:1164
1842
  #: core/helpers/helper-misc.php:360
1843
  msgid "Mauritania"
1844
  msgstr ""
1845
 
1846
+ #: core/helpers/helper-form-templates.php:1165
1847
  #: core/helpers/helper-misc.php:368
1848
  msgid "Montserrat"
1849
  msgstr ""
1850
 
1851
+ #: core/helpers/helper-form-templates.php:1166
1852
  #: core/helpers/helper-misc.php:357
1853
  msgid "Malta"
1854
  msgstr ""
1855
 
1856
+ #: core/helpers/helper-form-templates.php:1167
1857
  #: core/helpers/helper-misc.php:361
1858
  msgid "Mauritius"
1859
  msgstr ""
1860
 
1861
+ #: core/helpers/helper-form-templates.php:1168
1862
  #: core/helpers/helper-misc.php:355
1863
  msgid "Maldives"
1864
  msgstr ""
1865
 
1866
+ #: core/helpers/helper-form-templates.php:1169
1867
  #: core/helpers/helper-misc.php:353
1868
  msgid "Malawi"
1869
  msgstr ""
1870
 
1871
+ #: core/helpers/helper-form-templates.php:1170
1872
  #: core/helpers/helper-misc.php:363
1873
  msgid "Mexico"
1874
  msgstr ""
1875
 
1876
+ #: core/helpers/helper-form-templates.php:1171
1877
  #: core/helpers/helper-misc.php:354
1878
  msgid "Malaysia"
1879
  msgstr ""
1880
 
1881
+ #: core/helpers/helper-form-templates.php:1172
1882
  #: core/helpers/helper-misc.php:370
1883
  msgid "Mozambique"
1884
  msgstr ""
1885
 
1886
+ #: core/helpers/helper-form-templates.php:1173
1887
  #: core/helpers/helper-misc.php:372
1888
  msgid "Namibia"
1889
  msgstr ""
1890
 
1891
+ #: core/helpers/helper-form-templates.php:1174
1892
  #: core/helpers/helper-misc.php:377
1893
  msgid "New Caledonia"
1894
  msgstr ""
1895
 
1896
+ #: core/helpers/helper-form-templates.php:1175
1897
  #: core/helpers/helper-misc.php:380
1898
  msgid "Niger"
1899
  msgstr ""
1900
 
1901
+ #: core/helpers/helper-form-templates.php:1176
1902
  #: core/helpers/helper-misc.php:383
1903
  msgid "Norfolk Island"
1904
  msgstr ""
1905
 
1906
+ #: core/helpers/helper-form-templates.php:1177
1907
  #: core/helpers/helper-misc.php:381
1908
  msgid "Nigeria"
1909
  msgstr ""
1910
 
1911
+ #: core/helpers/helper-form-templates.php:1178
1912
  #: core/helpers/helper-misc.php:379
1913
  msgid "Nicaragua"
1914
  msgstr ""
1915
 
1916
+ #: core/helpers/helper-form-templates.php:1179
1917
  #: core/helpers/helper-misc.php:375
1918
  msgid "Netherlands"
1919
  msgstr ""
1920
 
1921
+ #: core/helpers/helper-form-templates.php:1180
1922
  #: core/helpers/helper-misc.php:385
1923
  msgid "Norway"
1924
  msgstr ""
1925
 
1926
+ #: core/helpers/helper-form-templates.php:1181
1927
  #: core/helpers/helper-misc.php:374
1928
  msgid "Nepal"
1929
  msgstr ""
1930
 
1931
+ #: core/helpers/helper-form-templates.php:1182
1932
  #: core/helpers/helper-misc.php:373
1933
  msgid "Nauru"
1934
  msgstr ""
1935
 
1936
+ #: core/helpers/helper-form-templates.php:1183
1937
  #: core/helpers/helper-misc.php:382
1938
  msgid "Niue"
1939
  msgstr ""
1940
 
1941
+ #: core/helpers/helper-form-templates.php:1184
1942
  #: core/helpers/helper-misc.php:378
1943
  msgid "New Zealand"
1944
  msgstr ""
1945
 
1946
+ #: core/helpers/helper-form-templates.php:1185
1947
  #: core/helpers/helper-misc.php:386
1948
  msgid "Oman"
1949
  msgstr ""
1950
 
1951
+ #: core/helpers/helper-form-templates.php:1186
1952
  #: core/helpers/helper-misc.php:389
1953
  msgid "Panama"
1954
  msgstr ""
1955
 
1956
+ #: core/helpers/helper-form-templates.php:1187
1957
  #: core/helpers/helper-misc.php:392
1958
  msgid "Peru"
1959
  msgstr ""
1960
 
1961
+ #: core/helpers/helper-form-templates.php:1188
1962
  #: core/helpers/helper-misc.php:300
1963
  msgid "French Polynesia"
1964
  msgstr ""
1965
 
1966
+ #: core/helpers/helper-form-templates.php:1189
1967
  #: core/helpers/helper-misc.php:390
1968
  msgid "Papua New Guinea"
1969
  msgstr ""
1970
 
1971
+ #: core/helpers/helper-form-templates.php:1190
1972
  #: core/helpers/helper-misc.php:393
1973
  msgid "Philippines"
1974
  msgstr ""
1975
 
1976
+ #: core/helpers/helper-form-templates.php:1191
1977
  #: core/helpers/helper-misc.php:387
1978
  msgid "Pakistan"
1979
  msgstr ""
1980
 
1981
+ #: core/helpers/helper-form-templates.php:1192
1982
  #: core/helpers/helper-misc.php:395
1983
  msgid "Poland"
1984
  msgstr ""
1985
 
1986
+ #: core/helpers/helper-form-templates.php:1193
1987
  msgid "Saint Pierre and Miquelon"
1988
  msgstr ""
1989
 
1990
+ #: core/helpers/helper-form-templates.php:1194
1991
  #: core/helpers/helper-misc.php:397
1992
  msgid "Puerto Rico"
1993
  msgstr ""
1994
 
1995
+ #: core/helpers/helper-form-templates.php:1195
1996
  msgid "Palestinian Territory, Occupied"
1997
  msgstr ""
1998
 
1999
+ #: core/helpers/helper-form-templates.php:1196
2000
  #: core/helpers/helper-misc.php:396
2001
  msgid "Portugal"
2002
  msgstr ""
2003
 
2004
+ #: core/helpers/helper-form-templates.php:1197
2005
  #: core/helpers/helper-misc.php:388
2006
  msgid "Palau"
2007
  msgstr ""
2008
 
2009
+ #: core/helpers/helper-form-templates.php:1198
2010
  #: core/helpers/helper-misc.php:391
2011
  msgid "Paraguay"
2012
  msgstr ""
2013
 
2014
+ #: core/helpers/helper-form-templates.php:1199
2015
  #: core/helpers/helper-misc.php:398
2016
  msgid "Qatar"
2017
  msgstr ""
2018
 
2019
+ #: core/helpers/helper-form-templates.php:1200
2020
  #: core/helpers/helper-misc.php:399
2021
  msgid "Reunion"
2022
  msgstr ""
2023
 
2024
+ #: core/helpers/helper-form-templates.php:1201
2025
  #: core/helpers/helper-misc.php:400
2026
  msgid "Romania"
2027
  msgstr ""
2028
 
2029
+ #: core/helpers/helper-form-templates.php:1202
2030
  msgid "Serbia"
2031
  msgstr ""
2032
 
2033
+ #: core/helpers/helper-form-templates.php:1203
2034
  #: core/helpers/helper-misc.php:401
2035
  msgid "Russian Federation"
2036
  msgstr ""
2037
 
2038
+ #: core/helpers/helper-form-templates.php:1204
2039
  #: core/helpers/helper-misc.php:402
2040
  msgid "Rwanda"
2041
  msgstr ""
2042
 
2043
+ #: core/helpers/helper-form-templates.php:1205
2044
  #: core/helpers/helper-misc.php:409
2045
  msgid "Saudi Arabia"
2046
  msgstr ""
2047
 
2048
+ #: core/helpers/helper-form-templates.php:1206
2049
  #: core/helpers/helper-misc.php:416
2050
  msgid "Solomon Islands"
2051
  msgstr ""
2052
 
2053
+ #: core/helpers/helper-form-templates.php:1207
2054
  #: core/helpers/helper-misc.php:411
2055
  msgid "Seychelles"
2056
  msgstr ""
2057
 
2058
+ #: core/helpers/helper-form-templates.php:1208
2059
  #: core/helpers/helper-misc.php:424
2060
  msgid "Sudan"
2061
  msgstr ""
2062
 
2063
+ #: core/helpers/helper-form-templates.php:1209
2064
  #: core/helpers/helper-misc.php:428
2065
  msgid "Sweden"
2066
  msgstr ""
2067
 
2068
+ #: core/helpers/helper-form-templates.php:1210
2069
  #: core/helpers/helper-misc.php:413
2070
  msgid "Singapore"
2071
  msgstr ""
2072
 
2073
+ #: core/helpers/helper-form-templates.php:1211
2074
+ #: core/helpers/helper-form-templates.php:1226
2075
  msgid "Saint Helena"
2076
  msgstr ""
2077
 
2078
+ #: core/helpers/helper-form-templates.php:1212
2079
  #: core/helpers/helper-misc.php:415
2080
  msgid "Slovenia"
2081
  msgstr ""
2082
 
2083
+ #: core/helpers/helper-form-templates.php:1213
2084
  msgid "Svalbard and Jan Mayen"
2085
  msgstr ""
2086
 
2087
+ #: core/helpers/helper-form-templates.php:1214
2088
  msgid "Slovakia"
2089
  msgstr ""
2090
 
2091
+ #: core/helpers/helper-form-templates.php:1215
2092
  #: core/helpers/helper-misc.php:412
2093
  msgid "Sierra Leone"
2094
  msgstr ""
2095
 
2096
+ #: core/helpers/helper-form-templates.php:1216
2097
  #: core/helpers/helper-misc.php:407
2098
  msgid "San Marino"
2099
  msgstr ""
2100
 
2101
+ #: core/helpers/helper-form-templates.php:1217
2102
  #: core/helpers/helper-misc.php:410
2103
  msgid "Senegal"
2104
  msgstr ""
2105
 
2106
+ #: core/helpers/helper-form-templates.php:1218
2107
  #: core/helpers/helper-misc.php:417
2108
  msgid "Somalia"
2109
  msgstr ""
2110
 
2111
+ #: core/helpers/helper-form-templates.php:1219
2112
  #: core/helpers/helper-misc.php:425
2113
  msgid "Suriname"
2114
  msgstr ""
2115
 
2116
+ #: core/helpers/helper-form-templates.php:1220
2117
  msgid "South Sudan"
2118
  msgstr ""
2119
 
2120
+ #: core/helpers/helper-form-templates.php:1221
2121
  #: core/helpers/helper-misc.php:408
2122
  msgid "Sao Tome and Principe"
2123
  msgstr ""
2124
 
2125
+ #: core/helpers/helper-form-templates.php:1222
2126
  #: core/helpers/helper-misc.php:288
2127
  msgid "El Salvador"
2128
  msgstr ""
2129
 
2130
+ #: core/helpers/helper-form-templates.php:1223
2131
  msgid "Sint Maarten (Dutch part)"
2132
  msgstr ""
2133
 
2134
+ #: core/helpers/helper-form-templates.php:1224
2135
  #: core/helpers/helper-misc.php:430
2136
  msgid "Syrian Arab Republic"
2137
  msgstr ""
2138
 
2139
+ #: core/helpers/helper-form-templates.php:1225
2140
  msgid "Eswatini"
2141
  msgstr ""
2142
 
2143
+ #: core/helpers/helper-form-templates.php:1227
2144
  #: core/helpers/helper-misc.php:442
2145
  msgid "Turks and Caicos Islands"
2146
  msgstr ""
2147
 
2148
+ #: core/helpers/helper-form-templates.php:1228
2149
  #: core/helpers/helper-misc.php:265
2150
  msgid "Chad"
2151
  msgstr ""
2152
 
2153
+ #: core/helpers/helper-form-templates.php:1229
2154
  #: core/helpers/helper-misc.php:435
2155
  msgid "Togo"
2156
  msgstr ""
2157
 
2158
+ #: core/helpers/helper-form-templates.php:1230
2159
  #: core/helpers/helper-misc.php:434
2160
  msgid "Thailand"
2161
  msgstr ""
2162
 
2163
+ #: core/helpers/helper-form-templates.php:1231
2164
  #: core/helpers/helper-misc.php:432
2165
  msgid "Tajikistan"
2166
  msgstr ""
2167
 
2168
+ #: core/helpers/helper-form-templates.php:1232
2169
  #: core/helpers/helper-misc.php:436
2170
  msgid "Tokelau"
2171
  msgstr ""
2172
 
2173
+ #: core/helpers/helper-form-templates.php:1233
2174
  msgid "Timor-Leste"
2175
  msgstr ""
2176
 
2177
+ #: core/helpers/helper-form-templates.php:1234
2178
  #: core/helpers/helper-misc.php:441
2179
  msgid "Turkmenistan"
2180
  msgstr ""
2181
 
2182
+ #: core/helpers/helper-form-templates.php:1235
2183
  #: core/helpers/helper-misc.php:439
2184
  msgid "Tunisia"
2185
  msgstr ""
2186
 
2187
+ #: core/helpers/helper-form-templates.php:1236
2188
  #: core/helpers/helper-misc.php:437
2189
  msgid "Tonga"
2190
  msgstr ""
2191
 
2192
+ #: core/helpers/helper-form-templates.php:1237
2193
  #: core/helpers/helper-misc.php:440
2194
  msgid "Turkey"
2195
  msgstr ""
2196
 
2197
+ #: core/helpers/helper-form-templates.php:1238
2198
  #: core/helpers/helper-misc.php:438
2199
  msgid "Trinidad and Tobago"
2200
  msgstr ""
2201
 
2202
+ #: core/helpers/helper-form-templates.php:1239
2203
  #: core/helpers/helper-misc.php:443
2204
  msgid "Tuvalu"
2205
  msgstr ""
2206
 
2207
+ #: core/helpers/helper-form-templates.php:1240
2208
  msgid "Taiwan"
2209
  msgstr ""
2210
 
2211
+ #: core/helpers/helper-form-templates.php:1241
2212
  #: core/helpers/helper-misc.php:433
2213
  msgid "Tanzania, United Republic of"
2214
  msgstr ""
2215
 
2216
+ #: core/helpers/helper-form-templates.php:1242
2217
  #: core/helpers/helper-misc.php:445
2218
  msgid "Ukraine"
2219
  msgstr ""
2220
 
2221
+ #: core/helpers/helper-form-templates.php:1243
2222
  #: core/helpers/helper-misc.php:444
2223
  msgid "Uganda"
2224
  msgstr ""
2225
 
2226
+ #: core/helpers/helper-form-templates.php:1244
2227
  msgid "United States of America"
2228
  msgstr ""
2229
 
2230
+ #: core/helpers/helper-form-templates.php:1245
2231
  #: core/helpers/helper-misc.php:450
2232
  msgid "Uruguay"
2233
  msgstr ""
2234
 
2235
+ #: core/helpers/helper-form-templates.php:1246
2236
  #: core/helpers/helper-misc.php:451
2237
  msgid "Uzbekistan"
2238
  msgstr ""
2239
 
2240
+ #: core/helpers/helper-form-templates.php:1247
2241
  #: core/helpers/helper-misc.php:319
2242
  msgid "Holy See (Vatican City State)"
2243
  msgstr ""
2244
 
2245
+ #: core/helpers/helper-form-templates.php:1248
2246
  #: core/helpers/helper-misc.php:405
2247
  msgid "Saint Vincent and the Grenadines"
2248
  msgstr ""
2249
 
2250
+ #: core/helpers/helper-form-templates.php:1249
2251
  #: core/helpers/helper-misc.php:453
2252
  msgid "Venezuela"
2253
  msgstr ""
2254
 
2255
+ #: core/helpers/helper-form-templates.php:1250
2256
  msgid "Virgin Islands, British"
2257
  msgstr ""
2258
 
2259
+ #: core/helpers/helper-form-templates.php:1251
2260
  msgid "Virgin Islands, U.S."
2261
  msgstr ""
2262
 
2263
+ #: core/helpers/helper-form-templates.php:1252
2264
  #: core/helpers/helper-misc.php:454
2265
  msgid "Vietnam"
2266
  msgstr ""
2267
 
2268
+ #: core/helpers/helper-form-templates.php:1253
2269
  #: core/helpers/helper-misc.php:452
2270
  msgid "Vanuatu"
2271
  msgstr ""
2272
 
2273
+ #: core/helpers/helper-form-templates.php:1254
2274
  msgid "Wallis and Futuna"
2275
  msgstr ""
2276
 
2277
+ #: core/helpers/helper-form-templates.php:1255
2278
  #: core/helpers/helper-misc.php:406
2279
  msgid "Samoa"
2280
  msgstr ""
2281
 
2282
+ #: core/helpers/helper-form-templates.php:1256
2283
  msgid "Kosovo"
2284
  msgstr ""
2285
 
2286
+ #: core/helpers/helper-form-templates.php:1257
2287
  #: core/helpers/helper-misc.php:459
2288
  msgid "Yemen"
2289
  msgstr ""
2290
 
2291
+ #: core/helpers/helper-form-templates.php:1258
2292
  #: core/helpers/helper-misc.php:362
2293
  msgid "Mayotte"
2294
  msgstr ""
2295
 
2296
+ #: core/helpers/helper-form-templates.php:1259
2297
  #: core/helpers/helper-misc.php:418
2298
  msgid "South Africa"
2299
  msgstr ""
2300
 
2301
+ #: core/helpers/helper-form-templates.php:1260
2302
  #: core/helpers/helper-misc.php:461
2303
  msgid "Zambia"
2304
  msgstr ""
2305
 
2306
+ #: core/helpers/helper-form-templates.php:1261
2307
  #: core/helpers/helper-misc.php:462
2308
  msgid "Zimbabwe"
2309
  msgstr ""
3004
  #: core/templates/customize-controls/setup/upsell.php:2
3005
  #: core/templates/customize-form-part-footer.php:5
3006
  #: core/templates/customize-form-parts-drawer.php:37
3007
+ #: inc/templates/customize-controls/checkbox_dummy.php:7
3008
  #: inc/templates/customize-controls/email-parts-list-dummy.php:2
3009
  msgid "Members Only"
3010
  msgstr ""
3045
 
3046
  #: core/templates/customize-form-item.php:33
3047
  #: core/templates/customize-form-part-footer.php:3
3048
+ #: core/templates/parts/customize-checkbox.php:145
3049
  #: core/templates/parts/customize-radio.php:130
3050
  #: core/templates/parts/customize-select.php:129
3051
  msgid "Delete"
3108
  msgid "Close"
3109
  msgstr ""
3110
 
3111
+ #: core/templates/partials/customize-field-width.php:6
3112
  msgid "Full"
3113
  msgstr ""
3114
 
3115
+ #: core/templates/partials/customize-field-width.php:10
3116
  msgid "Half"
3117
  msgstr ""
3118
 
3119
+ #: core/templates/partials/customize-field-width.php:14
3120
  msgid "Third"
3121
  msgstr ""
3122
 
3123
+ #: core/templates/partials/customize-field-width.php:18
3124
  msgid "Quarter"
3125
  msgstr ""
3126
 
3127
+ #: core/templates/partials/customize-field-width.php:22
3128
  msgid "Auto"
3129
  msgstr ""
3130
 
3131
+ #: core/templates/partials/customize-field-width.php:28
3132
  msgid "Apply to all fields"
3133
  msgstr ""
3134
 
3181
  msgid "Require an answer"
3182
  msgstr ""
3183
 
3184
+ #: core/templates/parts/customize-checkbox.php:60
 
 
 
 
 
 
 
 
3185
  #: core/templates/parts/customize-radio.php:60
3186
  #: core/templates/parts/customize-select.php:60
3187
  msgid "Add 'other' choice"
3188
  msgstr ""
3189
 
3190
+ #: core/templates/parts/customize-checkbox.php:65
3191
  #: core/templates/parts/customize-radio.php:65
3192
  #: core/templates/parts/customize-select.php:66
3193
  msgid "'Other' label"
3194
  msgstr ""
3195
 
3196
+ #: core/templates/parts/customize-checkbox.php:69
3197
  #: core/templates/parts/customize-radio.php:69
3198
  #: core/templates/parts/customize-select.php:70
3199
  msgid "'Other' placeholder"
3200
  msgstr ""
3201
 
3202
+ #: core/templates/parts/customize-checkbox.php:76
3203
  #: core/templates/parts/customize-radio.php:76
3204
  #: core/templates/parts/customize-select.php:82
3205
  msgid "Randomize choices to prevent bias"
3206
  msgstr ""
3207
 
3208
+ #: core/templates/parts/customize-checkbox.php:81
3209
  msgid "Limit choices"
3210
  msgstr ""
3211
 
3212
+ #: core/templates/parts/customize-checkbox.php:86
3213
  msgid "Min choices"
3214
  msgstr ""
3215
 
3216
+ #: core/templates/parts/customize-checkbox.php:90
3217
  msgid "Max choices"
3218
  msgstr ""
3219
 
3220
+ #: core/templates/parts/customize-checkbox.php:95
3221
  #: core/templates/parts/customize-radio.php:80
3222
  msgid "Choices display"
3223
  msgstr ""
3224
 
3225
+ #: core/templates/parts/customize-checkbox.php:97
3226
  #: core/templates/parts/customize-radio.php:82
3227
  msgid "Horizontal"
3228
  msgstr ""
3229
 
3230
+ #: core/templates/parts/customize-checkbox.php:98
3231
  #: core/templates/parts/customize-radio.php:83
3232
  msgid "Vertical"
3233
  msgstr ""
3234
 
3235
+ #: core/templates/parts/customize-checkbox.php:107
3236
  #: core/templates/parts/customize-email.php:58
3237
+ #: core/templates/parts/customize-multi-line-text.php:71
3238
  #: core/templates/parts/customize-number.php:81
3239
  #: core/templates/parts/customize-radio.php:90
3240
  #: core/templates/parts/customize-select.php:89
3242
  msgid "Additional CSS class(es)"
3243
  msgstr ""
3244
 
3245
+ #: core/templates/parts/customize-checkbox.php:129
3246
  #: core/templates/parts/customize-radio.php:114
3247
  #: core/templates/parts/customize-select.php:113
3248
  msgid "Make this choice default"
3249
  msgstr ""
3250
 
3251
+ #: core/templates/parts/customize-checkbox.php:132
3252
  #: core/templates/parts/customize-radio.php:117
3253
  #: core/templates/parts/customize-select.php:116
3254
+ #: inc/classes/class-happyforms.php:143
3255
  msgid "Limit submissions"
3256
  msgstr ""
3257
 
3258
+ #: core/templates/parts/customize-checkbox.php:136
3259
  #: core/templates/parts/customize-radio.php:121
3260
  #: core/templates/parts/customize-select.php:120
3261
  msgid "Max submissions"
3262
  msgstr ""
3263
 
3264
+ #: core/templates/parts/customize-checkbox.php:140
3265
  #: core/templates/parts/customize-radio.php:125
3266
  #: core/templates/parts/customize-select.php:124
3267
  msgid "Show remaining submissions"
3268
  msgstr ""
3269
 
3270
+ #: core/templates/parts/customize-checkbox.php:146
3271
  #: core/templates/parts/customize-radio.php:131
3272
  #: core/templates/parts/customize-select.php:130
3273
  msgid "More"
3304
  msgid "Count"
3305
  msgstr ""
3306
 
 
 
 
 
3307
  #: core/templates/parts/customize-number.php:36
3308
  msgid "Min number"
3309
  msgstr ""
3328
  msgid "Click to edit this part."
3329
  msgstr ""
3330
 
3331
+ #: inc/classes/class-happyforms.php:105
3332
  msgid "Upgrade"
3333
  msgstr ""
3334
 
3335
+ #: inc/classes/class-happyforms.php:119
3336
  msgid "Use reCAPTCHA"
3337
  msgstr ""
3338
 
3339
+ #: inc/classes/class-happyforms.php:125
3340
  msgid "Save incomplete and abandoned submissions"
3341
  msgstr ""
3342
 
3343
+ #: inc/classes/class-happyforms.php:131
3344
  msgid "Let respondents save a draft submission and come back to it later"
3345
  msgstr ""
3346
 
3347
+ #: inc/classes/class-happyforms.php:137
3348
  msgid "Require respondents to review a submission before submitting"
3349
  msgstr ""
3350
 
3351
+ #: inc/classes/class-happyforms.php:149
3352
  msgid "Store replies and attachments in database"
3353
  msgstr ""
3354
 
3355
+ #: inc/classes/class-happyforms.php:155
3356
  msgid "Capture user metadata (IP, language, platform, time and timezone)"
3357
  msgstr ""
3358
 
3359
+ #: inc/classes/class-happyforms.php:161
3360
  msgid "Show an error message if field contains words in Disallowed Comment Keys"
3361
  msgstr ""
3362
 
3363
+ #: inc/classes/class-happyforms.php:171
3364
  msgid "Include reply link"
3365
  msgstr ""
3366
 
3367
+ #: inc/classes/class-happyforms.php:177
3368
  msgid "Include referral web address"
3369
  msgstr ""
3370
 
3371
+ #: inc/classes/class-happyforms.php:183
3372
+ #: inc/classes/class-happyforms.php:195
3373
  msgid "Attach .pdf"
3374
  msgstr ""
3375
 
3376
+ #: inc/classes/class-happyforms.php:189
3377
  msgid "To email address"
3378
  msgstr ""
3379
 
3380
+ #: inc/classes/class-happyforms.php:201
3381
  msgid "Send abandonment email"
3382
  msgstr ""
3383
 
 
 
 
 
 
3384
  #: inc/classes/class-message-admin.php:59
3385
  msgid "Contact"
3386
  msgstr ""
3413
  msgid "Spam"
3414
  msgstr ""
3415
 
3416
+ #: inc/classes/class-message-controller.php:545
3417
+ #: inc/classes/class-message-controller.php:546
3418
  msgid "All Activity"
3419
  msgstr ""
3420
 
3421
+ #: inc/classes/class-message-controller.php:547
3422
  msgid "No activity found."
3423
  msgstr ""
3424
 
3688
  #: integrations/templates/widget-integromat-dummy.php:8
3689
  #: integrations/templates/widget-mailchimp-dummy.php:8
3690
  #: integrations/templates/widget-mailerlite-dummy.php:8
3691
+ #: integrations/templates/widget-paypal-dummy.php:21
3692
+ #: integrations/templates/widget-paypal-dummy.php:28
 
3693
  #: integrations/templates/widget-recaptcha-dummy.php:22
3694
+ #: integrations/templates/widget-recaptcha-dummy.php:29
3695
  #: integrations/templates/widget-sendfox-dummy.php:8
3696
  #: integrations/templates/widget-sendgrid-dummy.php:8
3697
  #: integrations/templates/widget-sendinblue-dummy.php:8
 
3698
  #: integrations/templates/widget-stripe-dummy.php:22
3699
+ #: integrations/templates/widget-stripe-dummy.php:29
3700
  #: integrations/templates/widget-zapier-dummy.php:8
3701
  msgid "Show credentials"
3702
  msgstr ""
3714
  #: integrations/templates/widget-integromat-dummy.php:8
3715
  #: integrations/templates/widget-mailchimp-dummy.php:8
3716
  #: integrations/templates/widget-mailerlite-dummy.php:8
3717
+ #: integrations/templates/widget-paypal-dummy.php:21
3718
+ #: integrations/templates/widget-paypal-dummy.php:28
 
3719
  #: integrations/templates/widget-recaptcha-dummy.php:22
3720
+ #: integrations/templates/widget-recaptcha-dummy.php:29
3721
  #: integrations/templates/widget-sendfox-dummy.php:8
3722
  #: integrations/templates/widget-sendgrid-dummy.php:8
3723
  #: integrations/templates/widget-sendinblue-dummy.php:8
 
3724
  #: integrations/templates/widget-stripe-dummy.php:22
3725
+ #: integrations/templates/widget-stripe-dummy.php:29
3726
  #: integrations/templates/widget-zapier-dummy.php:8
3727
  msgid "Hide credentials"
3728
  msgstr ""
3751
  #: integrations/templates/widget-integromat-dummy.php:16
3752
  #: integrations/templates/widget-mailchimp-dummy.php:16
3753
  #: integrations/templates/widget-mailerlite-dummy.php:16
3754
+ #: integrations/templates/widget-paypal-dummy.php:38
3755
+ #: integrations/templates/widget-recaptcha-dummy.php:39
3756
  #: integrations/templates/widget-sendfox-dummy.php:16
3757
  #: integrations/templates/widget-sendgrid-dummy.php:16
3758
  #: integrations/templates/widget-sendinblue-dummy.php:16
3759
+ #: integrations/templates/widget-stripe-dummy.php:39
3760
  #: integrations/templates/widget-zapier-dummy.php:16
3761
  msgid "Save Changes"
3762
  msgstr ""
3778
  msgstr ""
3779
 
3780
  #: integrations/templates/widget-paypal-dummy.php:4
3781
+ #: integrations/templates/widget-recaptcha-dummy.php:4
3782
  #: integrations/templates/widget-stripe-dummy.php:4
3783
  msgid "Mode"
3784
  msgstr ""
3785
 
3786
+ #: integrations/templates/widget-paypal-dummy.php:8
3787
+ #: integrations/templates/widget-stripe-dummy.php:8
3788
+ msgid "Live"
3789
+ msgstr ""
3790
+
3791
  #: integrations/templates/widget-paypal-dummy.php:12
3792
+ msgid "Sandbox"
3793
+ msgstr ""
3794
+
3795
+ #: integrations/templates/widget-paypal-dummy.php:18
3796
  msgid "Client ID"
3797
  msgstr ""
3798
 
3799
+ #: integrations/templates/widget-paypal-dummy.php:25
3800
  msgid "Client secret"
3801
  msgstr ""
3802
 
3803
+ #: integrations/templates/widget-recaptcha-dummy.php:8
3804
+ msgid "v2"
3805
  msgstr ""
3806
 
3807
  #: integrations/templates/widget-recaptcha-dummy.php:12
3808
+ msgid "v3"
3809
  msgstr ""
3810
 
3811
  #: integrations/templates/widget-recaptcha-dummy.php:19
3812
+ msgid "Site key"
3813
+ msgstr ""
3814
+
3815
+ #: integrations/templates/widget-recaptcha-dummy.php:26
3816
+ #: integrations/templates/widget-stripe-dummy.php:26
3817
  msgid "Secret key"
3818
  msgstr ""
3819
 
3824
  msgstr ""
3825
 
3826
  #: integrations/templates/widget-stripe-dummy.php:12
3827
+ msgid "Test"
3828
+ msgstr ""
3829
+
3830
+ #: integrations/templates/widget-stripe-dummy.php:19
3831
  msgid "Publishable key"
3832
  msgstr ""
3833
 
3855
  msgid "Delete Data and Deactivate Plugin"
3856
  msgstr ""
3857
 
3858
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:278
3859
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:45
3860
  msgid "Welcome to Happyforms"
3861
  msgstr ""
3862
 
3863
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:278
3864
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:46
3865
  msgid "We'll send you a few emails each month about plugin updates. And don't sweat it, you can unsubscribe anytime."
3866
  msgstr ""
3867
 
3868
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:290
3869
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:54
 
 
 
 
 
3870
  msgid "Continue"
3871
  msgstr ""
3872
 
3873
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:315
3874
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:87
3875
  msgid "Start with a free 7-day trial"
3876
  msgstr ""
3877
 
3878
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:317
3879
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:90
3880
  msgid "You're just a mouse click and a few key taps away from building better forms for your site. And don't sweat it, you can upgrade, downgrade or cancel your trial anytime."
3881
  msgstr ""
3882
 
3883
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:317
3884
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:92
3885
  msgid "Advanced features and integrations"
3886
  msgstr ""
3887
 
3888
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:317
3889
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:93
3890
  msgid "Help from the friendliest support team around"
3891
  msgstr ""
3892
 
3893
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:317
3894
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:94
3895
  msgid "Automatically transfer over your free forms"
3896
  msgstr ""
3897
 
3898
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:317
3899
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:95
3900
  msgid "New goodies released every second week"
3901
  msgstr ""
3902
 
3903
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:317
3904
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:97
3905
  msgid "So whattaya say? Ready to build better forms today?"
3906
  msgstr ""
3907
 
3908
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:323
3909
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:101
3910
  msgid "Start a Free 7-day Trial"
3911
  msgstr ""
3912
 
3913
+ #: inc/assets/jsx/build/admin/dashboard-modals.js:327
3914
+ #: inc/assets/jsx/src/admin/dashboard-modals.js:102
3915
  msgid "Nope, Maybe Later"
3916
  msgstr ""
readme.txt CHANGED
@@ -3,9 +3,9 @@
3
  Contributors: happyforms
4
  Tags: contact form, contact form plugin, forms, form builder, custom form, intake form, registration form, survey form, quiz form, payment form, newsletter form, giveaway form, fundraising form, donation form, nomination form, order form, questionnaire form, onboarding form, contract form, estimate form, research form, qualitative form, quantitative form, membership form, mobile form, feedback form, release form, inquiry form, request form, evaluation form, RSVP form, reservation form, sales lead form, popup form, quote form, event form, booking form, application form, agreement form, safety form, compliance form, assessment form, sponsorship form, report form, file upload form, satisfaction form
5
  Requires at least: 5.0
6
- Tested up to: 5.8
7
  Requires PHP: 7.0
8
- Stable tag: 1.13.12
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -151,6 +151,13 @@ Aw, honestly, the thought that you're writing about our contact form builder is
151
 
152
  == Changelog ==
153
 
 
 
 
 
 
 
 
154
  = 1.13.12 =
155
  * Removal: Long Text field "Rows" control has been removed.
156
  * Removal: "Add other choice" control has been deprecated.
@@ -893,6 +900,9 @@ Aw, honestly, the thought that you're writing about our contact form builder is
893
 
894
  == Upgrade Notice ==
895
 
 
 
 
896
  = 1.13.12 =
897
  * Feature deprecations.
898
 
3
  Contributors: happyforms
4
  Tags: contact form, contact form plugin, forms, form builder, custom form, intake form, registration form, survey form, quiz form, payment form, newsletter form, giveaway form, fundraising form, donation form, nomination form, order form, questionnaire form, onboarding form, contract form, estimate form, research form, qualitative form, quantitative form, membership form, mobile form, feedback form, release form, inquiry form, request form, evaluation form, RSVP form, reservation form, sales lead form, popup form, quote form, event form, booking form, application form, agreement form, safety form, compliance form, assessment form, sponsorship form, report form, file upload form, satisfaction form
5
  Requires at least: 5.0
6
+ Tested up to: 5.9
7
  Requires PHP: 7.0
8
+ Stable tag: 1.14.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
151
 
152
  == Changelog ==
153
 
154
+ = 1.14.0 =
155
+ * Improvement: Nonce checks have been removed for improved compatibility with cache plugins.
156
+ * Removal: "Tooltip" styling for field hints has been deprecated.
157
+ * Removal: "Add 'select all' choice" control has been deprecated.
158
+ * Removal: Long Text field's "Add rich text editor toolbar" control has been deprecated.
159
+ * Bugfix: Form width was rendered incorrectly on specific PHP versions.
160
+
161
  = 1.13.12 =
162
  * Removal: Long Text field "Rows" control has been removed.
163
  * Removal: "Add other choice" control has been deprecated.
900
 
901
  == Upgrade Notice ==
902
 
903
+ = 1.14.0 =
904
+ * Improved cache compatibility, feature deprecations, minor bugfixes.
905
+
906
  = 1.13.12 =
907
  * Feature deprecations.
908