• 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: Auto populate 2 dropdownboxes

Auto populate 2 dropdownboxes 16 years 2 months ago #6490

Hi there,

I've searched this forum and googled for hours but I can't find an answer to my question.

I have a form with 2 dropdownboxes.

The first one is populated with table values using php. That's no problem.

The second one also needs to be populated with table values but based on the selection in the first dropdownbox.

I've found some tutorials saying javascript "onchange" is needed but I can't find a way to implement these scripts in RSform!Pro.

Any help is appreciated!
The administrator has disabled public write access.

Re:Auto populate 2 dropdownboxes 16 years 1 month ago #6647

  • proexe
  • proexe's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 34
Yes if there is a way to select an option from 1 populated box and then the 2nd 3rd etc box will then auto populate with details from database depending on what option you select, this would be a great one to use and I think alot of users will find this very handy.

Is there a way to do this Admins??? :silly:
The administrator has disabled public write access.

Re:Auto populate 2 dropdownboxes 16 years 1 month ago #6652

I solved the problem (thanks to Alexandru) by using 2 forms.

The first form has the dropdown selection. The selected variable is passed to the second form using this technique:

http://www.rsjoomla.com/customer-support/documentations/27-frequently-asked-questions/162-how-do-i-pass-a-parameter-through-the-url-and-how-can-i-catch-it-.html

It's not the best solution. Better would be to use javascript or ajax but it would be a lot more difficult to implement...

Success
Last Edit: 15 years 11 months ago by bogdan.
The administrator has disabled public write access.

Re:Auto populate 2 dropdownboxes 15 years 11 months ago #7204

  • thanks
  • thanks's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Can anyone help repost the solution? Apparently, the link does not work.

Thanks
The administrator has disabled public write access.

Re:Auto populate 2 dropdownboxes 15 years 11 months ago #7213

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Hello,

The link works - you just need to click on it. Fireboard cuts the displayed text (not the link) so it does not break the post layout.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
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!