Field dependant on User Group?
- iananderson
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
10 years 11 months ago #7243
by iananderson
Hi,
On my registration form. I am allowing users to choose their own user group. When a user selects the group they want to join, is it possible to then show a custom field that depends on their selection?
e.g. A user can choose to join Group A or Group B. When they select Group A, a text field [Text C] appears for them to fill out.
Also, is it possible to display this text field [Text C] in a table with something like <?php echo $this->data->[Text C]; ?>
Thanks
Ian
On my registration form. I am allowing users to choose their own user group. When a user selects the group they want to join, is it possible to then show a custom field that depends on their selection?
e.g. A user can choose to join Group A or Group B. When they select Group A, a text field [Text C] appears for them to fill out.
Also, is it possible to display this text field [Text C] in a table with something like <?php echo $this->data->[Text C]; ?>
Thanks
Ian
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
10 years 11 months ago #7247
by Saka
Emir Sakic
www.sakic.net
No, in that case you should create different registration forms through menu. See
www.sakic.net/news/register_users_in_dif..._with_ajax_register/
for details.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- iananderson
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
10 years 11 months ago #7249
by iananderson
Ok, thanks.
However, when I create two different forms, they are both displaying the extra field I have created. I only want one form to display the extra field.
In the menu options for one of the forms, I haven't selected the extra field in the basic options, but it is still displaying on the live site.
Any help?
Thanks
Ian
However, when I create two different forms, they are both displaying the extra field I have created. I only want one form to display the extra field.
In the menu options for one of the forms, I haven't selected the extra field in the basic options, but it is still displaying on the live site.
Any help?
Thanks
Ian
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
10 years 11 months ago #7251
by Saka
Emir Sakic
www.sakic.net
Then something is wrong, send me the login details on mail and I will have a look.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- iananderson
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
10 years 11 months ago #7252
by iananderson
Ok, just sent you an email.
Thanks
Ian
Thanks
Ian
Please Log in or Create an account to join the conversation.
- iananderson
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
10 years 9 months ago #7274
by iananderson
Hi,
I still have the extra field showing in both my registration forms, even though only one form has the extra field enabled.
Any help would be appreciated.
Ian
I still have the extra field showing in both my registration forms, even though only one form has the extra field enabled.
Any help would be appreciated.
Ian
Please Log in or Create an account to join the conversation.