CM Registration (CMREG) - Extra - Creating Role Specific Registration Forms

Creating Role Specific Registration Forms

Back to User Guide

Only Guest Will See Form

The registration form will only appear to guests (non-logged-in users). If a logged-in user accesses the page, they will not see the form.

You can set role-specific fields in the Example Form. This will support use cases in which you want to allow each role different access permissions and also ask for different information upon registering. 

For instance, users with the role of Subscribers may be obliged to provide a phone number, while those who are Authors will have to choose their areas of expertise from a list.

Using Shortcodes for the Registration Form

Using a shortcode you can create your role specific registration forms.

 [cmreg-registration-form role="wp-role-name"]

[cmreg-registration-form] - shortcode displays registration form.

Make sure you use the role slug and not the role label!! 

Control Which Fields Appear in the Form

You can set which roles have access to each field in the form. To configure this, navigate through CM Registration Pro → Profile Fields (to know more about this function, refer to our guide on Adding Custom Fields). 

While editing any field, refer to the item " Restrict to Roles" and select which kinds of users may or may not have access to that field, as shown below.

Only roles marked with ✓ will have access to that specific field.

More information about the CM Registration and Invitation Codes Bar WordPress  Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.