Forums

Getting checkboxes value, saving multiple records

marzolo 19 Aug, 2020
I have a table for courses selection (input table). I would like to create a CF7 form to allow the user to make multiple selection (checkboxes) taking the input values from this input table.

The person may select multiple courses, as many as he like. After submitting the form, CF7 must save so many records as many selected checkboxes are, each record containing the user, the submission time, and one course name.

In other words I would like that each course checkbox selection cause the creation of an additional record in the output table. What type of controls may I use, and where can I find documentation to learn this setup?

thank you very much
healyhatman 19 Aug, 2020
No.

One row in one table contains the user details
Multiple rows in another table, one for each selection, with the id of the submission and the id of the selected course.
Another table with course details.

Little extra effort now, less effort later.
marzolo 21 Aug, 2020
Or, may I have a quote from chrono engine tu build a solution like this?
Max_admin 23 Aug, 2020
I sent you a PM regarding your request, but in general you just need a selections with a dynamic data source, then a loop with a "data save" to store the records when the form submits!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount

{item:title} {images:#}