0wordpress0user0
Forum Replies Created
-
Great, thanks for looking into this, appreciate your efforts and look forward to the changes in the future.
Thanks for responding! Much appreciated.
Your clarification helps. To confirm, the Conditional Fields plugin controls BOTH form field visibility and email content based on set conditions. My core question was: if email sending is delayed, will the email content remain identical to the original conditions set?
Looking forward to your developers’ update on integrating conditional email control into your plugin.
Forum: Plugins
In reply to: [Contact Form 7] Automatically format a postal code to the Canadian formatExample.
if (preg_match(‘/^[A-Z]\d[A-Z]\s\d[A-Z]\d$/’, $postalCode)) { // Valid postal code } else { // Invalid postal code }
I have somewhat of a similar issue, the uploader works fine on any desktop browser but does not show up on Android Pixel 3 phone
Thanks, this helpful and good to know. Is the requirement to name the Group and file name to be the same, as in the example, a requirement of Conditional fields plugin or the Drag and Drop plugin? My Group and file name are different and posed no issue prior to using DnD plugin.
Separately, in the PRO version is it possible to have a custom upload folder for each Contact Form 7 if one is using multiple forms to upload. For e.g. one form to receive files from clients and anther form for the admin to send files to clients.
Thanks for all your help, much appreciated!!
Hi there
I have noticed an issue/conflict with another plugin when testing things out (https://www.ads-software.com/plugins/cf7-conditional-fields/)
In my case the file upload input in a form is a required input but only if a certain option is selected. This is made possible with the plugin https://www.ads-software.com/plugins/cf7-conditional-fields/ and works fine before implementing the Drag and Drop upload plugin. The form can be processed without the file upload but with the drag and drop plugin it’s not possible to submit the form without uploading a file even if certain conditions are not met. If I make the file upload not a required field then all is good.
So it seems when file upload input is marked a required input using *, it disregards the logic from the conditional fields plugin.
Hello @glenwpcoder
Appreciate your prompt response. Thanks!
I tried the code you provided and it works, nice!
I am going to do some additional testing that the plugin meets my needs and I will be purchasing the PRO version soon thereafter.
Thanks again for all your help!
Forum: Plugins
In reply to: [Contact Form 7] Override the forms notification behaviourHi there
I have tested the form under various scenarios and continue to be see that email messages come through well before the form processing has completed and moved on to show a success message. This is particularly pronounced when file attachments are involved. Any suggestions?
Thanks
Forum: Plugins
In reply to: [Contact Form 7] Override the forms notification behaviourCreated a staging site and followed these recommendations. Using the default 2020 theme, Contact Form 7, Flamingo and WP Mail SMTP and still the same behavior where the email seems to come before seeing the success message for the form submission.
Staging site https://caipsnotes.com/EsTate/order-details/
Further recommendations?
Forum: Plugins
In reply to: [Contact Form 7] Override the forms notification behaviourPlease see below. Thanks
PLUGINS
——-
Autoptimize Version 2.7.3 by Frank Goossens (futtta)
Contact Form 7 Version 5.2 by Takayuki Miyoshi
Contact Form 7 Conditional Fields Version 1.9.7 by Jules Colle
Flamingo Version 2.1.1 by Takayuki Miyoshi
Font Awesome Version 4.0.0-rc20 by Font Awesome
Shortcodes Ultimate Version 5.9.2 by Vladimir Anokhin
Stripe Payments Version 2.0.33 by Tips and Tricks HQ, wptipsntricks
TinyMCE Advanced Version 5.4.0 by Andrew Ozz
Web Stories Version 1.0.0-beta.1 by Google
WP Easy Paypal Payment Accept Version v4.9.6 by Tips and Tricks HQ
WP Fastest Cache Version 0.9.0.8 by Emre Vona
WP File Manager Version 6.5 by mndpsingh287
WP Mail SMTP Version 2.2.1 by WPForms
WP Reset Version 1.80 by WebFactory Ltd
Yoast SEO Version 14.5 by Team YoastAdditional Settings
——–
Disable XML-RPC
Setting a custom timeout value for cURL 10sec
Setting custom timeout for the HTTP request 10sec
Setting custom timeout in HTTP request args 10secadd_filter( ‘https_ssl_verify’, ‘__return_true’, PHP_INT_MAX );
add_filter( ‘http_request_args’, ‘http_request_force_ssl_verify’, PHP_INT_MAX );
function http_request_force_ssl_verify( $args ) {
$args[‘sslverify’] = true;
return $args;
}Theme
—–
Name Dazzling (dazzling)
Version 2.1.1
Author Colorlib
Author website https://colorlib.com/wp/
Parent theme None
Theme features automatic-feed-links, post-thumbnails, menus, post-formats, custom-background, title-tag, custom-header, infinite-scroll, widgetsForum: Plugins
In reply to: [Contact Form 7] Pass Value to Another Form with URL EncodingFOLLOW UP
———
Have a follow up question after trying out the suggestions at https://contactform7.com/2019/12/08/customizing-mail-tag-replacement/I used the code below as example on how to deal with empty spaces in someone’s First Name. It works fine, the code below replaces the empty space in the user submission with a +. The resulting link created using the mail-tag “firstname” does not break either because of a empty space. So all good here.
/* Customizing mail-tag replacement START
https://contactform7.com/2019/12/08/customizing-mail-tag-replacement/
*/
add_filter( ‘wpcf7_mail_tag_replaced’,function( $replaced, $submitted, $html, $mail_tag ) {
if ( ‘firstname’ == $mail_tag->field_name() ) {
if ( is_string( $submitted ) ) {
$replaced = urlencode( $submitted );
}
}return $replaced;
},10, 4
);
/* Customizing mail-tag replacement END*/ISSUE DESCRIPTION
——————
The issue now is that the mail-tag “firstname” is also used in the email greeting, e.g. Hello First Name which now becomes Hello First+NamePOSSIBLE SOLUTION?
—————–
I found this as a possible solution; have 2 different mail-tags for First Name. One to handle the email greeting and the other to handle the email link. One would be a hidden field. Is this the best way to go about it or are there simpler alternatives.
https://stackoverflow.com/questions/5896287/jquery-passing-value-from-one-input-to-anotherThank you.
Forum: Plugins
In reply to: [Contact Form 7] Override the forms notification behaviourThe website with the form in question is at https://gcmsnotes.com/order-details/
Thanks for looking it over
Forum: Plugins
In reply to: [Contact Form 7] Pass Value to Another Form with URL EncodingThank you so much for such a quick response, much appreciated. I will follow those instructions. Again, thanks!