Replies: 1
We have a problem with the checkboxes, radio buttons etc.
They will be only shown in i.e., but not in Firefox, Crome and Edge.
What can we do?
Replies: 1
We have a problem with the checkboxes, radio buttons etc.
They will be only shown in i.e., but not in Firefox, Crome and Edge.
What can we do?
Replies: 2
Hi,
I can’t get default:shortcode_attr
to work. I have multiple hidden field I want to fill with shortcode attributes. But it doesn’t work.
Here is my code in the template:
echo do_shortcode( '[contact-form-7 id="7388" title="Bestelformulier" Container_titel="' . get_the_title() . '" Prijs="' . $prijs_excl . '" BTW="' . $btw . '" BTWprijs="' . $btwprijs . '" Totaal="' . $totaal . '"]' );
All the variables have values. I checked this.
In my functions.php Is have this this function:
add_filter( 'shortcode_atts_wpcf7', 'custom_shortcode_atts_wpcf7_filter', 10, 3 );
function custom_shortcode_atts_wpcf7_filter( $out, $pairs, $atts ) {
$my_attributes = array('Container_titel', 'Prijs', 'BTW', 'BTWprijs', 'Totaal');
// I also tested this without a loop. It didn't work.
//$Container_titel = "Container_titel";
//$Prijs = "Prijs";
//$BTW = "BTW";
//$BTWprijs = "BTWprijs";
//$Totaal = "Totaal";
//if ( isset( $atts[$Container_titel] ) ) {
// $out[$Container_titel] = $atts[$Container_titel];
//}
foreach ($my_attributes as $value) {
if ( isset( $atts[$value] ) ) {
$out[$value] = $atts[$value];
}
}
return $out;
}
And in my contact form I have this right above my submit button:
[hidden Container_titel default:shortcode_attr]
[hidden Prijs default:shortcode_attr]
[hidden BTW default:shortcode_attr]
[hidden BTWprijs default:shortcode_attr]
[hidden Totaal def default:shortcode_attr ult:post]
When I use default:post
it works, but that is not convenient for me.
What do I wrong?
Oh! I also use Flamingo and Send PDF for Contact Form 7. But I deactivated this. And it still didn’t work.
Replies: 0
Thank you for such a great plugin! I have a quick question.
I have a form that asks for the first name, last name and email.
If they don’t fill in the first name but fill the others, instead of displaying whatever generic message i put in when a required field is missing…is there a way to say “Please provide a first name?” Is it also possible to do this with the other fields?
Replies: 0
I have a CF Form 7 page on my website. It’s a contact form. I have a plugin that redirects the page after it is submitted to a unique Thank you page.
What I want to be able to do, is just capture the [your-name] field from the CF Form page, and Display the [your-name] on the Thank you page.
So some content on that page will say.. Greetings “John”
—–
I’m passing all the fields from the form as URL query parameters per the check box under Redirect Settings so it shows in the URL field…
I’m just not sure what I need to be doing on the Thank you page itself.
I thought using [your-name] would display it..
—
Is this possible?
Replies: 0
1. i know it seems obvious, but some designers still prefer the visible checkbox of reCAPTCHA v2, and Google still supports it. there seems to be some anti-v2 stigma, which is irrelevant to this issue, so please consider before responding. i’m referring specifically to this related but different thread:
https://wordpress.org/support/topic/recaptcha-not-working-in-contact-form-7/#post-11394005
2. issue: i followed CF7’s v2 support page step by step: https://contactform7.com/recaptcha-v2/ ,
but there is apparently a step missing, because it did not yield the desired result of widget with checkbox.
3. worse, the form gets an error, with or w/o the [recaptcha] tag:
“There was an error trying to send your message. Please try again later.”
4. Using WP v.5.1.1, CF7 v.5.1.1
5. double checked both keys
6. form tags:
<label> Your Name (required)
[text* your-name] </label>
<label> Your Email (required)
[email* your-email] </label>
<label> Subject
[text your-subject] </label>
<label> Your Message
[textarea your-message] </label>
[submit “Send”]
Replies: 0
Everything seems to work, but the email never goes through. Any idea why??
<p>Your Name (required)<br />
[text* your-name] </p>
<p>Your Email (required)<br />
[email* your-email] </p>
<p>Your Phone Number<br />
[tel tel-118]
<p>Please Contact Me via<br />
[select menu-816 “Email” “Call” “Text”]
<p>Anything else you’d like us to know?<br />
[textarea your-message] </p>
<p>I Am Interested In<br />
[checkbox your-wants “Muay Thai Kickboxing” “Brazilian Jiu-Jitsu” “MMA Combo” “Kids (4-6)” “Kids (7-14” “Exercise” “Self-Defense”]
<p>Please enter the text below<br />
[captchac captcha-272]<br />
[captchar captcha-272]<br /></p>
<p>[submit “Send”]</p>
Replies: 1
WP 5.1.1
Woo 3.5.7
Plugin 5.1.1
Theme Base theam
Plugin shows following error. Also prevents modals from other plugins from loading?
Notice: WPCF7_Shortcode is deprecated since Contact Form 7 version 4.6! Use WPCF7_FormTag instead. in F:\xampp\htdocs\contactform\wp-content\plugins\contact-form-7\includes\functions.php on line 374
Replies: 0
Hello,
I built a form and each field appear next to each other on the same line instead of being below each other. I tried to put <br> between each file but it doesn’t work.
Is there anything I did wrong?
Thanks for your help.
jean.
Replies: 1
After updating to the latest version of WordPress (version 5.1.1, The Core Child theme), the tables are not shown in admin Visual Mode anymore. Could you, please, help me?
Replies: 0
Hi,
I need to do something that I don’t know how and not even if it’s able to do so.
I have a website where I publish some courses and I want to let people submit for the course. The idea is make only one form for all the courses but I don’t want to put a question like “What course you want to submit for?”, because I will display the form directly on the course page. So I want some work around to put on e-mail that I will receive the page that the form was sent from. This way people won’t need to select what is the course and I don’t want to create a form per course.
Is that possible?
Replies: 0
I am trying to attach a file in the MAIL of CONTACT FORMS 7 to send to people who fill out my form.
My file: http://www.tutordoctormiami.com/wp-content/uploads/2019/04/Welcome-Letter-TD-Miami-1.pdf
In the MAIL-FILE ATTACHMENT I have tried multiple variations:
[http://www.tutordoctormiami.com/wp-content/uploads/2019/04/Welcome-Letter-TD-Miami-1.pdf]
[uploads/2019/04/Welcome-Letter-TD-Miami-1.pdf]
[file http://www.tutordoctormiami.com/wp-content/uploads/2019/04/Welcome-Letter-TD-Miami-1.pdf%5D
And none send the file with the outgoing email.
I have thoroughly reviewed the https://contactform7.com/file-uploading-and-attachment/ and searched this forum but I still do not have an answer. Perhaps anyone can help me with very specific instructions.
PS: WordPress and Contact Form 7 have been updated to latest version.
Replies: 0
Hey, guys!
I use Contact Form 7 for a long time now.
But now I’m trying to integrate my forms with Mautic.
But I get the error (400 – Unknown or invalid client_id) every time I connect.
Can you help me?
Replies: 0
Hello, when I installed Form 7, the shortcode appeared beneath the ‘send’ button on the form. Otherwise the form is functioning fine. Any suggestions?
Replies: 0
Hello, I’m trying to set a default value to the your-subject field, without having the viewer of the form see what value I set.
This is so that when I receive emails from whoever fills the forms I can see my preset subject.
Can you please let me know how to do this? (I searched the FAQ and forums but could not find a similar request)
Thanks
Marco
Replies: 0
CF7 show numbers on each fields. Do you know how to hide or remove them?
I attach a screenshot
Replies: 0
Is it possible to have a custom field for a date where a calendar will pop-up and the user will put in a date they are wanting?
i.e. A user wants a car wash at their house, in the contact form we currently use a date they enter. Is it possible to have a calendar pop-up and the user selects the date they are wanting?
Thank you for your time
Replies: 0
Hi there
We’re already using Selectable Recipient with Pipes as outlined on https://contactform7.com/selectable-recipient-with-pipes/. The client has come to us with an interesting request, and I’m not sure if/how this can be done.
If “Option A” is selected, they want the email notification to be sent to two people: one in the “To” and the other in the “Bcc.”
Is this possible?
Thanks,
Todd
Replies: 0
I am trying to add some color to the fonts in outgoing mail in CF7. I see that
<h1>Header1 works</h1>
But when adding a color it does not work and all mail is in black
<red>Red Color</red>
Any suggestions on the proper code to use for basic colors (Blue, grey, red)?
Replies: 2
Hi all,
I’ve found a problem which I can’t solve myself. When I submit my form I get error message in screenshot which also causes form validation to fail. Required inputs are filled in but not recognized. I’ve disabled required input, same issue. I’ve disabled all my plugins except for WPCF7, same issue. I’ve also disabled my complete theme (Salient v10) + plugins and defaulted to TwentyNineteen, same issue. I’ve also disabled cache on my hosting and the issue still persists.
In the end I solved it by completely deleting the scripts.js from the wp-content/plugins/contact-form-7/includes/js folder. Now my form submits fine.
Screenshot: https://ibb.co/VVBMpLX
Wordpress version: 5.1.1
Plugin version: 5.1.1
UPDATE: define(‘WPCF7_LOAD_JS’, false); also solved it without having to delete the file.