Short version
- I have 2 different profile types which use different user workflows. I want to allow new users to choose which profile they want and to register using quick registration on the community page. Is there already a standard way of doing this?
- Is there a way to use 2 or more quick registration modules on the same page? I tried it and encountered errors.
Long Version
I wanted to allow quick registration for multiple easysocial profile types on the main page (
http://www.example.com/community). I did this by creating 2 quick registration modules on the main page (community page). I hid these 2 modules from the user and using a custom html module allowed the user to select the profile type they wanted to register. For example, when the user clicked on "Create Userprofile 1" button -theuserprofile1 quick registation module was revealed. The same thing would happend for userprofile 2. The problem with this is that whenever there is more than one quick registration module on a page, I get the following error
TypeError: c.start is not a function site-2.2.4.min.js:1096:127
In more detail
a.fn.validate https://example.com/media/com_easysocial/scripts/site-2.2.4.min.js:1096:127 <anonymous> https://example.com/community:1040:4 dispatch https://example.com/media/com_easysocial/scripts/site-2.2.4.min.js:89:506 add/r.handle https://example.com/media/com_easysocial/scripts/site-2.2.4.min.js:85:205
Is this a bug? Is there anyway to have more than one quick registration module working on the same page?
I can kind of get around this, by using the standard quick registration on the community page in conjunction with one quick registation module, but if I ever have more than 2 profile types I will be stuck again. Also it seems to be a lot more of a pain to implement, particularly for styling.
I'm using Joomla 3.8.12 and Easysocial 2.2.4.