Skip Navigation

[Resolved] Conditional user form depending on user role

This support ticket is created 4 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by anastasiosD 4 years, 2 months ago.

Author
Posts
#1800229

Is there a readily available method for creating a custom conditional login/registration form
that asigns a user role depending on the selection of a
check box / radio button or drop down list.

For example:
A new user wants to register either as a Seller or a Buyer (these are the 2 user roles).
Once the user has selected a role (i.e. from a check box or drop down menu etc)
they are presented with a specific registration form to fill out.
The form fields for Sellers & Buyers differ.
I want this done with Ajax without page refresh or link to a separate page.

Is there any documentation that you are following? I cannot locate specific documentation.

Is there a similar example that we can see? Unfortunately I don't know of any.

What is the link to your site? The website is password protected because it's under development, but I can give access if required.

#1800441

I found the solution here:
https://toolset.com/documentation/programmer-reference/forms/cred-conditional-display-engine/

My issue is resolved now. Thank you!