When I insert a hiddenfield like this: “[hidden categoryId “1”]” it looks like the message is not sent – but it does. When I remove “[hidden categoryId “7”]” it works as intended!
]]>Hi guys!
Im building a form where i have a field type select with data. “text|email@email” “text2|email2@email”etc, cuz it sends an email for each selection of this field.
I need a hidden field that capture just the”text” of that field. I tried using _raw_ but in the DB it still saving with the email and not with the text.
May if i use a hidden field that use de values of the select with _raw_ it could be saved correctly.
Do you guys know if it is possible to do itin this way?
Than you!
]]>Hi !
I am trying to figure out why I can’t see the dropdown menu’s user’s selections in the emails I get once they filled out the form.
I only see name, email and message body, while there are several dropdowns available.
Thanks for your help.
]]>Hi all,
How do I auto Fill the Contact form 7 fields with the Specific Logged in user’s data?
]]>I am in the trial and error stages of my Fitness website and am trying out Contact Form 7 to help me automatically generate diet plans for my users. I need to use multiple calculator fields on the form that I do not want the user to see. I downloaded the plug-in “Contact Form 7 Modules” but I do not see a short code option for hiding the calculator field. Can you please advice as to how I can accomplish this? Thanks greatly.
]]>Hi,
the post_date tag send same value for all post in different date and times. It also sends the wrong date and time. It’s not related to GMT since today is Jun 26, 2019, but it sends Jun 22, 2019 with same time for all inputs.
Hi, do we need an update here? https://prntscr.com/lh9spd
]]>Hello,
I would like to format the output of my hidden “post_date”-field. I found a piece of code on the internet but it doesn’t work:
What I would like to achieve is: “21.09.2018”
What I get is the standard: “2018-09-19 10:50:29”
My code in the form:
[hidden post_date "post_date"]
My code in the email field:
[_format_post_date "d.m.Y"]
Does anyone have an idea? Thanks a lot!!!
]]>Hi, I do not understand how to use this plugin.
If I add a contact form to a page e.g. [contact-form-7 id=”51″ title=”Contact form 1″]
And I want to add the title of the page (or any value I want) to the mail how do I do that? i.e. Where and how do I add it?
Does anybody know how this hook works: If you know the ID of the input, you can also use the wpcf7_hidden_field_value_[#ID] filter.
I have the following but it does not work:
function filter_wpcf7_hidden_field_value_id_att( $value ) {
global $wpdb;
$uniqueid = $wpdb->get_var("SELECT MAX(<code>data_id</code>) FROM <code>wp_cf7_vdata_entry</code> WHERE 1");
return $uniqueid;
};
// add the filter
add_filter( "wpcf7_hidden_field_value_ID123", 'filter_wpcf7_hidden_field_value_id_att', 10, 1 );
The field is configured as this: [hidden hidden-731 id:ID123]
any help appreciated.
]]>Hello this field is not working
[hidden serial_number “serial_number”] but this is working [hidden post_author “post_author”]
Please tell me the solution
Need an example on how to pass along the url of the page calling the form plugin in a hidden field.
]]>Is something like this possible:
[hidden post_title “[full_name] in [city]”]
where [full_name] and [city] are captured using the form?
]]>Thanks for including the FAQ of How do I modify the output of all-fields
shortcode?
For those who are not as adept at coding as the plugin author, can you please provide an example of the code you would use, and how to include it (in our functions.php file?)
The FAQ simply states:
= How do I modify the output of the [all-fields]
shortcode? =
* wpcf7_send_all_fields_format_before
– Before the loop of fields (<dl>
for HTML output)
* $value
_string_ Previous output
* $format
_string_ Either “html” or “text”
* wpcf7_send_all_fields_format_item
– Change each item output. Passes four arguments:
* $value
_string_ Previous output
* $k
_string_ Field label
* $v
_string_ Value of the field
* $format
_string_ Either “html” or “text”
* wpcf7_send_all_fields_format_after
– After the loop of fields (</dl>
for HTML output). Passes two arguments:
* $value
_string_ Previous output
* $format
_string_ Either “html” or “text”
Hi,
I use your very useful and helpful the Contact Form 7 Modules: Send All Fields plugin, version 2.0.2.
CF7 is set with the checkbox to send the mail with html format, but for some reason it appears that the plugin gets html as false all the time.
I looked in the send-all-fields.php
file at lines 29-31:
$html = false;
if ( wpautop( $array['body'] ) == $array['body'] ) {
$html = true;
}
When I var_dump($html)
it is always false, which causes the mails to be sent as a one long string unreadable for humans.
Meantime I just hard coded changed $html
to be true
always and it’s ok.
But it seems that the if statement returns alwayas false.
Could it be fixed please?
Thanks
Maor
Hi,
I am using re-captcha with form. All fields tag includes recaptcha/really simple captcha fields. Recaptcha field and values are long random string and does not looks good. This fields should be skipped. It would be good if you could add filter just like you added for empty fields so that we can skip those filed using filter.
Thanks
]]>I am trying to send static location info to Mailchimp using the shortcode below:
[hidden mc4wp-SOURCE “Contact Us”]
I just want “Contact us” to appear in the Mailchimp SOURCE field anytime someone subscribes from this particular CF7 form.
I have created the SOURCE merge tag in Mailchimp, but the field is not populating when subscription is added.
Any insight as to what I’m doing wrong? Thanks.
]]>Hello Firstly great plugin.
Recently i installed on couple of websites but when we send email the content appear in single line when we use [all-fields]
Earlier versions were working fine. FYI. Emails are also set to use HTML content type.
Please let me know if its a known issue or sorry if its a duplicate one
Thanks in advance.
]]>The module uses a deprecated function call, line 43 of hidden.php
,
[22-Dec-2016 11:36:09 UTC] PHP Notice: wpcf7_add_shortcode is <strong>deprecated</strong> since Contact Form 7 version 4.6! Use wpcf7_add_form_tag instead. in /Users/aurovrata/Sites/crm/wp-content/plugins/contact-form-7/includes/functions.php on line 351
[22-Dec-2016 11:36:09 UTC] PHP Stack trace:
[22-Dec-2016 11:36:09 UTC] PHP 1. {main}() /Users/aurovrata/Sites/crm/wp-admin/admin-ajax.php:0
[22-Dec-2016 11:36:09 UTC] PHP 2. require_once() /Users/aurovrata/Sites/crm/wp-admin/admin-ajax.php:22
[22-Dec-2016 11:36:09 UTC] PHP 3. require_once() /Users/aurovrata/Sites/crm/wp-load.php:37
[22-Dec-2016 11:36:09 UTC] PHP 4. require_once() /Users/aurovrata/Sites/crm/wp-config.php:101
[22-Dec-2016 11:36:09 UTC] PHP 5. do_action() /Users/aurovrata/Sites/crm/wp-settings.php:326
[22-Dec-2016 11:36:09 UTC] PHP 6. WP_Hook->do_action() /Users/aurovrata/Sites/crm/wp-includes/plugin.php:453
[22-Dec-2016 11:36:09 UTC] PHP 7. WP_Hook->apply_filters() /Users/aurovrata/Sites/crm/wp-includes/class-wp-hook.php:323
[22-Dec-2016 11:36:09 UTC] PHP 8. call_user_func_array:{/Users/aurovrata/Sites/crm/wp-includes/class-wp-hook.php:298}() /Users/aurovrata/Sites/crm/wp-includes/class-wp-hook.php:298
[22-Dec-2016 11:36:09 UTC] PHP 9. contact_form_7_hidden_fields() /Users/aurovrata/Sites/crm/wp-includes/class-wp-hook.php:298
[22-Dec-2016 11:36:09 UTC] PHP 10. wpcf7_add_shortcode() /Users/aurovrata/Sites/crm/wp-content/plugins/contact-form-7-modules/hidden.php:43
[22-Dec-2016 11:36:09 UTC] PHP 11. wpcf7_deprecated_function() /Users/aurovrata/Sites/crm/wp-content/plugins/contact-form-7/includes/shortcodes.php:9
[22-Dec-2016 11:36:09 UTC] PHP 12. trigger_error() /Users/aurovrata/Sites/crm/wp-content/plugins/contact-form-7/includes/functions.php:351
]]>
I like the forms on your page https://cf7style.com/contact/, Default value, your name, your email and your message are in the input box. How do I set to like yours? I choose the style that has similar appearance in preview, but it did not work.
]]>Hi,
We currently upgraded to WordPress 4.7 and we are getting errors from the Hidden Module.
Notice: WPCF7_Shortcode is deprecated since Contact Form 7 version 4.6! Use WPCF7_FormTag instead.
Can you push out a fix for this ASAP please?
Thanks
David
hey,
i have made a Custom Post Type archive page (using toolset):
the page loop has a call for a popup modal in each post. the modal contains CF7 form with hidden field post_title. but no matter which post in the archive I send it from, it always gives me the title of the first post in the archive, and not the right post.
I also tried creating a custom field with custom post title for each post (i used custom_field-ctitle), but that only send me blanks.
any idea?
thanks!!!
Ido
]]>Hi,
I want to filter form list in BO by user who create form, is it possible ?
Thanks
]]>How can I use this plugin to add more fields like this:
Name
Email
Service
[+ Add more services]
… Clicking add it enters another SERVICE …
Name
Email
Service
service 2
[+ Add more services]
Thank you!
]]>Okay, so I have a question about a complicated application.
I would like the Contact Form 7 recipient to be based on the page from which the form is submitted.
Could I have hidden radio button/select field with pipes such that the value is grabbed from say post_title??
https://www.ads-software.com/plugins/contact-form-7-modules/
]]>Hello,
I’m sure there is a way to do this with one of the filters provided with the plugin but can’t quite figure it out. Could you provide an example of how to remove a field from the results? Basically I have a anti-spam key that is submitted with the form and I don’t want to include that with the rest of the form fields.
Thanks in advance.
https://www.ads-software.com/plugins/contact-form-7-modules/
]]>Is there a way I can validate if hidden field is let’s say, an email? So I can use it in “to” and “from” mail configurations?
https://www.ads-software.com/plugins/contact-form-7-modules/
]]>I added some fields to the user profile with the plugin “Profile Extra Fields” of bestwebsoft. Using contact form 7 in the appropriate references (example: [hidden company “user-company”]) but the mail sent from the form does not indicate the value of the field but what I think is the name of the field (user company). what am I doing wrong? I’m hoping for some help? Thank you.
https://www.ads-software.com/plugins/contact-form-7-modules/
]]>I installed Contact 7 Form Modules and it works fine. I added a couple hidden fields to the form; looking at the page source they are there.
The next task is to have the form process according to the hidden fields (or even something in the subject 9your-subject].
For instance, if hidden field xyz has been filled in, then I know it’s a bot, a spammer, so I either politely exit or perhaps collect the IP address and pass it along to honeypot. So, some action. Simple action:
code
<?php
if ( $my_hidden_field ) { $spambot = true; exit; }
if ( $email-subject == “whatever” ) { $spambot = true; exit; }
?>
code
Where would I set this up (what file to edit), how do I use the wordpress variables?
https://www.ads-software.com/plugins/contact-form-7-modules/
]]>I just noticed that your plugin causes error notice. See below
500 – Internal Server Error
If you are the webmaster of this site please log in to Cpanel and check the Error Logs. You will find the exact reason for this error there.
Common reasons for this error are:
Incorrect file/directory permissions: Above 755.
In order files to be processed by the webserver, their permissions have to be equal or below 755. You can update file permissions with a FTP client or through cPanel’s File Manager.
What can be the reason please?
https://www.ads-software.com/plugins/contact-form-7-modules/
]]>