Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember required fields allowing registration
Tagged: email username, required, required fields
- This topic has 34 replies, 11 voices, and was last updated 6 years, 3 months ago by admin.
-
AuthorPosts
-
October 13, 2012 at 2:52 am #47260adminKeymaster
@chavpaskov, There area few JavaScript issues/conflict on your site coming from another plugin so eMember’s validation code is not working correctly. Please do the following:
1) Load a fresh copy of eMember plugin first:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
2) Take note of the following line of code added to your site by a plugin called “easing slider”. This code is very wrong:
<script type="text/javascript" src="http://www.kyokushin.ca/wp-content/plugins/easing-slider/js/jquery.js?ver=1.4.2"></script>
The following post will explain why the above code is bad:
So deactivate this plugin and then try again.
October 14, 2012 at 1:45 am #47261chavpaskovMemberversion 8.2.7 installed, The Easing-slider Plugin dactivated and actually removed yet the registration form only performs validation on username password and Agree to Terms and conditions.in other words the rest of the mandatory fields are not validated
October 14, 2012 at 9:57 am #47262adminKeymasterJavaScritp validation is still not working on your site. This means you still have some other plugin with bad JavaScript code. Go to the following page and try to click the register button without filling in the “username” field and you will understand what I mean by JavaSript valiation:
http://www.tipsandtricks-hq.com/eMember-demo/members-home/registration
This option is not working on your site. You have right click disabled on your web pages so I couldn’t take a look at the HTML source code. Please do this test to identify the source:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
October 14, 2012 at 10:12 pm #47263chavpaskovMemberright click is enabled i tried to disable asmuch as possible fro the plugins the issue is still there. i can’t understand one thing though why the validation works on UN,PW ANd terms and conditions but not on the rest of the required fields. if there is a bad javascript on the same page shouldn’t it affect the validation o nUN and PW for example.
October 15, 2012 at 2:38 am #47264adminKeymasterThe validation for those 3 fields that you are seeing are coming from PHP. Have you noticed how they show after you submit the form and the page reloads? The validation that I told you to take a look at from our demo page works a little differently.
Anyway, I just took a look at your HTML source code and you have a lot of JavaScript on your webpage (your theme alone is adding 21 JavaScript files!). There are lots of errors too. Did you build this site yourself from scratch or did you get it from someone else?
There is a lot of housecleaning to be done unfortunately. Start with the lowest hanging fruit. Look at the following line of code in your site that is wrong
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js?ver=3.3.1'></script>
Read the following page which will explain why it is wrong:
Let me bottom line this for you. If you want to get the *required* validation on those fields from eMember, you need to clean all the JavaScript errors on your webpage that are coming from other plugin or theme. It is in your best interest to have an error free site so all the plugins can work in harmony.
You can take your site offline for half an hour and do the following test to find out the source(s) and then chase the developer of that plugin or theme to correct his coding mistake:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
Our record shows that you purchased the plugin quite some time ago. Are you just adding it to your site now?
January 8, 2013 at 1:40 am #47265tysonsugiharaMemberI am also having the same issue. I have required fields, in addition to required fields that are not functioning properly. I am having a difficult time identifying any Javascript errors. I did disable all plugins for testing purposes EXCEPT Tips and Tricks plugins.
Any help would be greatly appreciated.
The site is: [http://systemicformulasmedia.com]
January 8, 2013 at 11:08 pm #47266adminKeymasterFirst make sure to load a fresh copy of the plugin:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
It looks like somehow on this site something is inserting paragraph
<p>
tags inside the JavaScript code that gets outputted by the plugin which is messing up the functionality of the javascript. I have a feeling, the theme is messing up the “autop” filter of WordPress a little.Try adding the following line of code in this theme’s functions.php file to remove the autop filter:
remove_filter ('the_content', 'wpautop');
January 8, 2013 at 11:56 pm #47267tysonsugiharaMemberSorry, I’m still having the same problem. Here is how I added the code:
<?php
/**
* Theme framework initialization
*
* Sets up the theme and provides some helper functions.
*
* This file will not be overrided by theme updates. So you can add Your custom functions here.
*
* When using a child theme (see http://codex.wordpress.org/Theme_Development and
* http://codex.wordpress.org/Child_Themes), you can override certain functions
* (those wrapped in a function_exists() call) by defining them first in your child theme’s
* functions.php file. The child theme’s functions.php file is included before the parent
* theme’s file, so the child theme functions would be used.
*
* @package Striking
*/
if(!class_exists(‘Theme’)){
/* Load the Theme class. */
require_once (TEMPLATEPATH . ‘/framework/theme.php’);
$theme = new Theme();
$options = include(TEMPLATEPATH . ‘/framework/info.php’);
$theme->init($options);
}
/* You custom functions below */
remove_filter (‘the_content’, ‘wpautop’);
January 9, 2013 at 4:30 am #47268adminKeymasterI sent you an email to get access to the site so I can check this out.
January 10, 2013 at 4:35 am #47269trainedgeMemberI have the same problems – [www.trainedge.co.in]
Registration page validation not working.
Also. when I type a text and go to the next field, the text in the previous fields becomes hidden. It is still there, but I cannot see it anymore. It happens only in Chrome, IE works fine.
The display and validation problem is not there for other plugins like contact form 7
January 10, 2013 at 9:35 am #47270trainedgeMemberI tested the theme and it looks alright. The problem seems to be in Javascript validation class “validationEngine” used for this plugin.
January 10, 2013 at 11:15 pm #47271adminKeymasterHi, Your site is showing the same issue that we found in tysonsugihara’s site (see above post). We added a little enhancement to our validation engine that should help. I sent you an email to get access to your site so I can test it out.
January 11, 2013 at 2:28 am #47272trainedgeMemberHere is the link – [http://www.trainedge.co.in/join-us/registration/]
I downloaded eMember only 3 days ago so it should be the latest
January 11, 2013 at 4:53 am #47273adminKeymasterThis issue you are seeing is not a bug in eMember. This issue happens from a combination of other factors involed (your theme’s javascript is playing a big part in it). We were able to find an alternative method of doing the same which should go around the problem. We successfully tested this on tysonsugihara’s site and it worked good. If we can test it on your site and see positive result, we will incorporate into our core and release a new build. Simply reply to the email I sent you.
January 18, 2013 at 5:01 am #47274trainedgeMemberI have replied to the email
-
AuthorPosts
- You must be logged in to reply to this topic.