Version Description
- If name input field hidden with CSS it will automatically have the required attribute removed
Download this release
Release Info
Developer | wpkube |
Plugin | Optin Forms |
Version | 1.2.8.9 |
Comparing to | |
See all releases |
Code changes from version 1.2.8.8 to 1.2.8.9
- js/placeholder.js +12 -0
- optin-forms.php +3 -3
- readme.txt +5 -2
js/placeholder.js
CHANGED
@@ -104,6 +104,18 @@ jQuery("[placeholder]").stickyPlaceholders();
|
|
104 |
|
105 |
jQuery(document).ready(function($){
|
106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
$(document).on( 'keyup, change', 'input[name="OF_NAME"]', function(){
|
108 |
|
109 |
var fullName = '',
|
104 |
|
105 |
jQuery(document).ready(function($){
|
106 |
|
107 |
+
$('input[name="OF_NAME"][id*="optinforms"]').each(function(){
|
108 |
+
if ( ! $(this).is(':visible') ) {
|
109 |
+
$(this).prop( 'required', false );
|
110 |
+
}
|
111 |
+
})
|
112 |
+
|
113 |
+
$('input[name="name"][id*="optinforms"]').each(function(){
|
114 |
+
if ( ! $(this).is(':visible') ) {
|
115 |
+
$(this).prop( 'required', false );
|
116 |
+
}
|
117 |
+
})
|
118 |
+
|
119 |
$(document).on( 'keyup, change', 'input[name="OF_NAME"]', function(){
|
120 |
|
121 |
var fullName = '',
|
optin-forms.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Optin Forms
|
|
4 |
Plugin URI: http://fancythemes.com/plugins/optin-forms/
|
5 |
Description: Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
|
6 |
Author: FancyThemes
|
7 |
-
Version: 1.2.8.
|
8 |
Author URI: http://www.fancythemes.com
|
9 |
Text Domain: optin-forms
|
10 |
Domain Path: /languages/
|
@@ -116,8 +116,8 @@ class Optin_Forms {
|
|
116 |
*/
|
117 |
public function optinforms_scripts() {
|
118 |
wp_enqueue_script('jquery');
|
119 |
-
wp_enqueue_style('optinforms-stylesheet', plugins_url('/css/optinforms.css', __FILE__ ), array(), '1.2.8.
|
120 |
-
wp_enqueue_script('placeholder', plugins_url('/js/placeholder.js', __FILE__ ), array(), '1.2.8.
|
121 |
if ( optinforms_used_fonts() !== '//fonts.googleapis.com/css?family=' ) {
|
122 |
wp_enqueue_style('optinforms-googleFont', optinforms_used_fonts());
|
123 |
}
|
4 |
Plugin URI: http://fancythemes.com/plugins/optin-forms/
|
5 |
Description: Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
|
6 |
Author: FancyThemes
|
7 |
+
Version: 1.2.8.9
|
8 |
Author URI: http://www.fancythemes.com
|
9 |
Text Domain: optin-forms
|
10 |
Domain Path: /languages/
|
116 |
*/
|
117 |
public function optinforms_scripts() {
|
118 |
wp_enqueue_script('jquery');
|
119 |
+
wp_enqueue_style('optinforms-stylesheet', plugins_url('/css/optinforms.css', __FILE__ ), array(), '1.2.8.9' );
|
120 |
+
wp_enqueue_script('placeholder', plugins_url('/js/placeholder.js', __FILE__ ), array(), '1.2.8.9');
|
121 |
if ( optinforms_used_fonts() !== '//fonts.googleapis.com/css?family=' ) {
|
122 |
wp_enqueue_style('optinforms-googleFont', optinforms_used_fonts());
|
123 |
}
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: wpkube, FancyThemes
|
3 |
Tags: optin, form, forms, aweber, email subscriber, icontact, mailchimp, getresponse, mad mimi, newsletter, mailchimp forms, mailchimp integrations, mailchimp plugin, getresponse forms, subscribe, aweber forms, after post optin form, after post optin form plugin, lead generation, mobile optin forms, mobile optins, sidebar form, sidebar optin form, wordpress after post optin form, wordpress lead generation, wordpress popups, optin locker, social locker, enter email to download, interspire, email marketer, email marketing, email, e-mail, list, list building, opt-in, newsletter, email list, autoresponder, popup, pop-up, mailing, mailing list, mail, webform, newsletter plugin, optin plugin, opt-in plugin, conversion, design, convertkit, convert, kit
|
4 |
Requires at least: 3.2
|
5 |
-
Tested up to: 4.9.
|
6 |
-
Stable tag: 1.2.8.
|
7 |
|
8 |
Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
|
9 |
|
@@ -54,6 +54,9 @@ Having trouble with the plugin? Simply post your question to the [support forum]
|
|
54 |
3. Add your form to your website with a simple mouse-click.
|
55 |
|
56 |
== Changelog ==
|
|
|
|
|
|
|
57 |
= 1.2.8.8 =
|
58 |
* Input fields are now required to be filled in
|
59 |
|
2 |
Contributors: wpkube, FancyThemes
|
3 |
Tags: optin, form, forms, aweber, email subscriber, icontact, mailchimp, getresponse, mad mimi, newsletter, mailchimp forms, mailchimp integrations, mailchimp plugin, getresponse forms, subscribe, aweber forms, after post optin form, after post optin form plugin, lead generation, mobile optin forms, mobile optins, sidebar form, sidebar optin form, wordpress after post optin form, wordpress lead generation, wordpress popups, optin locker, social locker, enter email to download, interspire, email marketer, email marketing, email, e-mail, list, list building, opt-in, newsletter, email list, autoresponder, popup, pop-up, mailing, mailing list, mail, webform, newsletter plugin, optin plugin, opt-in plugin, conversion, design, convertkit, convert, kit
|
4 |
Requires at least: 3.2
|
5 |
+
Tested up to: 4.9.7
|
6 |
+
Stable tag: 1.2.8.9
|
7 |
|
8 |
Create beautiful optin forms with ease. Choose a form design, customize it, and add your form to your blog with a simple mouse-click.
|
9 |
|
54 |
3. Add your form to your website with a simple mouse-click.
|
55 |
|
56 |
== Changelog ==
|
57 |
+
= 1.2.8.9 =
|
58 |
+
* If name input field hidden with CSS it will automatically have the required attribute removed
|
59 |
+
|
60 |
= 1.2.8.8 =
|
61 |
* Input fields are now required to be filled in
|
62 |
|