Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author hoffcamp

    (@hoffcamp)

    Thats a good idea! I’ll add it to the next version.

    Plugin Author hoffcamp

    (@hoffcamp)

    Let me backtrack – I didn’t add this as a feature. There are a couple of ways to do this.

    1) You could put a script in your acknowledgement message:

    Thank you! Your data has been submitted. <script language="javascript">setTimeout('location.replace("YOUR_URL_HERE")', 3000); </script>

    2) You could make a custom summary template. You could use a page slug, or just replace the URL in the script. Paste the following in a php file and upload it to /templates/:

    <?php
    /*
    Template Name: Auto-Redirect ('PAGE_SLUG_HERE')
    Template Type: email, summary
    
    //////////////////////////////////////////////////////////////////////////////////////////
    
    */
    
    $pageURL = "#";
    $page = get_page_by_path("sample-page");
    if($page)
    $pageURL = get_permalink($page->ID);
    ?>
    SHOULD REDIRECT IN 3 SECONDS
    <script language="javascript"><!--
    setTimeout('location.replace("<?php echo $pageURL; ?>")', 3000);
    //-->
    </script>
    Thread Starter thekjub9

    (@thekjub9)

    but to add it as a feature i would rethink it …

    maybe to put this in the plugin settings in a text form next to the “Thank you! Your data has been submitted.” part

    so its one there if somebody wish to use it
    because I really wouldnt find out this code by myself

    thx
    and in few weeks or month I really will forget this code so if you need it it would be great to have it directly inside WP instalation

    Plugin Author hoffcamp

    (@hoffcamp)

    Okay… you’ve got me convinced. I’ll include it in the next update.

    Thread Starter thekjub9

    (@thekjub9)

    ?? thx you are the best

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WordPress Form Manager] redirection after subbmiting a form’ is closed to new replies.