• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Conditionnal redirect with checkbox in Contact Form7

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Conditionnal redirect with checkbox in Contact Form7

This topic is: not resolved

Tagged: redirect

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 6 months ago by panatan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 14, 2017 at 7:26 am #211447
    panatan
    Participant

    Hi all !

    I’m using Cf7 (+Genesis + Atmospherepro) and would like to redirect after submit depending on checked checkboxes.
    I was using following code with additional Setting “on_sent_ok” :

    on_sent_ok: “var page = $(“input[name=checkbox-409]:checked”).val() ; if (page == ‘term1’ ){ location = ‘/page1/’; } else if (page == ‘term2’ ){ location = ‘/page2/’; } else if (page == ‘term3′ ) else {location =’/index.php/’; }”

    on_sent_ok is now depreciated and redirect doesn’t works anymore :/
    I would like to find a solution.
    Does anyone could help me ? Is there an alternative (other plugin for example) ?

    Thank you, best regards and sorry for my poor English

    September 14, 2017 at 11:09 am #211471
    Victor Font
    Moderator

    You may get a faster response asking your question in a CF7 forum. This forum is focused on questions for the Genesis Framework and Studio Press themes. Even though you are using them, this question is not about either. It's about a 3rd party plugin.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    September 14, 2017 at 11:21 am #211473
    panatan
    Participant

    Already done but nobody knows :/
    Thank you

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble