willbell
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] Multiple forms submit to one databaseOne other thing, just to be thorough, I am using “Contact Form 7” and “Contact Form DB”.
Will
Forum: Plugins
In reply to: [Contact Form DB] Multiple forms submit to one databaseChecked, same.
Here’s another thought. In the “Additional Settings” box for each of the forms I have this code:
on_sent_ok: “location = ‘https://www.anasysinstruments.com/afm+_Brochure.pdf’;”
Could this be causing a problem?
Thank you,
WillForum: Plugins
In reply to: [Contact Form DB] Multiple forms submit to one databaseI did as you suggested, tested and still no “Combined Brochure Forms” database. The data did show up in “Brochure Data Download AFM+”. If I have the code correct, is there something else with the setup that I could be missing? Does it matter that I’m running WP 3.6.1? Sorry to bother you so much but we’re so close and this is pretty important for me.
Thank you.Forum: Plugins
In reply to: [Contact Form DB] Multiple forms submit to one databaseMichael,
I put the code (above) to the Add Actions and Filters plugin, then tested one of the contact forms, but the data did not read to a “Combined Brochure Forms” DB. When I go to “Contact DB” I don’t see Combined Brochure Forms listed in the pull down window. I did create a contact form called “Combined Brochure Forms” thinking that this would help initiate the DB, but it still doesn’t work. I’m stumped.
Any Help would be appreciated. Here’s some screen captures – https://www.anasysinstruments.com/combined-brochure-databases/
Thank you,
WillForum: Plugins
In reply to: [Contact Form DB] Multiple forms submit to one databaseThat worked, no error messages, thank you.
Another question. I put this code in the “Add Actions and Filters” tool and saved. When I go to Contact DB though, I don’t see it. Is there a step I missed?
Thank you,
WillForum: Plugins
In reply to: [Contact Form DB] Multiple forms submit to one databaseMichael,
I got this error code above the box where the code goes –
Parse error: syntax error, unexpected ‘{‘ in /home/anasysin/public_html/wp-content/plugins/add-actions-and-filters/AddActionsAndFilters_Plugin.php(114) : eval()’d code on line 2
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/anasysin/public_html/wp-content/plugins/add-actions-and-filters/AddActionsAndFilters_Plugin.php(114) : eval()’d code:2) in /home/anasysin/public_html/wp-content/plugins/constant-contact-api/functions.php on line 5
Here is the code I put in;
function change_title($formData) {
if ($formData && in_array($formData->title, array(‘Brochure Data Download AFM+’, ‘Brochure Data Download IR’, ‘Brochure Data Download IR2’, ‘Brochure Data Download nanoTA’, ‘Brochure Data Download Probes’, ‘Brochure Data Download SThM’)) {
$formData->title = ‘Combined Brochure Forms’;
}
return $formData;
}add_filter(‘cfdb_form_data’, ‘change_title’);
Forum: Plugins
In reply to: [Contact Form DB] Multiple forms submit to one databaseThank you Michael, I can now see how the structure works.
Forum: Plugins
In reply to: [Contact Form DB] Multiple forms submit to one databaseThank you for this, it’s going the right direction I think. But I am so lame at coding that I don’t know how to create a database and I don’t know how to write the code that would send the data from the seven forms to that database.
Any help is appreciated.
Thank you.Forum: Plugins
In reply to: Make seven Contact Forms send to one databaseThank you for that.
Will