Quantcast
Channel: WordPress.org Forums » [Contact Form 7] Support
Viewing all 49080 articles
Browse latest View live

Google Analytics / Event Tracking

$
0
0

Replies: 0

Hi all,

I see that Contact Form 7 has provided a guide to install event tracking with Google Analytics – https://contactform7.com/tracking-form-submissions-with-google-analytics/

If someone has the newest version of Analytics tracking – gtag.js – would these instructions be the same? Would this be the easiest way to setup event tracking as well as any other marketing scripts (Facebook events, etc.)

Thank you!


I need HELP

$
0
0

Replies: 0

Hello.
I have a problem.
I installed the plugin everything works perfectly.
but I have a problem when I fill certain fields with information.
more precisely I have the problem with all that “select” means.
For example, I have a choice between England, Spain and Germany. I still have an empty house.
Does anyone know of a solution? Would it be from the site template?
I also put the link to the page to see how it happens.
Thx!

Analytics events recording spam

$
0
0

Replies: 0

Hi there,

I am using CleanTalk Anti-spam plugin with Contact Form 7.

I have set up events tracking with Google Analytics like this:

https://contactform7.com/tracking-form-submissions-with-google-analytics/

It looks like my Google Analytics is recording all sumbissions, including spam.

So I guess that the Analytics event is triggered just after form submission and before the spam filter takes out the spam.

If anyone has any thoughts about how to deal with that, so I don’t record lots of spam events in Analytics, that would be much appreciated.

Thanks.

How to remove ‘e’ character from number field

$
0
0

Replies: 0

Hi,

I am using contact form 7 on my website page. I am using number field there. I can see it accepts the ‘e’ character in it. Can you please help me to avoid adding characters in this field?

Thanks

adding files to upload

$
0
0

Replies: 0

Hi,

Your form works fine and also the upload of files. But I wish to have a file upload support for files which are not allowed by WordPress, especially *.dxf files.
Do you have a work around to get it done?

Best regards,
Danny

filter password validation not working

$
0
0

Replies: 0

Hi,

function.php with the following code:

add_filter( 'wpcf7_validate_text*', 'check_pass', 20, 2 );

function check_pass( $result, $tag ) {
	if ( 'pwd' == $tag->name ) {
		$pwd = isset( $_POST['pwd'] ) ? trim( $_POST['pwd'] ) : ”;

		if ( $pwd != '12345' ) {
			$result->invalidate( $tag, "You have the wrong passcode." );
		}
	}
	return $result;
}

To see the relevant form you need to click on the “download software” button.

I use a plugin that creates a pass word field as a shortcode for cf7:
[password* pwd]

the field validates for empty but the code above not seems to work.
Help is needed please.

  • This topic was modified 29 minutes ago by shafshaf.
  • This topic was modified 26 minutes ago by shafshaf.

Load multiple cf7 forms via ajax

$
0
0

Replies: 0

I have a hidden side pane that contains a list of contacts, a click on each contact is opening a div with an ajax called cf7 form.

The ajax submission isn’t working inside the containing div. and when i submit that form the action redirect to a blank page that contains the form (that is actually the ajax url).

** to view the issue you need to click on the “VIEW THE FULL HYLABS CONTACT LIST” red button thats located on the middle of the page.

Any help will be appreciated.

Zendesk

$
0
0

Replies: 0

What is the best-practice way to send form data in to Zendesk for ticket creation? I’d like to avoid using another plugin on top of CF7. Thanks.


Contact 7 > edit form > mail tab > to (data entered may not be saved)

$
0
0

Replies: 1

Contact 7 Form editor > mail tab > to > will not save changes. I changed a recipient email address. After I save, it shows at top of page that “Contact form saved” but when I try to leave the edited page it says “data you have entered made may not be saved,” and gives the option to “leave page” or “stay on page”. Upon leaving and then opening it again the changes did not save despite the “Contact form saved” message at the top just under the Edit Contact Form page title.

Checkbox data

$
0
0

Replies: 0

We have installed Contact form 7 and CF7 to Webhook on the website.

On the form, once we fill it up and send it, the email content was sent and complete but in Zapier, the webhook isn’t getting the data of the selected checkboxes. The checkbox field is blank in Zapier when it gets the data from the form.

Currently, we have this code:

<div class=”top-cont”>I am interested in: *<br />
<i class=”subtitle”>Select all that apply</i><br />
[checkbox interested use_label_element “Executive Coaching” “Employee Care”]</div>

Thanks!

Form Checkboxes did not work

Some Fields not working on Mobile on CF7

$
0
0

Replies: 0

I have a contact form on my contact page https://pugmugmarketing.com/contact-us/

However, the website field and text field do not allow entry on mobile devices.

The form works fine on desktop and all fields are accepted.

Does anyone know of a way to fix this?

Thanks
Kevin

Add data attribute to input submit (Target: allow reCatpcha)

Mixed Content Error contact-form-7/images/ajax-loader.gif

$
0
0

Replies: 0

Hi, I am getting this error:

