WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] Landing Page (6 posts)

  1. dadevr
    Member
    Posted 4 years ago #

    Sorry, I've asked a question for contact form 7 plugin.

    Can I setup a landing page with this plugin?

    I have already setup the additional setting but don't working: on_sent_ok: "location.href('htt://www.yourthankypage.com');"

    Thank you

    http://wordpress.org/extend/plugins/contact-form-7/

  2. momossy
    Member
    Posted 4 years ago #

    I need to set up a seperate landing page for a site I am doing. can this be done? I have seen the solution mentioned above but this is not working for me either.

    Althouth it is a contact form I want to use to gather information before redirecting. (printing company - gather information for a business card) on submission redirect to WP-Ecommerce where they can select numbers, quntities etc before payment.

    I have the form looking perfect. thinking it would be a simple selection of a seperrate landing page. im now at a loss? please help?

    From what I gather from the other posts the developer does not want to add this for what ever reason. Has anybody found a solution. (other than the one above and There was another that entailed editing the php, this is not good for me as i need more than one re-direct for different products)

    Thanks

    Lee

  3. iforester
    Member
    Posted 4 years ago #

    Hello, @momossy

    Try this feature (on_sent_ok: "location.href('htt://www.yourthankypage.com');"), I have a little idea:

    Copy your forms before!
    And then, you can modify the thank you location by forms...:
    FORM1 -> redirect1
    FORM2 -> redirect2
    (...)
    FORM-n -> redirect-n

    what do you think about?

  4. converting2wp
    Member
    Posted 4 years ago #

    A "thanks for submitting the form" page is one thing. A page (or e-commerce system) that actually *uses* the data from the form is another. It sounds as if your question is related to the one I asked in http://wordpress.org/support/topic/399486?replies=3 -- but I don't think my strategy is optimal, and it may not work for you. But I thought I'd share here in case you have a better solution.

  5. ABCDiamond
    Member
    Posted 4 years ago #

    Can someone tell me where exactly you would put this code, assuming it works:

    (on_sent_ok: "location.href('htt://www.yourthankypage.com');")

    Thanks.

  6. converting2wp
    Member
    Posted 4 years ago #

    At the bottom-left of the area where you're editing your form, there's a section "Additional Settings".

    Click the "show" link and it will open up a text area where you can add additional settings :-).

    That's where the line you reference goes. Mine looks like

    on_sent_ok: "location = '/pay-dues';"

    which uses a relative address as I move the site from DEV to TEST to Production.

Topic Closed

This topic has been closed to new replies.

About this Topic