Michael Simpson
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] Filtering received formsThis might be helpful: https://cfdbplugin.com/?page_id=680
Forum: Plugins
In reply to: [Contact Form DB] wildcard search?You can use search for a more general search like the search box on the admin page. That search all fields, but is not a wildcard search.
You can add fields to submitted data using the not-free CFDB Editor.
Forum: Plugins
In reply to: [Contact Form DB] Contact Form DB is not saving my dataYou might have something in CFDB Option “Do not save fields in DB named”.
Forum: Plugins
In reply to: [Contact Form DB] query that join 2 forms to one tableCreating views: https://cfdbplugin.com/?page_id=239
Forum: Plugins
In reply to: [Contact Form DB] Add column with number of submissionsTry this: change “filter” to “tfilter” in your shortcode. That makes the filter happen before the transform that adds the numbers.
Forum: Plugins
In reply to: [Contact Form DB] Use the count shortcode inside a PHP functionSimilar to this example: https://cfdbplugin.com/?page_id=367
Something like this might do it:
require_once(ABSPATH . 'wp-content/plugins/contact-form-7-to-database-extension/CFDBFormIterator.php'); $exp = new CFDBFormIterator(); $exp->export('Registration', array('show' => 'submit_time', 'trans' => 'CountField(submit_time)')); $count = 0; while ($row = $exp->nextRow()) { $count = $row['submit_time']; }- This reply was modified 9 years, 3 months ago by Michael Simpson.
Forum: Plugins
In reply to: [Contact Form DB] Add column with number of submissionsThe AddRowNumberField transform just numbers the rows. It doesn’t know about any order in the DB.
Forum: Plugins
In reply to: [Contact Form DB] Count function stays 0, entries are 3How many entries does this show?
[cfdb-table form="Aanmelding Koffietreffen Gorinchem, 18 maart 2017"]Is this one form or 2? If it is one form name, then it will not work because the comma is interpreted as a delimiter, so the shortcode thinks this is 2 forms: the first form name is
Aanmelding Koffietreffen Gorinchem
and the second is:
18 maart 2017Avoid using form names with commas in them.
When specifying 2 forms, don’t put spaces after the comma.Forum: Plugins
In reply to: [Contact Form DB] Change layout tableAdd CSS to your page or add it via the shortcode “style” attribute.
There is some error. It might be related to: https://cfdbplugin.com/?p=1507
Forum: Plugins
In reply to: [Form to Post] Post formateI’m confused. There is no single.php in the CFDB plugin. You can use the [cfdb-html] shortcode to display form results on a WP post/page. You write the HTML for this shortcode and indicate where the form values go.
Forum: Plugins
In reply to: [Contact Form DB] Capture blog urlOn the CFDB Options page, there is an option for “Save Page URL from Contact Form 7 submissions”. I don’t follow the difference between the page url and the post url. That options should capture the URL from which the form is submitted.
Forum: Plugins
In reply to: [Contact Form DB] Can CFDB save images?CFDB should save the form along with any files that are uploaded in the form. It doesn’t care what file type they are. Some people run into issues saving large files: https://cfdbplugin.com/?p=1507
Forum: Plugins
In reply to: [Contact Form DB] date in data >= POST date inputSet the filter to exactly how I wrote it. Yours is different.