I just installed cforms on a Wordpress 3.2.1 site.
I am modifying an Events Registration form created in a custom plugin for a new event.
I have existing tables of values which are consulted. The users are a closed group, employees of pharmacies in Austria or Germany. They must log in with a username and password that is referenced in a database table I already have. Logging in that way also checks a database value for that particular pharmacy that specifies how many employees can register. If it finds a 2 then the same form will be allowed to create two registrations of two separate employees.
Can Cforms be modified to pull values from a mysql table?
And, can each submission also be written to a separate table simultaneously inside the database? I have a table where the previous form vales were saved. I would like the array which cforms does to also insert the values into a custom table that auto-increments.
So, for instance, when I have a checkbox group which permits more than one checked option to be submitted, the choices will be placed in a specific varchar field with commas separating the text values selected when submitted.
I have other questions but I will let them go for now. I see hooks for actions that can be performed at various stages of data submission. I am presuming they will have something to do with answering this question.
Thank you for your help!
Wien