Tag Info

New answers tagged

0

Using on_sent_ok as explained at contactform7.com/additional-settings can be very useful for adding some simple JavaScript like redirecting to another page. However it is rather prone to failing due to Javascript conflicts with either your current WordPress theme or one of the other plugins you are using. on_sent_ok is the absolutely last thing that runs ...


1

Ok figured it out. In the specific form settings, go to the additional fields tab. Type in the following: on_sent_ok: "location.replace('http://www.website-redirect.com');" It's working like a charm for me now. Hope this helps other developers in the future as well. I know the image is in Dutch ... but you can't miss it with the big red lines around the ...


1

The issue is that whenever Contact Form 7 generates the form shortcode it doesn't create a name attribute and it doesn't seem to fallback to using the title attribute of the shortcode. HTML 5 doesn't like empty name attributes. One solution until this is fixed could be to add an attribute to your Contact Form 7 shortcode html_name and give it some kind of ...


0

i think you have some mistake on form creation it should be like [text* text-1 class:form-control placeholder "Name"] Where text-1 is name attribute. So check your end and fix issue.


0

This actually worked for setting the cookie. My issue was getting them in as a contact first before their browsing history would pull in.



Top 50 recent answers are included