Jump to content

Once Submitted - taken to a new URL or Page


khaus

Recommended Posts

Have a form, that working -  ;D

 

Now, once the form is submitted, I'm trying to send someone to a Thankyou page.

 

S/t just isn't quite working, this is what I have:

 

<tr><td colspan="2" align='center'><input type='submit' value='Submit' />    <input type='button' value='Cancel' onclick="location.href='/';" /></td></tr> </table> </form>    <!-- End: -->    <?php        if( $sErr ) print "<script language='javascript' type='text/javascript'>location.href='#error';</script>";;;  else: //!$isHideForm    print( "<br><br><hr><center><b>Your form has been sent. Thank you.</b><br><br><input type='button' value='Home' OnClick=\"location.href='http://www.myurl.com/thankyou.html';\"></center><br><br>" ); endif; //!$isHideForm            ?> 

Sorry

<!-- End: -->



<?php
        if( $sErr ) print "<script language='javascript' type='text/javascript'>location.href='#error';</script>";;; 

else: //!$isHideForm
    print( "<br><br><hr><center><b>Your form has been sent. Thank you.</b><br><br><input type='button' value='Home' OnClick=\"location.href='http://www.thesavvybride.com/thank_you.html/';\"></center><br><br>" );
endif; //!$isHideForm
            ?> 

<!-- footer -->

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.