Version Description
- Improvement: Various CSS tweaks to improve responsive behavior, and colors set in HappyForms style step.
- Bugfix: Number spinners in font size controls were not updating value in preview pane.
- Bugfix: Placeholder part was always showing (optional) label.
- Bugfix: Story part with no inputs was throwing an error.
Download this release
Release Info
Developer | thethemefoundry |
Plugin | Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms |
Version | 1.6.18 |
Comparing to | |
See all releases |
Code changes from version 1.6.17 to 1.6.18
- happyforms.php +2 -2
- inc/core/assets/css/frontend.css +16 -0
- inc/core/assets/js/customize.js +2 -2
- inc/core/helpers/helper-form-templates.php +5 -1
- languages/happyforms.pot +2 -2
- readme.txt +12 -3
happyforms.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin URI: https://happyforms.me
|
6 |
* Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
|
7 |
* Author: The Theme Foundry
|
8 |
-
* Version: 1.6.
|
9 |
* Author URI: https://thethemefoundry.com
|
10 |
* Upgrade URI: https://thethemefoundry.com
|
11 |
*/
|
@@ -13,7 +13,7 @@
|
|
13 |
/**
|
14 |
* The current version of the plugin.
|
15 |
*/
|
16 |
-
define( 'HAPPYFORMS_VERSION', '1.6.
|
17 |
|
18 |
if ( ! function_exists( 'happyforms_plugin_file' ) ):
|
19 |
/**
|
5 |
* Plugin URI: https://happyforms.me
|
6 |
* Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
|
7 |
* Author: The Theme Foundry
|
8 |
+
* Version: 1.6.18
|
9 |
* Author URI: https://thethemefoundry.com
|
10 |
* Upgrade URI: https://thethemefoundry.com
|
11 |
*/
|
13 |
/**
|
14 |
* The current version of the plugin.
|
15 |
*/
|
16 |
+
define( 'HAPPYFORMS_VERSION', '1.6.18' );
|
17 |
|
18 |
if ( ! function_exists( 'happyforms_plugin_file' ) ):
|
19 |
/**
|
inc/core/assets/css/frontend.css
CHANGED
@@ -83,6 +83,10 @@
|
|
83 |
direction: rtl;
|
84 |
}
|
85 |
|
|
|
|
|
|
|
|
|
86 |
h3.happyforms-form__title {
|
87 |
margin: 0;
|
88 |
padding: 0 1%;
|
@@ -1131,6 +1135,10 @@ h3.happyforms-form__title {
|
|
1131 |
padding: 10px 0;
|
1132 |
}
|
1133 |
|
|
|
|
|
|
|
|
|
1134 |
.happyforms-part--placeholder p {
|
1135 |
font-size: 16px;
|
1136 |
color: #000;
|
@@ -1775,6 +1783,7 @@ form .happyforms-flex > .happyforms-message-notices .happyforms-message-notice {
|
|
1775 |
padding: 25px;
|
1776 |
border: 3px solid;
|
1777 |
background-color: transparent;
|
|
|
1778 |
color: var(--happyforms-color-primary);
|
1779 |
}
|
1780 |
|
@@ -2436,6 +2445,13 @@ form .happyforms-flex > .happyforms-message-notices .error {
|
|
2436 |
padding: 5px 0;
|
2437 |
}
|
2438 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2439 |
.happyforms-form--part-outer-padding-wide .happyforms-part--recaptcha .happyforms-part-wrap > div {
|
2440 |
padding: 20px 3%;
|
2441 |
}
|
83 |
direction: rtl;
|
84 |
}
|
85 |
|
86 |
+
.happyforms-flex > input[type='checkbox'] {
|
87 |
+
display: none !important;
|
88 |
+
}
|
89 |
+
|
90 |
h3.happyforms-form__title {
|
91 |
margin: 0;
|
92 |
padding: 0 1%;
|
1135 |
padding: 10px 0;
|
1136 |
}
|
1137 |
|
1138 |
+
.happyforms-part--placeholder .happyforms-optional {
|
1139 |
+
display: none !important;
|
1140 |
+
}
|
1141 |
+
|
1142 |
.happyforms-part--placeholder p {
|
1143 |
font-size: 16px;
|
1144 |
color: #000;
|
1783 |
padding: 25px;
|
1784 |
border: 3px solid;
|
1785 |
background-color: transparent;
|
1786 |
+
color: #000;
|
1787 |
color: var(--happyforms-color-primary);
|
1788 |
}
|
1789 |
|
2445 |
padding: 5px 0;
|
2446 |
}
|
2447 |
|
2448 |
+
@media screen and (max-width: 500px) {
|
2449 |
+
.happyforms-part--recaptcha > div > div {
|
2450 |
+
transform: scale(0.75);
|
2451 |
+
transform-origin: 0 0;
|
2452 |
+
}
|
2453 |
+
}
|
2454 |
+
|
2455 |
.happyforms-form--part-outer-padding-wide .happyforms-part--recaptcha .happyforms-part-wrap > div {
|
2456 |
padding: 20px 3%;
|
2457 |
}
|
inc/core/assets/js/customize.js
CHANGED
@@ -1592,7 +1592,7 @@
|
|
1592 |
var step = parseFloat( $sliderInput.attr( 'step' ) );
|
1593 |
var value = parseFloat( $sliderInput.val() );
|
1594 |
|
1595 |
-
$sliderInput.on('keyup', function() {
|
1596 |
var $this = $(this);
|
1597 |
|
1598 |
self.model.set( $sliderInput.attr('data-attribute'), $this.val() );
|
@@ -1670,7 +1670,7 @@
|
|
1670 |
|
1671 |
$input.val(numericValue);
|
1672 |
|
1673 |
-
$input.on('keyup
|
1674 |
var $this = $(this);
|
1675 |
|
1676 |
self.updateFormWidth($this.val(), unit, $slider);
|
1592 |
var step = parseFloat( $sliderInput.attr( 'step' ) );
|
1593 |
var value = parseFloat( $sliderInput.val() );
|
1594 |
|
1595 |
+
$sliderInput.on('keyup mouseup', function() {
|
1596 |
var $this = $(this);
|
1597 |
|
1598 |
self.model.set( $sliderInput.attr('data-attribute'), $this.val() );
|
1670 |
|
1671 |
$input.val(numericValue);
|
1672 |
|
1673 |
+
$input.on('keyup change mouseup', function () {
|
1674 |
var $this = $(this);
|
1675 |
|
1676 |
self.updateFormWidth($this.val(), unit, $slider);
|
inc/core/helpers/helper-form-templates.php
CHANGED
@@ -1278,7 +1278,11 @@ if ( ! function_exists( 'happyforms_get_narrative_tokens' ) ) :
|
|
1278 |
|
1279 |
function happyforms_get_narrative_tokens( $format ) {
|
1280 |
$count = substr_count( $format, '[]' );
|
1281 |
-
$tokens =
|
|
|
|
|
|
|
|
|
1282 |
|
1283 |
return $tokens;
|
1284 |
}
|
1278 |
|
1279 |
function happyforms_get_narrative_tokens( $format ) {
|
1280 |
$count = substr_count( $format, '[]' );
|
1281 |
+
$tokens = array();
|
1282 |
+
|
1283 |
+
if ( $count > 0 ) {
|
1284 |
+
$tokens = array_fill( 0, $count, '' );
|
1285 |
+
}
|
1286 |
|
1287 |
return $tokens;
|
1288 |
}
|
languages/happyforms.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the HappyForms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: HappyForms 1.6.
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
-
"POT-Creation-Date: 2019-01-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the same license as the HappyForms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: HappyForms 1.6.18\n"
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
+
"POT-Creation-Date: 2019-01-18 13:01:42+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
Contributors: thethemefoundry
|
4 |
Tags: contact, contact form, email, feedback form, form, form builder, custom form, lead generation, survey form, quote form
|
5 |
Requires at least: 4.8
|
6 |
-
Tested up to: 5.0
|
7 |
-
Requires PHP: 5.
|
8 |
-
Stable tag: 1.6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -80,6 +80,12 @@ Absolutely! HappyForms gets out of the way and is designed to work with any them
|
|
80 |
|
81 |
== Changelog ==
|
82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
= 1.6.17 =
|
84 |
* Bugfix: Address part was preventing forms from working correctly.
|
85 |
|
@@ -358,6 +364,9 @@ Absolutely! HappyForms gets out of the way and is designed to work with any them
|
|
358 |
|
359 |
== Upgrade Notice ==
|
360 |
|
|
|
|
|
|
|
361 |
= 1.6.17 =
|
362 |
* Address part bugfixes.
|
363 |
|
3 |
Contributors: thethemefoundry
|
4 |
Tags: contact, contact form, email, feedback form, form, form builder, custom form, lead generation, survey form, quote form
|
5 |
Requires at least: 4.8
|
6 |
+
Tested up to: 5.0
|
7 |
+
Requires PHP: 5.3
|
8 |
+
Stable tag: 1.6.18
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
80 |
|
81 |
== Changelog ==
|
82 |
|
83 |
+
= 1.6.18 =
|
84 |
+
* Improvement: Various CSS tweaks to improve responsive behavior, and colors set in HappyForms style step.
|
85 |
+
* Bugfix: Number spinners in font size controls were not updating value in preview pane.
|
86 |
+
* Bugfix: Placeholder part was always showing (optional) label.
|
87 |
+
* Bugfix: Story part with no inputs was throwing an error.
|
88 |
+
|
89 |
= 1.6.17 =
|
90 |
* Bugfix: Address part was preventing forms from working correctly.
|
91 |
|
364 |
|
365 |
== Upgrade Notice ==
|
366 |
|
367 |
+
= 1.6.18 =
|
368 |
+
* Bugfixes and CSS improvements.
|
369 |
+
|
370 |
= 1.6.17 =
|
371 |
* Address part bugfixes.
|
372 |
|