Assign Group + Check Against List

Steveman 12 Sep, 2011
Hi, I have never used any form extensions and I cannot do any coding.
Is it possible in Chronoforms to do the following?

Create a Registration Form with the additional fields:
(i) Store Member? (Yes/No)
(ii) Member Card Number

If (i) is No, user will be created in Joomla 1.7 and assigned to the "registered users" group.
Field (ii) can be empty and will be ignored.
If (i) is Yes, Field (ii) will be checked against a pre-determined list of card numbers(uploaded via CSV?)

If Field (ii) is in the list, user will be created in Joomla 1.7 and assigned to the "members" group.
If Field (ii) is not in the list, just display a message to retry.

(additional advanced question: how to ensure that a "used" card number will not be in the list anymore?)

Thanks in advance!
GreyHead 15 Sep, 2011
Hi Steveman,

Hmmm . . . yes all of that is possible (and not too difficult). But you will need some PHP and Joomla! experience to get it all to work.

Bob
Steveman 15 Sep, 2011
Thanks Bob for your reply.
I do have some experience in Joomla 1.5 but nothing regarding PHP.
Guess I'll figure out some workaround solution that is not too elegant...

With Chronoforms, I have already successfully made the Registration Form and tested emails etc.
I will drop the "validation of card numbers" part and just have a simple password (like in one of the tutorials)

However, I could'nt find anything regarding assigning User Groups.
There is a thread here
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=22385&p=72201&hilit=user+registration#p72201
but it seems the simpler way (avoiding PHP stuffs) to go is to create 2 registration forms.
Is it OK to have 2 instances of the registration form/plug-in/action ? (each assigning to different user group)
GreyHead 16 Sep, 2011
Hi Steveman,

You can certainly use the plug-in twice on different forms. Theoretically you can use it twice on the same form provided that is doesn't get executed twice so the two would need to be set on different event 'branches' e.g. one On Success and the other On Fail.

Bob
This topic is locked and no more replies can be posted.