Jainil Nagar
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_spam and RecaptchaAs per the documentation, you need to add the following condition first in the filter. This checks for the other spam filters first.
if ( $spam ) { return $spam; }
Forum: Plugins
In reply to: [Contact Form 7] Reflection does not reflectThis might be due to the conditional fields plugin. Please check this Support Thread.
- This reply was modified 1 year ago by Jainil Nagar.
Forum: Plugins
In reply to: [Contact Form 7] Visitor can’t submit cf7 without loginDoes WP Hardening plugin also have rest API disabled?
CF7 uses the rest api. So the issue is not with the CF7 plugin.
Forum: Plugins
In reply to: [Contact Form 7] Visitor can’t submit cf7 without loginhttps://mfaeca.org/wp-json still shows the restriction.
Forum: Plugins
In reply to: [Contact Form 7] Change select “blank-text” based on field or formIf you want to set a placeholder than you can do the following:
[select grieve first_as_label "Select one" "Shipping" "Price" "Customer service"]
Forum: Plugins
In reply to: [Contact Form 7] Visitor can’t submit cf7 without loginYes, but it is only enabled for the logged in users. CF7 uses the rest api. So when the guest user submits the form the submission does not work.
Forum: Plugins
In reply to: [Contact Form 7] Visitor can’t submit cf7 without loginCheck
Disabled rest api
plugin settings. You may have set the option to enable the rest api for logged in user only.@kanwalshahzadi Regarding the ajax not working, it may due to the error in the custom.js file which shows in the console window.
Forum: Plugins
In reply to: [Contact Form 7] Change Contact 7 submit button background colourThere are some elementor addons available that provide styling options.
Forum: Plugins
In reply to: [Contact Form 7] Form not validating a simple required text input@jyria Please provide the form code used and list any other plugin installed related to CF7.
- This reply was modified 1 year ago by Jainil Nagar.
Forum: Plugins
In reply to: [Contact Form 7] Radio ButtonsIt looks like there is another javascript added to your site that triggers form validation when the select, radio, or checkbox value is changed.
Forum: Plugins
In reply to: [Contact Form 7] Submit ButtonThis is a CSS issue, not a CF7 plugin issue. Apply color to the submit button.
input[type="submit"] { color: #515151; }
Forum: Plugins
In reply to: [Contact Form 7] return validation messages in a popup / hide formYou can use the
wpcf7submit
DOM Event.document.addEventListener( 'wpcf7submit', function( event ) { var status = event.detail.apiResponse.status; var message = event.detail.apiResponse.message; if( status == 'validation_failed' || status == 'acceptance_missing' || status == 'spam' || status == 'aborted' || status == 'mail_failed' ) { //Trigger popup with above message variable } });
Use
wpcf7mailsent
to hide the form when mail has been sent.document.addEventListener( 'wpcf7mailsent', function( event ) { //Hide Form });
Forum: Plugins
In reply to: [Contact Form 7] Change Contact 7 submit button background colourIn your theme’s CSS file.
Forum: Plugins
In reply to: [Contact Form 7] List of hooks?Check the Documentation and Developer’s cookbook.