Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Registration form

  • galanopd
  • galanopd
  • OFFLINE
  • Posts: 374
  • Thanks: 49
  • Karma: 8
5 years 3 weeks ago #315521 by galanopd
Registration form was created by galanopd
Hi

I would like to know the following:

Let's suppose that a website visitor is interesting in registering,

Question 1
After the visitor decides the type of membership he/she wants, can we provide a different Registration Form fields for every different membership type chosen? Or alternatively, to use the same registration form but use visibility rules on the fields that appear according to the membership chosen by the visitor?

Question 2
If visibility rules are used, can the forms make fields appear according to user's choice using ajax (without refreshing page)?

Question 3
Once the visitor has chosen a membership type and has submitted the filled out Registration Form, will he/she be registered accordingly? For instance, if in the field "Membership Type" he has chosen "Guest", will he be registered in the back end (MySQL) in the Users table as a Guest, etc?

Thank you

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
5 years 3 weeks ago #315530 by krileon
Replied by krileon on topic Registration form

Or alternatively, to use the same registration form but use visibility rules on the fields that appear according to the membership chosen by the visitor?

Yes, you can show/hide tabs/fields based off other fields values using CB Conditional. If by membership you mean a subscription provided by CBSubs then yes it's possible for plans to hide fields.

If visibility rules are used, can the forms make fields appear according to user's choice using ajax (without refreshing page)?

Yes, it's all done dynamically with no reloads.

Once the visitor has chosen a membership type and has submitted the filled out Registration Form, will he/she be registered accordingly? For instance, if in the field "Membership Type" he has chosen "Guest", will he be registered in the back end (MySQL) in the Users table as a Guest, etc?

I assume Membership Type is just a field so yes that'd be stored in the database as whatever type they selected. If you mean you want to assign a Joomla usergroup based off field value then you'll need CB Auto Actions for that, but it's certainly doable.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum