Category: Actions
-
Custom form field validation: numeric fields
WP-Members has its own built-in form field validation for things like usernames, email, and required fields. But what if you need to validate other elements, such as testing to see if an entered value is a number? Yes, the plugin framework allows for you to extend the form field validation to whatever you need.
-
Add password and email confirmation to the registration process
NOTE: As of plugin version 2.9.3, password, password confirm, and email confirm fields are included in the plugin’s default fields. All you need to do is enable them. Everything described in this post is now integrated into the plugin. Some users like to have a confirmation process in their registration. For example, having two email fields…
-
Add a database generated list of values to the registration form as username
This post will show you how to replace the username selection in the registration form with a dropdown list of choices generated from a database. This is similar to what is described in this post except that in this version, we are using this as the username selector.
-
Add a database generated list of values to the registration form
This sample code is an example of how to take a list of values from a database table and use it to generate a dropdown select option in your registration form. You can get as involved or as simple as need be from this framework. I will be giving an example that will take a…
-
Simple MailChimp integration
Note: this example predates the introduction of the MailChimp Integration extension. I recommend that you use that extension instead as it is far easier to use and also utilizes the latest MailChimp API (version 3.0). Here is an example of a simple integrating MailChimp with the WP-Members registration process. This could be modified to suit…