• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Cascading Dropdown

Cascading Dropdown 13 years 5 months ago #12077

  • proexe
  • proexe's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 34
Hi

Is there a way on RSForm Pro that you can have a cascading dropdown which gets the information from a table on the database?

I have seen an example on your demo for putting Car Manufacturers and Car Models but instead of listing them in the javascript I would like to grab the data from the table.

The table is set out like this:

County Table:

id -> county_name -> county_id
1 Devon 1
2 Avon 2

Town Table:

id -> town_name -> county_id
1 Exeter 1
2 Exmouth 1
3 Bristol 2

If the county equals let say "Devon" for that county it will have an its own county id which will also be marked in the Town Table, so for each town in that county it will have that counties id.

So if the person selects Devon from the dropdown it will only show the Towns in that relevant County

I hope i have shown this correctly, if there is a way to accomplish this would you be able to point me in the right direction.

I have asked this as a support question, however I tought I would put it on the forum as well just incase someone else knew, plus this may help someone else out if they are after the same thing
The administrator has disabled public write access.

Re:Cascading Dropdown 12 years 10 months ago #14011

Hi proexe

I've a similar problem but couldn't find a solution yet.

Did you get an answer from Support or another source?
If yes, please post it here.

Maybe with some Ajax code?

Thanks,
Tom
The administrator has disabled public write access.

Re:Cascading Dropdown 12 years 10 months ago #14050

  • bonk182
  • bonk182's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi Guys,

This is all I have been able to find in regards to this. Haven't yet tried it but wanted to share.

demo.rsjoomla.com/dynamic-drop-down-change-form-example

-Wol
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!