This topic is locked
[SOLVED]

 Create drop down list driven by input from previous drop

12/3/2010 1:53:55 PM
PHPRunner General questions
C
chingupt author

Hi All,
I wanted to explore how the following could be achived via PHP Runner?
Consider an eg: i have a set of Countries offering various PG/UG courses in colleges/universities.
Now i want that user should

  1. First Select Country
  2. Depending on Country, then ask for UG or PG. It is possible that the Country in DB is not offering PG.
  3. Depending on Country and PG, the College/University list should be shown. It is possible that one college might offer PG, but not UG
  4. Then depending on above 3 selections, show list of Courses in Country+UG/PG+College
    How can i achieve this? Is it possible via PHP runner or as i presume, manual coding would be required?
    Your Expert Help is appreciated.
    Regards

P
procheck 12/3/2010

I think what you're looking for is "dependent drop-down boxes" or "linked drop-down boxes". You will find this

in the manual and I think there are some topics in this forum on this subject.

C
chingupt author 12/4/2010

Thanks. I guess this solves this...
Regards

C
chingupt author 12/5/2010

Hi,
It solves the problem but upto a certain extent.
Problem is:
Suppose the Table contains records such as
No Category Course College Country

1, 'UG', 'BE', 'LEEDS', 'UK',

2, 'UG', 'BSc', 'LEEDS', 'UK',

3, 'PG', 'MSc', 'LEEDS', 'UK',

4, 'PG', 'Msc', 'UCLA', 'UK',
Now, i will select first Country -> UK
Then it shows me Course Category as UG/PG
Suppose i select "PG",
Then it shows me Colleges as LEEDS.
Now it will show me BE, Bsc and MSc.
Here instead i wanted only PG Courses such as Msc to be shown.
How can this example be achieved?

C
chingupt author 12/5/2010



Thanks. I guess this solves this...
Regards


No, the issue is still not resolved
Please see below the issue

C
chingupt author 12/6/2010

Guys... somebody please help.