Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Not possible at the moment. “Thank you” pages are discouraged by the CF7 author. You can read why here: https://contactform7.com/redirecting-to-another-url-after-submissions/

    In a future version of the plugin it will be possible to add conditional tags to the Success-message though.

    Thread Starter lauramark

    (@lauramark)

    Thank you Jules,

    with this function

    <script>
    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
    location = ‘https://example.com/&#8217;;
    }, false );
    </script>

    Is possible mark a group or select option that users have check?

    I am thinking a solution ??

    Thank you Jules ??

    Plugin Author Jules Colle

    (@jules-colle)

    i guess you could check if the group is hidden with something like if ('#group-name').hasClass('wpcf7cf-hidden') { location = 'https://ex.com/page1'; } else { location = 'https://ex.com/page2'; }

    • This reply was modified 5 years, 10 months ago by Jules Colle.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘If possible differents thank you page depends conditional group?’ is closed to new replies.