[Resolved] [Plugin: Theme My Login] make a custom user registration field REQUIRED ?
How do i REQUIRE a custom user registration field?
I have a few custom user/registration fields, which were created by another plugin, called s2Member (pro). These fields DO automatically show up in the TML Registration form, and they DO save correctly to the database.
However they should be required fields (according to a setting in s2member), but that is not being enforced on by TML. I found a function you suggested about a year ago here —> http://wordpress.org/support/topic/plugin-theme-my-login-require-other-information-when-registering?replies=13
I tried using the tml_registration_errors function (and commented out the other two, since that functionality is already working for me). But when testing this by submitting the form with one of my custom fields empty, i get this php error:
Fatal error: Call to a member function get_error_code() on a non-object in /home/kkunert/public_html/wp-ideal/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php on line 1005
Any insight here? Perhaps a simple change based on a more recent version of WP?
I am on WP 3.2.1 and TML 6.1.4
- The topic ‘[Resolved] [Plugin: Theme My Login] make a custom user registration field REQUIRED ?’ is closed to new replies.