i2-Services, Inc. Forums

Full Version: Return to another page after submission
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After you preview and submit the form, how can I set the Thank you (completed page) to only stay there for 3 second and then return to a specific page?
You would need to enter in a meta redirect tag in the completed section of the form template.

i2-Services, Inc. Wrote:
You would need to enter in a meta redirect tag in the completed section of the form template.


This <meta http-equiv="refresh" content="2;url=http://www.blablabla.com"> ?

Correct

i2-Services, Inc. Wrote:
Correct


I put it there, but the page is refreshing before I can even start fill up the form... This is under my interface/template

I also try from the admin/configure..it doesnt seem to save the code..

Code:
<!----------- HTML FORM COMPLETED CODE BELOW ----------->
<meta http-equiv="refresh" content="2;url=http://www.dbgroupinc.ca">

  {if $completed}
  <tr>
    <td>
       {$completed_html}
    </td>
   </tr>

  {/if}


  <!----------- HTML FORM SUBMIT AND BACK BUTTON CODE BELOW ----------->

Redirect tag needs to be in the completed section, try:

Code:
<!----------- HTML FORM COMPLETED CODE BELOW ----------->
  {if $completed}
  <tr>
    <td>
       {$completed_html}

      <meta http-equiv="refresh" content="2;url=http://www.dbgroupinc.ca">

    </td>
   </tr>

  {/if}

i2-Services, Inc. Wrote:
Redirect tag needs to be in the completed section, try:

Code:
<!----------- HTML FORM COMPLETED CODE BELOW ----------->
  {if $completed}
  <tr>
    <td>
       {$completed_html}

      <meta http-equiv="refresh" content="2;url=http://www.dbgroupinc.ca">

    </td>
   </tr>

  {/if}


It work! 1 problem down 2 more to go now..lol,,thanks

Great!
Reference URL's