cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Outputting Form fields to mysql table
August 11, 2011
6:14 pm

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!



Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5359

Posts: 18741

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)