• Resolved iconoclastix

    (@iconoclastix)


    Hi, I am using a CF7 form on my WP site to collect information from iPads that will be set up around a booth at a fair. I want the page that holds the form to refresh after each submission so that the next person sees the top of the page and a blank form instead of the bottom of the page and a thank you message. Is this possible? Is it possible to set it to refresh after a specific time period (i.e. 3 seconds)? Thanks for any help!

    https://wordpress.org/plugins/contact-form-7/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter iconoclastix

    (@iconoclastix)

    Sorry to bump this, but does anyone know how to do this? I would really like to be able to have the form automatically refresh the page after being submitted…

    Thread Starter iconoclastix

    (@iconoclastix)

    Such helpful. Much wow.

    Thankfully I was able to solve this on my own after some intense googling since no one else seemed to have an answer. For anyone looking to accomplish the same thing, all you have to do is add the following code to the “Additional Settings” section of your CF7 form configuration:

    on_sent_ok: "location = 'http://mysite.com/myform';"

    Just replace the URL with the URL of your form page and presto, it’ll automatically refresh back to that page when the form is submitted!

    Guys, I have been using this code since Contact 7 came out but I just noticed a problem. Not sure whats causing it.

    IN chrome this works very well. But in Firefox… it stays on the form page and does not refresh to the new page. i.e. http://networktokyo.com/_wp/?page_id=108

    Does anyone have a work-around for this. Firefox is widely used.

    Thanks in advance.

    Dwayne

    @dwaynebmw – As per the Forum Welcome, please post your own topic.

    Posting in an existing resolved topic is generally considered inappropriate.

    Added to which, your problem – despite any similarity in symptoms – is likely to be completely different.

    NEVER MIND. I found a plugin that works great!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to force CF7 form to refresh after submit?’ is closed to new replies.