Joomla Multiple registration forms plugin for Community builder

This Community builder plugin enables adding of multiple registration forms to Joomla. It is tested to be working in Community builder 1.2 with Joomla 1.5.

Install this plugin into Joomla through the community builder plugin installer and enable it.

Defining multiple forms

Click on this plugin under the plugin management tab and in the params section define the forms in this format:

form_name1:field_name1,field_name2

form_name2:field_name1,field_name2

  • form_name is a identifier for the form you are creating. Keep it unique and without spaces. This form_name has to be passed as a GET parameter to the default CB registration page to show up only the fields you want.
  • field_name1,field_name2 etc are the names of the fields under the Field management tab in CB.


An example entry could be like this :

agent_form:name,username,password,company_name

user_form:name,username,password,address

The 2 forms can be accessed by adding &form=agent_form and &form=user_form respectively to the default CB registration form URL.

Please note that you could also have mandatory fields in any of the forms. In such a case the mandatory fields will be filled with some text to bypass the validation checks before the form is submitted.

Passing hidden data

Sometimes it is necessary to store information based on the above defined forms. For example, when the agent_form is submitted, you may want to store a specific value say ‘agent’ in one of the CB fields (say cb_usertype) so that you can know later,what form was used by the user. This can be done using the hidden data field.

The hidden data field also uses a similar format for definining the fields.

form_name1:field_name1=value1,field_name2=value2

form_name2:field_name1=value1,field_name2=value2

So here, once the form_name1 is submitted, the field_name1 will have the value set to value1.

Note that the value should not contain any special characters like commas or quotes. The value is added directly to the database as soon as the user registration is confirmed and hence will skip any validation checks.

One of the real world applications of this feature is by combining with the JLS grouping plugin which will add the current user to the necessary user group based on one of the CB fields.

This is Based on “Different User Registration Forms” plugin by Bog Imp

CB Multiple Registration forms plugin
(10111 hits)
CB Multiple Registration forms plugin
Download

If you need any new features on this extension, leave a comment below. I will be happy to add them :)

Adding form specific title/description

You can add multiple delimiter fields to your CB fields list which enables you to add any html code or static text to your form. This technique combined with the above plugin can create multiple CB forms with form specific titles. But the only limitation here is that the field names for the delimiter fields are also displayed. I dont think there is a way to avoid that.

Auto assign user group based on the registration form

I have modified Jorge Luis Savoini’s (aka BestBeast) JLS group selector plugin to make it work for Joomla 1.5 and CB2.2. This CB plugin also needs to be installed using CB plugin installer. This plugin allows you to assign different user groups based on a value from combo box which the user selects during Registration. But in real world applications, you may not want to ask the user to explicitly specify the user group, but instead you want to redirect them to the appropriate form and use the hidden data method in the above plugin to pass the required data to cb_usertype field. More details on the joomla extensions page for JLS group selector.

Modified JLS group selector
(2809 hits)
Modified JLS group selector
Download

For those who want to display partial CB registration form as a module on your homepage , this extension might be useful.

Incoming search terms:

