webheadcoder
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Not WorkThe
first_stepattribute is required to start the multi-step process so not including thefirst_stepattribute and seeing the “Please fill out the form..” message is expected.Something on your site is marking the multistep form submissions as spam and without including the
first_stepattribute, the path to detect spam is not reached. This is why including and excluding the attribute has different behaviors.You’ll need to identify which plugin (or theme) is flagging the form submissions as spam. The multistep tag adds in extra fields in the form that may be seen as spam because it’s not part of the core CF7 plugin. The easiest way to see what is causing this is to switch to the default WordPress theme and deactivate all plugins except for the core CF7 plugin and the CF7 MSM plugin. Once it’s working you can slowly re-activate the plugins to see which one is causing the issue and see if you can adjust the settings in that plugin.
Note: It could also be a MU plugin installed by your web host that could be marking the submissions as spam. If the form still doesn’t work after doing the above, you may want to ask your web host if they have this extra security feature and see if they can adjust the settings.
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Not WorkCan you create 2 test pages each with a different form? One with the form code below:
<label> Your name
[text* your-name autocomplete:name] </label>
<label> Your email
[email* your-email autocomplete:email] </label>
<label> Subject
[text* your-subject] </label>
<label> Your message (optional)
[textarea your-message] </label>
[submit "Submit"]and another with this form code below. you can replace
/contact-form-7-multi-step-form-2/with your own url.<p><label>Your Fake Email (required)</label>[email* your-email]</p>
<p class="webhead-select"><label>How many websites have you built?</label>[select menu-87 include_blank "None" "One" "So many it's easy" "Lost count 10 years ago"]</p>
<p class="webhead-list"><label>What do you look for in a WordPress plugin?</label>[checkbox checkbox-588 use_label_element "Good Quality" "Simple to Use" "Well Documented" "Great Support" "Good Reviews"]</p>
<p class="webhead-list"><label>Select your favorite topic</label>[radio radio-204 default:1 use_label_element class:cf7links "Contact Forms" "Optimized Web hosts" "Affirmations" "WordPress plugins"]</p>
<p>[submit "Next"]</p>
[multistep multistep-422 first_step "/contact-form-7-multi-step-form-2/"]let me know the urls and I can check them out.
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Not WorkMake sure you exclude the pages from LiteSpeed Cache. That is a common issue.
If that doesn’t work, some plugins that you may want to try deactivating first are:
- CF7 Apps
- Cookie Notice & Compliance for GDPR / CCPA
I haven’t used those plugins with the CF7 MSM plugin before.
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Not WorkFrom what I can see, the message is getting caught in a spam filter on your site. If you remove the multistep tags and just have a single form, are you able to submit successfully?
The only other suggestion I can think of is to deactivate all plugins other than CF7 and CF7 multistep. Once that works, slowly re-activate other plugins until you get the error again.
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Not WorkHi,
I tried the form out and it looks like something on your site is triggering the spam filter. this is the response I see in the browser’s Dev Console:
{
“contact_form_id”: 436,
“status”: “spam”,
“message”: “There was an error trying to send your message. Please try again later.”,
“posted_data_hash”: “”,
“into”: “#wpcf7-f436-p437-o1”,
“invalid_fields”: []
}Could you deactivate any spam detecting plugins like Akismet, or any disallowed comments, or honeypots temporarily to see if the form works without it?
I haven’t had any issues with this plugin and getting caught in spam before so you may want to check the settings on those if you have any.
Hi Tom,
Totally understandable. That issue plagued me for over a decade. To get the old behavior back, you can try adding this code to your theme’s function.php file.
add_filter( 'wpcf7_posted_data', function( $posted_data ) {
if ( ! function_exists( 'cf7msm_get_pipe_flow_id_from_posted_data' )
|| ! function_exists( 'cf7msm_get_pipe_store' )
|| ! function_exists( 'cf7msm_map_pipe_value_for_mail' ) ) {
return $posted_data;
}
// Only remap the fields you want raw in webhook/DB.
$fields = array( 'dive-level' );
$flow_id = cf7msm_get_pipe_flow_id_from_posted_data( $posted_data );
if ( empty( $flow_id ) ) {
return $posted_data;
}
$pipe_store = cf7msm_get_pipe_store( $flow_id );
if ( empty( $pipe_store ) || ! is_array( $pipe_store ) ) {
return $posted_data;
}
foreach ( $fields as $field_name ) {
foreach ( array( $field_name, $field_name . '[]' ) as $key ) {
if ( ! array_key_exists( $key, $posted_data ) ) {
continue;
}
$posted_data[ $key ] = cf7msm_map_pipe_value_for_mail(
$field_name,
$posted_data[ $key ],
$pipe_store
);
}
}
return $posted_data;
}, 20 );You can update this line to allow more fields:
$fields = array( 'dive-level' );For example if you had another pipe field called
'another-field'you would change that line to$fields = array( 'dive-level', 'another-field' );Glad you find this plugin useful!
I don’t think you can call it with a cronjob right now. I’ll add it to my todo list. That’s weird your styles change so often.
Hi,
I’m not able to reproduce the issue on my any of my sites. Can you check if you installed any new plugins or set anything new around Contact Form 7? There may be a plugin conflicting with the
wpcf7_mail_sentor other CF7 hooks. The easiest way to check is to deactivate all other plugins and try the form with just CF7 and CF7MSM plugins active.Hi @jordan1990 ,
Here’s the answers to your questions:
- I don’t use LiteSpeed Cache often, but I have had issues where WooCommerce products weren’t showing up on the site until I cleared the cache. This plugin should help with that issue.
- Yes, this plugin will automatically clear the cache for LiteSpeed when any post, page, or product is saved.
- I’m not sure if this will resolve your admin bar issue. Best way to see if this helps is to install and activate the plugin and try it out. it’s free!
Hope this helped!
@fw2jp Thank you for helping me test. The latest version 4.5 is out. It is the same build as the latest build you got from me.
If you find any other issues feel free to email me or open up another thread.
Thanks!
Yes that’s most definitely the cause. It looks like yubinbango.js on your site is setting the global
evariable which is why you’re seeing the error.I’ll be fixing the scope management so this plays well with other scripts.
Thanks @fw2jp . Seems like it’s a conflict with your specific theme or plugins as I can’t get the error to occur. I’ll have to depend on you to see if my changes fix the issue. I’ll upload a new version here in a couple days.
Hi,
Yes, it is compatible. please contact support @ webheadcoder.com for any additional sales questions.
Forum: Plugins
In reply to: [Clear Cache for Me] Support for FlywheelHi Todd,
I haven’t used Flywheel before and don’t see any documentation on their cache clearing so I can’t say for sure if I can clear their cache. Flywheel was its own hosting company before being bought by WPEngine so they may have stuck to their own way of caching.
I’ll add them to my ToDo list.
Forum: Plugins
In reply to: [Contact Form 7 Multi-Step Forms] Can’t purchaseThanks for letting me know! This is fixed now.