• 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: Dynamic # of fields from query script prior

Dynamic # of fields from query script prior 8 months 3 days ago #43607

Is it possible to have a dynamic # of identical fields in a form, with the number of fields based on the results of a query. The query will never return more than 15 rows, although it could only be 1 row. I need to display the field with a field name that is a column of data returned from the query results, and a dropdown that is populated from another query. Every dropdown will have the exact same values from the second query.

Example:

Query 1: Select id, name from users where group = $variable;

Field name would be the results from name in the query.

Query 2: Select id, action from user_actions;

Dropdown for each row from query 1 would be the results from query 2.

Thanks!
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!