38 thoughts on “Joomla Multiple registration forms plugin for Community builder

  1. Asgeir Heart

    Hi Kiran,
    I saw your plugin for community builder and was wondering if you are interested in some work. I would need a “hide user” feature for cb. This means that a user should be able to register and have an active user-account that he/she can login to, but on the frontpage the user is not visible at all. Only if the account is set to be “visible” it should show up on the frontend. So the account should be hidden from all search or listings unless the user himself or the administrator sets the account to be “visible”.
    Would this be something that you are able to create? How much would you like to get paid for making such a feature and what would be the delivery time?
    Best regards, Asgeir Heart

    Reply
  2. admin

    @Asgeir Heart
    Sorry Asgeir, I am a bit busy with other projects. So I wont be able to work on the feature you requested. I may consider the idea and release a free plugin for the same sometime later.

    Reply
  3. Pingback: .Techdots. » Joomla Multiple registration forms plugin for … | www.ardelahlam.com

  4. Pingback: .Techdots. » Joomla Multiple registration forms plugin for … | www.kotihost.com

  5. Riaan

    Hi, EXCELLENT plugin. Worked like a charm.

    Is there a way to ad a TITLE/Description/HEADING to the different forms for display upon registration?

    We have three different types of registration:
    Projects, Mobilizers and Donors. Even though different fields are displayed for the different registration types, there is no heading/title indicating which type of registration one is busy with.

    Reply
    1. admin Post author

      As of now, there is no way to add form based titles/description. Although it can be a good feature for the next version of the plugin :) I will work on it when I get some spare time. Thanks for the suggestion.

      Reply
  6. Josh Meyer

    Hi Kiran,

    Great plugin. I can’t believe no one else has made something like it. Question:

    It appears that if you make something required in the hidden form, then the user must fill it in when they edit their profile. This is obviously not wanted sense we don’t even want them to know this field exists! :) Am I missing something?

    Thank you,

    Josh

    Reply
  7. Josh Meyer

    Oops, that wasn’t a good explanation.

    If you make an item required in form 1, this field ends up being required in the user’s profile when they edit their profile. If the user used another registration form (form 2), they’ll have no clue as to where this new field came from and you don’t want them to fill in a value for this field anyways. Is there any way to get around this? Thanks!

    Reply
    1. admin Post author

      Hi Josh,
      I will have to work on this feature. I never had thought of releasing this plugin, so never thought of making it perfect ;)
      Will try to work on modifying the edit profile page.

      Thanks
      Kiran

      Reply
  8. Richard Libby

    Hi, thanks for discussing my issue. This is the perfect plugin but for me but i have just one issue with the field order.

    In the plugin parameters i have entered tutee:title,firstname,lastname,add1,add2 which is the same as the field order in cb field managment. However in the registration form it is displayed as title, lastname, add1, add2, firstname.

    When i change the lastname to be displayed in the profile it then it will display on the form as title, add1, add2, firstname, lastname.

    If i make both firstname and lastname not displayed in profile i get title,firstname,lastname,add1,add2 which is correct.

    At the moment i am using chronoforms to manage the 2nd form but want to have the same layout etc both forms

    Thanks for you help.

    Reply
  9. Irshad

    Hello Kiran,

    Your plug-in is tremendous. I have used it.

    I have used CB component. I have two user types.

    Now I have created two different forms for these user types. Both forms are working properly. But I am facing one problem during edit profile. If I login with first user type and click on edit profile then it display combine form means it takes fields from both form. I want related fields only for that user type. Please help me.

    Reply
  10. kRahamath

    hello, i am getting error while installing those two plugins “Error! Could not find a Joomla! XML setup file in the package.”

    I need this plugin so please help me to install those plugins.

    Thanks.
    kRahamath

    Reply
  11. John

    I’m using your cb registration plugin and encountering a problem ordering fields on registration. The field order should have the firstname first but as you can see on the link I provided below this is not working. When I use the default cb registration form, I’m not encountering this problem.

    Reply
  12. valeria pucci

    Hallo Kiran,
    I’m trying to use your plugin, I follow all the instructions, but when I insert the link to register on a secondary form I can’t reach the registration page. I always receive a message telling me I have to register to access that content… any tip?
    Thank you so much in advance
    Vale

    Reply
  13. John

    Hello Kiran, your tool seems really amazing!
    just a few questions, is there a way to add the field formats of other plugins such as CB paid Subscriptions?

    Reply
  14. John

    I’ve been testing your CB Multi Registrations and I have to say it works so far at 50%, even with CBsubs. (in short, the first part of the program works, the one that adds the selected fields to the registration and removes the rest.. )

    unfortunately It still doesnt add anything by using the hidden fields option (no data is set to the database, so the fields always come up empty as empty strings.)

    I’m using CB 1.3, Cbsubs 1.1.3
    Joomla 1.5.22

    since we require the functionality that your great plugin offers in our website, wondering how we can compensate you if you could make this extension work with the latest version of joomla, CB and CBsubs.

    (written here as per requested)

    Reply
  15. Pietro

    Hi Kiran,
    I love your plugin, it solved me lots of problems.
    What I’m looking for now is the possibility of having multiple user-profile views accordingly to the registration form used during the registration phase.
    I mean, suppose that in form#1 you have to insert your lastname and your country and in form#2 you have to insert simply your name and your country; once you are logged in, CB shows you all the fields in the profile page (so lastname, name and country) but I want that an user is able to see only the fields related to the registation form that he\she used (lastname and country OR name and country).
    Ok, I can use an hidden field to store which was the form, but how can I have this kind of multiple-profile views?
    Do you have any suggestion? Or do you plan to extend your plugin to support my suggestion?
    Thanks 4 your job man!
    It’s great!

    Reply
  16. Peter

    Hello,

    I sent you an email but thought I should also add it to here. As mentioned in some previous comments the hidden form fields are not being added to the form. I desperately need this to work. I am more than happy to pay you for your time.

    I am aware you do this in your own time and for no monetary reward, so please let me reward you!

    Great job though, love it. A very useful tool.

    Reply
  17. Hanc

    Hey! :) I really appreciate your work. The hidden-fields are fantastic. However the modified JLS group selector doesn’t work on my site. If the cb_usertype field isn’t hidden, than it’s perfect. When it’s hidden, the user group doesn’t change automatically, but the cb_usertype field has the right values. Any ideas? Thanks in advance :)

    Joomal 1.5.22
    CB 1.3.1

    Reply
  18. Raghu

    could you please let me know where exactly i need to add &form=agent_form and &form=user_form

    so that i can see the form when click the register link

    Reply
  19. Clint

    This is a great plugin by the way! The issue I’m experiencing is that the form fields are not showing up in the order that I listed them in the Parameters field. This is the order I listed them register_cause:firstname,lastname,email,username,password,cb_usepaypal,cb_paypalaccount,cb_company,cb_paymentname,cb_taxid,cb_causewebsite,cb_address1,cb_city,cb_state,cb_zip,cb_phone, cb_fax

    And as you can see at this URL they’re aren’t showing up in that order: http://www.collect4effect.com/index.php?option=com_comprofiler&task=registers&form=register_cause

    Reply
  20. Ludie

    Hi there this is kind of of off topic but
    I was wondering if blogs use WYSIWYG editors or if you have
    to manually code with HTML. I’m starting a blog soon but have no coding knowledge so I wanted to get guidance from someone with experience. Any help would be enormously appreciated!

    Reply
  21. moving solutions

    Conroy Removals makes storage convenient with our safe facility which can accommodate your brief and long term storage requirements whatever they
    are. Having an understanding of the transferring course
    of can present good assistance together with your move planning.

    Comply with our shifting process which will information you
    through the weather of your transfer on a step by step basis.
    We are going to shrink wrap all of your leather and upholstered gadgets in addition to your most cherished objects.
    Shifting By Design additionally offers moving services
    for office buildings, we convey the identical level of care so that you could deal with your business.
    Onsite estimates for homes over 2,000 sq. ft., most industrial moves, specialty item
    moves, and all interstate strikes. You can even submit a quote on-line and one of our
    representatives will respond throughout enterprise hours,
    similar day.

    If you’re planning a protracted-distance transfer then realize that the weight of your property will play
    a task in how a lot you can be charged to have it shipped.
    Think seriously about what you personal and resolve whether it is value taking to your new place or not.
    When you’ve got a heavy bulky merchandise in your house that has been sitting
    and gathering mud for sometime then what are the possibilities
    that you’ll use it in the brand new place? Do not pay to
    have something moved that you will probably never
    use again. We have now been providing purchasers with stress-free moving solutions for more than 10
    years. Established in 1933, Allied Van Strains is a world leader in relocation. With more than 500 agent areas throughout North America, our moving and storage services are here to serve your wants.
    Backed by more than 100 years of mixed experience, Allied Van Traces has become the
    largest transferring community so far globally,
    giving us the correct insight and tools to make your transfer run smoothly.
    Transferring will be one of the vital nerve-racking times in your life.

    Hiring skilled and trustworthy movers can ease a number of the headache that comes with the
    method. Do you need a full-service pack and move? Some assist with massive or treasured
    gadgets? American Movers offers a variety of shifting and
    packing services and is the workforce you need to get the job done.

    Free bins and 2 months of storage with lengthy-distance strikes

    Have a printed moving Tariff (verifiable rates for providers) as mandated by the FMCSA

    Refrigerators, icemakers, & water merchandise

    Heavy gear

    Industrial operations

    An experience as a driver comes helpful for these seeking to get jobs as delivery
    boys in large e-commerce corporations or restaurants and lodges.
    To rent supply boy, employers look for candidates who can do their process with none fuss.
    On this ever altering world of technology, employers can take its help to hire such worker.
    We’re talking about online job portals that have emerged
    as the most viable hiring option for employers.

    Shifting is costly no matter the way you take a look
    at it. The good news is that there are ways to help to reduce
    the costs you pay. Right here we take a look at some suggestions on learn how to spend much less in your move.
    You could also be trying forward to the place you can be
    moving to however the precise move could also be one thing that
    has you groaning inwardly. With the price of gasoline and the cost of renting a
    truck to relocate it helps to search out as many ways as potential to chop your costs.

    Right here we take a look at some ways to make your
    transfer as finances friendly as can be! Enterprise Truck Rental may help you move
    with a selection of commercial-grade trucks, from box-style
    moving vans to pickup trucks. Whether or not you’re transferring your family, want a greater way to haul supplies for
    a DIY challenge, or towing your boat, our employees is devoted to
    help you find the proper car to maneuver, haul, or tow
    whatever you need. Learn extra about our private moving solutions.
    In late July, I learned, that some of the values within the equation I used to make my determination changed.
    Because the inputs modified, so too did the output.
    The consequence was no longer transfer to New York. As
    a substitute, the outcome was a fairly resounding: keep put.

    I requested friends and trusted advisors to verify my math they usually came to various types of the same conclusion: don’t
    go (though some have been more vehement than others). Even those who were beforehand “high threat, excessive reward, journey over all, New York is amazing”
    oriented have been on the fence.

    Plano is one of the crucial prosperous locations in Texas, and
    your complete country. It has too much to supply residents
    and companies alike, including great schools, low taxes, world-class real
    property, and great infrastructure. It isn’t any surprise that many persons are moving to
    Plano. No matter your reason for transferring inside or round Plano, Texas, we’re here to assist.
    Why Choose Us for your Plano, Texas Transfer?

    The transferring company is carrying on with its operations
    with the main intention of offering large amount of satisfaction to its prospects
    in face of all the other moving companies which might be primarily based in Carol Stream.
    You may avoid the monotony that’s associated with moving by coming involved with Carol Stream Movers for the purpose of getting their companies.
    If in case you have greater than 55m³ to move, a
    second truck will probably be needed. Opposite to common opinion, the transferring distance just isn’t so
    important in the final price. The principle issue is the work pressure.

    Subsequently, it needs to be used at its best.

    Each moving has its personal configuration and that’s why it is very
    difficult to give a common value of shifting in Luxembourg.
    To be the most effective Orlando industrial mover it’s a must to know exactly what the
    shopper desires and expects. We now have encountered business homeowners who get
    pleasure from being hands on and those that want to focus on other facets
    of the transfer. We understand you may have paperwork
    to file in your new metropolis, lease or mortgage details to cover, and inner business to handle.
    The benefits of our Orlando industrial transferring
    attain far past simply loading and unloading a truck.

    Get a transferring price estimate fast and simple with The Transferring Blog, because you’ll
    want to take management over your transfer. Planning your shifting finances upfront is essential so you might be
    ready all through the shifting process. Remember to always research your shifting firm
    earlier than booking. We respect your privateness.
    The much less items you move, the much less you can pay for packing and moving services.
    Don’t get too hooked up to pointless household objects.
    As a substitute, eliminate them by organizing a garage sale or by giving them
    to charities. Gather mates and different volunteers which
    might be keen to help you with packing and throughout the moving day.

    Discovering low-cost or free moving boxes is completely obligatory in case
    you are transferring on a tight price range.

    Intelligent negotiation can save you money. Many facilities cost along with rent,
    set up or processing fees in addition to late fees if the rent is not paid inside the stipulated
    time. Learn the settlement very carefully and seek answers to questions
    concerning safety, insurance, the presence of an on site supervisor, satisfactory lighting, and possession of the power.
    Ask for references and check them out. If you want more info
    on Bronx Mover, don’t read just rehashed articles on-line to avoid getting ripped off.

    Reply

Leave a Reply to Peter Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>