• 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: populating a form from html table data on the page

populating a form from html table data on the page 1 year 1 month ago #42633

I have rows of a contact form. each contact has a different State and Specialty that I want to pass in visible fields in the form when the user clicks the contact button for help.

eg:
id | name | location | specialty | contactbutton
6 | john smith | CA | Podiatrist | contact our service (button pops a modal with the form).

i want the form to look like this:

name: username fill in
email: user fill in
location: CA
specialty: Podiatrist

submit

I will somehow need to grab the correct line based on the id to prefill the fields. I am stuck on how to accomplish this. I can likely attach an ID based on the id in the table to the button that calls the modal. or my thought was to use javascript to get the content from the row and fill it in that way. Any thoughts would be appreciated...
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!