mandatory fields depending on plan chosen

14 years 1 week ago #129663 by pascale
Hi,

I'm setting up a subscription with a parent plan and one or more child plans:
Plan A
- Child Plan (i)
- Child Plan (ii)
When a child plan (i) is selected I would like to get users to fill out mandatory extra fields at registration or when they upgrade (those fields are not required for the parent Plan)
For now the only solution I have is to request users to go on their profile to fill out those extra fields after registration/upgrade.
Those extra fields are managed with CB Fields and Tabs Protection Plugin, only visible when child Plan (i) is selected

Is there a way to have those fields filled out and required at the time of the registration/upgrade when a child Plan is selected.

Pascale

Please Log in to join the conversation.

14 years 1 week ago #129745 by krileon
Replied by krileon on topic Re:mandatory fields depending on plan chosen

Is there a way to have those fields filled out and required at the time of the registration/upgrade when a child Plan is selected.

Yes and no, at registration; yes. At subscription upgrade, no; user would need to visit their profile edit page. For registration set the field to display on registration, then set it as required. You then need to edit your plans (Plan A and Child Plan (ii)) to hide the field on registration (see workflows tab). When the user selects Child Plan (i) the field will then fade in for them to complete (and will be required for registration).


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 to join the conversation.

14 years 1 week ago #129783 by pascale
Replied by pascale on topic Re:mandatory fields depending on plan chosen
Thanks, it's really what I need
:( but I cannot make it work : I just tried this set up in workflows tab :
On plan A the field is hidden,
on plan (i) the field is not hidden
At registration,
. with no plan selected the field appear
. when I select plan A the field is hidden
. however it does not fade in when I select plan (i)

it seems that when the parent plan A hide the field selecting the child plan (i) does not make the field fade in.
However if I have another parent Plan B (which does not hide the field) when this Plan B is selected the field fade in

I'm using joomla 1.5.15, CB 1.2.2, cbsubs 1.0.3

Please Log in to join the conversation.

14 years 1 week ago #129852 by krileon
Replied by krileon on topic Re:mandatory fields depending on plan chosen

it seems that when the parent plan A hide the field selecting the child plan (i) does not make the field fade in.
However if I have another parent Plan B (which does not hide the field) when this Plan B is selected the field fade in

Correct, Child plans assume hierarchy of the Parent plan. This means anything the Parent plan protects it will also affect the Child plan. Thus hiding the field with the parent plan will too hide it for the child plan. You should make both plans parent plans.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.215 seconds

Facebook Twitter LinkedIn