Loading mixed (insecure) display content “http://shapemarketing.co.uk/wp-content/plugins/contact-form-7/images/ajax-loader.gif” on a secure page

I have deactivated all other plugins (other than Fusion Builder and Fusion Core as I am using Avada theme). I have deactived, deleted an reinstalled contact form 7 but the problem still persists. Can you advise what I should try next?

THanks in advance.
Chris.

Dynamictext uneditable fields get overwritten by browser’s Autofill functionalit

$
0
0

Replies: 0

Hi guys,

I would greatly appreciate your help on this issue with ContactForm7 (@GC, pls add which version we are using).

On our form there are two fields – a “dynamictext” and a “dynamichidden” one, which have attributes “uneditable” and upon displaying the fields, respective values are set and displayed, using the “value” attribute.
These two fields are displayed on the web page as text on and are supposed to be read-only, which is indeed the case when NOT using the Auto-Fill function.

However, if the user fills out the form with browser’s AutoFill functionality, these two fields get overwritten with whatever the AutoFill function decides is suitable for these fields. In our case this is a major problem, since these two fields are pre-set with values, which are then used to match certain records. If those values get overwritten with something else, the records cannot be matched anymore.

How can we make these fields trully “uneditable”, i.e. read-only? I still need to pre-load them with certain “value” but this should be immutable, once displayed on the web page, so that AutoFill cannot overwrite the already set values.

Thanks in advance for your help!


Stop Multiple Submissions

$
0
0

Replies: 1

I have the contact form 7 set up to send the with API to a 3rd party. I need to be able to stop from having someone do multiple submissions. Is there a way to either redirect them (I tried the Redirection For Contact Form 7 plugin but it’s not working-no redirect. I assume because of the API?
Is there a way to hide the submit button after submission? I looked at an old response on here
`.wpcf7 form.sent p {
display: none;
}`
but I don’t see that form.sent in the newer version of the plugin. Any way I can accomplish this? Thanks for your time!

style and script file conflict

contact form 7 acceptance flag value

$
0
0

Replies: 0

Hi

When I add acceptance flag [novinky] to email it shows text with prefix accepted or not, between [acceptance][/acceptance].

I would like have flag value YES or NO

form:

[acceptance novinky optional]
 Prajem si dostávať <a href="#modal-form-prihlaskaGDPR2" uk-toggle">informácie o 
 novinkách</a>
[/acceptance]

Additional settings:
acceptance_as_validation: on

mail body:
[novinky]

showing in mail body:
Odsuhlasene: Prajem si dostávať informácie o novinkách

want to show in mail body:
yes

contact form tag and id
[contact-form-7 id="2111" title="Prihlaska"]

Anyone some idea?

Thank you
Kalap

  • This topic was modified 11 hours, 43 minutes ago by kalap.

Parsing specific information from user_agent

$
0
0

Replies: 0

Hello

I’m wanting to be able to make information gathered by Contract Form 7’s “user_agent” divided up into different rows in Flamingo.

For example, I would like the info highlighted (Operating System, Operating Platform Code) in the example below to each have its own column, right under the complete “user_agent” info, so that I can contrast the exact info collected against a database.

https://i.imgur.com/vvr5PEq.png

Is there a good way to go about this?

Thanks in advance for any guidance.

CF7 and Bootstrap 4.3 Modal

$
0
0

Replies: 0

I am trying to put a CF7 contact form within a modal and i am receiving the spinning loader. Once i turn off ajax load, the form works, however it refreshes the page which means the user would need to open the form again to see if there’s any errors. They would also need to do the same thing if the form is successfully transmitted.

if ( ! defined( 'WPCF7_LOAD_JS' ) ) {
	define( 'WPCF7_LOAD_JS', true );
	//define( 'WPCF7_LOAD_JS', false );
}

Is there any viable solution to this problem?

I’ve added scripts to the functions.php file within my theme

function my_scripts() {
    wp_enqueue_script( 'boot1','https://code.jquery.com/jquery-3.3.1.min.js"', array( 'jquery' ),'',true );
    wp_enqueue_script( 'boot2','https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js', array( 'jquery' ),'',true );
    wp_enqueue_script( 'boot3','https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js', array( 'jquery' ),'',true );
    wp_enqueue_script( 'boot4','/wp-content/themes/site/assets/services.js', array( 'jquery' ),'',true );
}
add_action( 'wp_enqueue_scripts', 'my_scripts' );

This is the actual modal code

<div class="modal fade launch-contac-us-modal" id="contact-formModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Contact Us</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div id="contact-form-modal-body" class="modal-body">
		
	<!-- Start Contact form Modal -->
        <?php echo $contact_form_content; ?>
        <?php echo do_shortcode( '[contact-form-7 id="128" title="Contact form"]' ); ?>

      </div>
    </div>
  </div>
</div>
  • This topic was modified 5 hours, 3 minutes ago by caddyboy0103.
  • This topic was modified 4 hours, 53 minutes ago by caddyboy0103.
  • This topic was modified 4 hours, 42 minutes ago by caddyboy0103.
Viewing all 49080 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>