Hi,
I'm trying to populate 3 different select boxes, based on what was selected from the previous selected value.
Select box 1 is populated by default using a database file and choices selection criteria. (CPKEY1 = 'CALLTYPE').
DB File Layout:
CPKEY1,
CPKEY2,
CPDSC1
etc.
Sample Data:
CPKEY1 CPKEY2 CPDSC1
CALLTYPE 1 MEMBERSHIP
CALLTYPE 2 AUTHORISATION
CALLTYPE 3 PRICING
CALLTYPE 4 SCHEME RULES
CALLTYPE 5 CLAIMS
CALLTYPE 6 FORMULARY
CALLTYPE 7 OTHER
CALLTYPE 8 INCORRECT MEMBER SELECTED
CALLTYPE 9 OPTIPHARM ENQUIRIES
CALLTYPE1 1 Member Number Required
CALLTYPE1 2 Dependant Code Required
CALLTYPE1 3 Date of Birth Required
CALLTYPE1 4 Eligibility of Member Confirmed
CALLTYPE1 5 Other
CALLTYPE1 6 Waiting Period Applied
CALLTYPE1 7 Scheme Option Confirmed
CALLTYPE1 8 Membership Suspended
CALLTYPE2 1 Authorisation Required
CALLTYPE2 10 Authorisation Letter Required
Select box 2 now needs to be build, based on what was selected in select box 1. If Selectbox 1's selected value is "MEMBERSHIP", the value of the key to access the file will become "CALLTYPE" + CPDKEY2 (1 in this case), and so selectbox 2 needs to show data for CPKEY1 = "CALLTYPE1".
I need to populate the select boxes in a pop-up screen, without sending a request back to the server.
Any help would be highly appreciated.
Regards,
Dynamic Selectbox
-
- New User
- Posts: 9
- Joined: Thu Dec 18, 2014 4:03 am
- First Name: Toni
- Last Name: Schaake
- Company Name: Mediscor
- City: Centurion
- Country: South Africa
- Contact:
Re: Dynamic Selectbox
Toni,
See the following thread here:
http://www.profoundlogic.com/forum/view ... down#p4726
This should walk through how to have a dropdown populate based on a previous selection.
See the following thread here:
http://www.profoundlogic.com/forum/view ... down#p4726
This should walk through how to have a dropdown populate based on a previous selection.
-
- New User
- Posts: 9
- Joined: Thu Dec 18, 2014 4:03 am
- First Name: Toni
- Last Name: Schaake
- Company Name: Mediscor
- City: Centurion
- Country: South Africa
- Contact:
Re: Dynamic Selectbox
Thank you Scott,
Managed to get it working.
Managed to get it working.
Who is online
Users browsing this forum: No registered users and 10 guests