Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › required fields are not required and can't add custom fields
Tagged: custom fields, required fields
- This topic has 11 replies, 3 voices, and was last updated 13 years, 5 months ago by amin007.
-
AuthorPosts
-
April 8, 2011 at 3:14 pm #3142jonahgirlMember
I need nearly all the fields in my registration form marked as required…but only username, email, password and membership are marked as required even though they are marked as required in settings. I’ve tested it and it does not require anything marked as not required.
I also need to add two custom fields but that page will not add a field or update. I am using v 6.19
Page is http://www.kerryskinner.com/laity-care/laity-care-registration/
April 8, 2011 at 3:39 pm #31167jonahgirlMemberI thought…hmmm update….ran the update to v6.26 and no fields are now required. I could add an additional custom field but clicking update does not add the field to the form.
Reverted to v6.19 to keep at least some fields required.
April 9, 2011 at 12:03 am #31168amin007ParticipantThis usually means you have JQuery conflicts on your site. The registration form uses JQuery validation so if you have JQuery issues it won’t work correctly.
I took a look at your site and found that your theme or another plugin is adding another copy of JQuery to the page which is a BIG no no. WordPress comes with JQuery library by default and every plugin and theme should use that to avoid conflicts.
Please read the 3rd example from this page and you will get a more details explanation:
When Themes Go Wild – Importance of Using a Properly Coded WordPress Theme
With that said, please do the following test and it will reveal the source of the issue:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
April 9, 2011 at 9:50 pm #31169jonahgirlMemberI have tested the theme by reverting back from Thesis to Twenty Ten…no effect on the login page and required elements. I’ve turned off the very short list of plugins one by one. Still no effect.
Plugins are Wp eStore, WP eMember, Google Sitemap XML, Akismet, WP-Greybox, List Category Post.
I see the line calling the javascript from the wp-includes folder (<script src=”http://www.kerryskinner.com/wp-includes/js/jquery/jquery.js?ver=1.4.2″ type=”text/javascript”>) and the scripts being called by eMember and eStore but I can’t seem to find the second one you are referring to. Can you tell me which line it is one so I at least know where to start?
April 10, 2011 at 12:27 am #31170amin007ParticipantGo to the registration that you linked earlier and do a “View Source” to see the HTML. Now look for the following line (line 161):
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
See how that line is including a 1.3.2 version of the JQuery library? If you only search for “jquery.js” then you won’t find this culprit because its including a minified version with the name “jquery.min.js”
April 11, 2011 at 9:45 pm #31171jonahgirlMemberThanks…I have removed the offending script and validation is now working…however, custom fields are not…I can add fields but cannot UPdate Options to add them to the form.
April 12, 2011 at 1:37 am #31172amin007ParticipantSomeone suggested that on some installations the new admin bar might be causing issue with the custom field saving. Please read this post and let me know if it helps:
https://support.tipsandtricks-hq.com/forums/topic/adding-custom-field-error
Your customer’s won’t see this so it is safe to turn it off and check it out.
April 12, 2011 at 2:40 am #31173jonahgirlMemberI haven’t updated wp to have the new admin bar…isn’t that in 3.1? . If it is 3.0 then I am not sure where it would be since it isn’t showing.
April 12, 2011 at 9:34 am #31174amin007ParticipantSent you an email.
April 13, 2011 at 10:34 pm #31175amin007Participant1) You didn’t have the “Enable Custom Fields” option checked in the settings menu to enable this feature.
2) For some unknown reason the “include_once” statement (a PHP command to include a file) isn’t working on your site for the custom template file. We changed it to a include.
July 2, 2011 at 4:52 pm #31176kmbradleyMemberI’m having a problem with required fields and custom fields. Recently the custom field requirements changed for my project. I deleted the custom fields, all the members that were already in the database and all the entries in the wp_wp_members_meta_table. I then added 25 new custom fields. To check the required fields, I entered a user name and password on the registration page, and then clicked update, the screen changed to an Internal Server Error 500, but the member was added to the database with no data. All the required fields were blank, including the emember fields that are supplied with the plugin.
Then I added 2 new members and fill out some, but not all of the required fields. I did not get an Internal Server Error 500. The member is added to the database, but no “required field” messages ever appear for either the required default fields and the custom fields.
The required message processing worked before I deleted and added new custom fields. I’m not sure what’s happening. Can you help? I’m not sure where to look to solve the problem.
Thanks,
Karen
July 3, 2011 at 2:29 am #31177amin007ParticipantTo me it looks like the database tables are messed up. I would recommend you start from scratch for this:
1) Deactivate and Delete the plugin (make sure you delete every copy of the eMember plugin from the plugins directory)
2) Log into your PHPMyAdmin and delete the eMember database tables.
3) Download a fresh copy of eMember from here:
https://support.tipsandtricks-hq.com/update-request
4) Upload and activate the new eMember and test it out.
-
AuthorPosts
- You must be logged in to reply to this topic.