Forums

Load index page after "email sent" message on contact page (4 posts)

  1. forsubscriptionsonly
    Member
    Posted 1 year ago #

    Is there an easy code (not a programmer here) or a plugin that will allow me to automatically load the index page after the visitor completed a form, clicked "send" and successfully submitted the information?
    At the moment my site responds with "Your message was sent successfully. Thanks." but stays on the same form page.

    I am using Contact Form 7.

    Thank you.

  2. Takayuki Miyoshi
    Member
    Posted 1 year ago #

    This post might help.

    Contact Form 7: Redirecting to Another URL After Submissions

  3. forsubscriptionsonly
    Member
    Posted 1 year ago #

    That works nicely. Do you know if I can set the amount of time it will take between the "Your message was sent successfully" message and the loading of the next page set on the on_sent_ok?
    I want the visitor to see the form was sent successfully, then the next page loads.
    I Google'd it up, but could not find anything on delay.
    Thanks.

  4. Takayuki Miyoshi
    Member
    Posted 1 year ago #

    Maybe you can.

    on_sent_ok: "(you can put any javascript snippet here)"

Topic Closed

This topic has been closed to new replies.

About this Topic