Hi,
Thanks a lot in advance for helping me with this
I have a Checkbox Group called "Options"; it has the following Checkboxes:
OPTIONS_Group A (select a maximum of 3 Options from the following)
----------------------------------------------------------------------------
Option 1 [ ]
Option 2 [ ]
Option 3 [ ]
Option 4 [ ]
Option 5 [ ]
Option 6 [ ]
OPTIONS_Group B (select a maximum of 2 Options from the following)
----------------------------------------------------------------------------
Option 1 [ ]
Option 2 [ ]
Option 3 [ ]
Option 4 [ ]
Option 5 [ ]
Option 6 [ ]
1. Can we refer to inidividual checkboxes with short names like $(GroupA_Option1), $(GroupA_Option2), $(GroupB_Option3), $(GroupB_Option5), etc....?
2. If so, users should be able to select a Maximum of THREE (3) Checkboxes under Group A and a Maximum of TWO (2) Checkboxes under Group B. Is it possible? If so, how to implement it please?
3. If the above feature is possible, how to pass values from a drop down list to the GroupA_Max_Allowed and GroupB_Max_Allowed?
Example: I have a dropdown list where users choose a top level option or scheme from a list of entries like :
- Scheme1-3A-4B
- Scheme1-2A-3B
- Scheme1-1A-3B
- Scheme1-4A-2B
- Scheme1-5A-2B
- Scheme1-3A-4B (this means, allow a max of 3 Options from Group A and a max of 4 Options from Group B)
So there are THREE Lists here:
SCHEME - mega options dorop down List: [shortname: $(Scheme)
GROUP A Options - a list of Checkboxes put together under Group A
GROUP B Options - a list of Checkboxes put together under Group B
I am hoping to do this:
After users selecting the Scheme, we will have something like this.
$(Scheme) = Scheme1-3A-4B
From this, I want to "set" the max allowed limits:
$(GroupA_Max_Allowed) = LEFT($(Scheme),9,1)
$(GroupB_Max_Allowed) = LEFT($(Scheme),12,1)
Note: I don't Javascript either; I need help with extracting these numbers from the selected "Scheme". I just used Excel like String functions here
By setting $(GroupA_Max_Allowed) = 3 and $(GroupB_Max_Allowed) = 4, I am assuming the users will be allowed to check a max of 3 boxes from Group A and a max of 4 boxes from Group B
Please help me how to accomplish this
Thanks a lot in advance!
Best,
Vijayv