• 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: Populate a textbox based on the dropdown selection

Populate a textbox based on the dropdown selection 12 years 9 months ago #18324

Hi,
I have a drop down box in the form which gets populated from database based on the user id. This is working fine. But I have other text boxes which should be populated based on the drop down selection.

The examples given on the site talks about the Javascript, and the other criteria is that the drop down elements are dynamic and are not fixed.

Could any one point me in the direction how to use the drop down box's value?

Thanks,
Abbas
The administrator has disabled public write access.

Populate a textbox based on the dropdown selection 12 years 5 months ago #19940

  • djaber2000
  • djaber2000's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
  • Thank you received: 3
Did you ever figure this out? I would like to know how you achieved this? Thanks
The administrator has disabled public write access.

Populate a textbox based on the dropdown selection 12 years 5 months ago #19952

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
It would probably be best to search on Javascript tutorials. You can use standard Javascript syntax within RSform!Pro.

As an example, you can use something like this (to get the selected value):
document.getElementById('name of dropdown field').value
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!