Extra fields added when data is submitted
-
I’m using FS Contact form, Contact Form DB and Contact Form to DB Extension Edit. The first time I set up the form and submitted it, all the data showed up in the right place in the database. I changed the table headers to these: Visit Date,Name 1,Name 2,Name 3,Name 4,Country of origin,Other Country,Visit Reason,Other Reason,Phone,Notes. The data were displayed properly on a page using these shortcodes:
[si-contact-form form='2'] [cfdb-table form="Visits2" show="Visit Date,Name 1,Name 2,Name 3,Name 4,Country of origin,Other Country,Visit Reason,Other Reason,Phone,Notes"]
When I submitted a second data set the database had 4 extra columns in it. The Visit Date column was empty and a new column with the visit date was added with the header ex_field1. The text I put in the Name 1 field on the form was in a new column with header ex_field2. The column headed Name 1 was empty. Name 2 and Name 3 columns were empty because I didn’t put anything in them. After them are two more columns with the headers ex_field6 and ex_field8, both empty. Then come columns with the headers Name 3,Name 4,Country of origin,Other Country,Visit Reason,Other Reason,Phone,Notes. All empty because I put nothing in them.
http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/
- The topic ‘Extra fields added when data is submitted’ is closed to new replies.