Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Required Custom Fields Ignored
- This topic has 17 replies, 3 voices, and was last updated 12 years, 8 months ago by hmueller.
-
AuthorPosts
-
March 5, 2012 at 6:27 pm #5759hmuellerMember
Hi
I have added two custom fields and checked the “Required” checkboxes. The fields display fine on the registration page (we are using free membership with email confirmation).
However when members don’t fill in the custom fields when they register, the system still allows them to register.
I have searched the forum but could not find an answer.
Heidi
March 5, 2012 at 9:45 pm #42734PeterMemberHi Heidi,
Ensure that you’ve ticked the “Enable Custom Fields:” checkbox in the main settings page of eMember.
March 5, 2012 at 10:32 pm #42735hmuellerMemberYes, I have selected enable custom fields. The custom fields show up in the registration form. However, the Required option, although checked, is ignored – if members register and leave the required custom fields blank, they are still registered.
Heidi
March 5, 2012 at 10:49 pm #42736PeterMemberHi Heidi,
Can you post a link to the signup form page?
Which version of eMember are you using?
March 5, 2012 at 10:57 pm #42737hmuellerMemberMarch 6, 2012 at 12:48 am #42738adminKeymasterThis would be related to JavaScript conflicts on your web page which is preventing eMember’s JavaScript checks to fail. This post will help you identify the source:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
March 6, 2012 at 1:04 am #42739hmuellerMemberThanks, I will check it out.
Heidi
March 6, 2012 at 1:44 am #42740hmuellerMemberHi
Hmm. I am not using any of the “bad” plugins. Our theme is Thesis and I do believe it is coded correctly.
My problem is that it is a working site with many registered owners so I am not keen to disable plugins that are vital to the site functionality.
How else can I check JavaScript conflicts? Do you use a specific function to validate the form fields?
Heidi
March 6, 2012 at 11:15 pm #42741adminKeymasterThesis theme itself definitely is NOT the problem (we have a lot of customers who use thesis including myself). Given you didn’t add your own JavaScript to the theme then it won’t be an issue. It is most likely coming from a plugin.
Go to this demo page and try to register without filling in the username or email address (the required fields) and you will see how the JavaScript validates and stop you from submitting the registration:
http://www.tipsandtricks-hq.com/eMember-demo/members-home/registration
You can do the following to identify where the conflict is coming from without affecting your main site:
1) Install WordPress on a sub-domain or sub-directory (for testing purpose)
2) Install eMember on this WordPress
3) Check out the registration form to make sure it is working fine
4) Then slowly add the plugins you use to this install and see which one breaks it
March 7, 2012 at 9:06 pm #42742hmuellerMemberThanks, I will try your suggestion about installing WordPress in a subdomain.
In the mean time, I did check – the only plugin that loads JavaScript on the same page as wp-emember is NextGen Gallery. I deactivated it and made sure that its JavaScript does not load but the problem persists. None of the other plugins use JavaScript
Heidi
March 8, 2012 at 3:18 am #42743adminKeymasterTrust me… you will be surprised when you do the test I mentioned Also, load a fresh build of the plugin just in case:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
NextGen gallery won’t cause any issue for sure so don’t worry about disabling it. Remember, there is also the possibility that you added various JavaScript code in the theme for customization which is also playing a part.
March 8, 2012 at 5:31 pm #42744hmuellerMemberHi
I have created the mirror site http://palacequay.com/test, disabled all plugins except eMember and the problem is the same – I can register without completing any of the required fields
No, I have not added any JavaScript to the theme, it is straight Thesis.
Heidi
March 8, 2012 at 6:16 pm #42745hmuellerMemberI did download and install the latest eMember plugin – same problem. However, when I switch to 2010 theme as you suggested, it works!
March 9, 2012 at 12:28 am #42746adminKeymasterThat means, some customization(s) you made to your theme has errors in them. The thesis theme lets you add JavaScript and HTML code in the page via hooks. Check those custom codes that you entered in there.
To prove my point, you can place a fresh version of the Thesis theme on this test site (not the one you already configured and customized) and you will see that it will work too.
March 9, 2012 at 8:50 pm #42747hmuellerMemberAgain, I have not done ANY customization. I have followed your suggestion and uploaded a fresh copy of Thesis and retried and get the same result. I am really at a loss. Everything else works so well. Do you think I should recreate the website from scratch?
Heidi
-
AuthorPosts
- You must be logged in to reply to this topic.