Drunkard100
Forum Replies Created
-
I had the same issue chonazz. As for your issue pcsservices, what I did was remove the “google-analytics-for-wordpress” plugin folder using FTP. Do you have FTP access to your site? If not, you should set it up, it comes in handy for many instances, including things like this.
Otherwise, you can revert to your site backup if you run regular backups.
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 – quick question – dummy variableYes. I’ve done it, as well as other things, such as insert dynamic fields based on user data using this plug in:
https://www.ads-software.com/extend/plugins/contact-form-7-dynamic-text-extension/
I’ve accomplished this with the following hack, located in this thread:
https://www.ads-software.com/support/topic/keeping-fields-from-refreshing-on-submit?Forum: Plugins
In reply to: [Contact Form 7] Keeping fields from refreshing on submitHey Mamikel,
I’m afraid I am a lil’ bit of a drunk :)…hehe. ??
Anyway, I didn’t have to specify which fields I wanted to reset or not. Leaving the resetForm() method as it was kept it so that all the fields refreshed (reverting the dynamic fields back to the previous state, unaltered). This is the purpose of the resetForm() method.
Removing the clearFrom() method made it so that the fields do not clear now. This was what I needed to fix. Now my users can enter project data into the form, and after submit (actually data.mailsent) the form refreshes to its previous state (with all non-dynamic fields empty, and the dynamic fields populated with the previous values). This way they can enter project data for one project and their identifying data (name, email, etc.) follows along to the next form, so that they only have to enter the new project specific data.
One thing to note, one user has reported an issue with the form not wanting to validate (returning errors)on subsequent submits. However, no one else has been able to recreate this. I’m going to have them show me when I get the chance.
Cheers back at ya!
Forum: Plugins
In reply to: [Contact Form 7] Keeping fields from refreshing on submitHi mamikel,
Actually, yes. Sorry, I have been really busy lately. Here’s a quick solution that keeps the dynamic fields as is, while clearing the rest.
Within the scripts.js file of the contact 7 form plugin I removed the .clearForm() method.
if (1 == data.mailSent) { $(data.into).find('form').resetForm().clearForm(); ro.addClass('wpcf7-mail-sent-ok');
Changed to:
if (1 == data.mailSent) { $(data.into).find('form').resetForm(); ro.addClass('wpcf7-mail-sent-ok');
Just remember that this is a “hack” and therefore any updates to CF7 will likely remove this alteration.
I’ve removed the .resetForm() from the CF7 scripts.js as well, but it didn’t solve the refresh issue for me. All the fields, including the dynamic fields still refresh. Any ideas?
Forum: Plugins
In reply to: [Contact Form 7] Keeping fields from refreshing on submitWould ajaxSubmit help with this issue? I’ve noticed a little documentation within the jquery.form.js file of the plugin that speaks about it, but little is mentioned on how to use it.
Any ideas or a point in the right direction would be greatly appreciated. ??
Forum: Plugins
In reply to: Contact Form 7, widget & page?Hey csk79,
This plugin https://www.ads-software.com/extend/plugins/contact-form-7-dynamic-text-extension/ is capable of doing what you need. I use it to add dynamic fields based on user data, but I believe it can accomplish what you’re talking about as well.
Forum: Plugins
In reply to: [Contact Form DB] Make it so that some fields do not refresh after submitFor sure. Sorry, I must have been looking at the wrong thread when I posted this….sorry. I do use contact form to database extension though. ?? It’s a good plug in.
Bump
Awesome,
I was looking for the same thing. Worked like a charm! Great plugin btw. It saved me a grip of time. ??