Community Forums 

Main Content

correct syntax for voucher form return?

    Feb 08 2016 10:20:27

    #1

    heathzap

    Join date : 2016-01-13      Posts : 18

    Not sure why I cant get this to work correctly but using

    <FORM METHOD="POST" ACTION="http://ww#.aitsafe.com/cf/voucher.cfm">

    what is the correct syntax for using return?

    Is it ACTION="http://ww#.aitsafe.com/cf/voucher.cfm &return www.xxxxx.com/xxx.html"?

    Tx



    Feb 08 2016 11:53:36

    #2

    GT

    Join date : 2008-09-18      Posts : 3212

    &amp;return=www.yoursite.com/yourpage.html

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.




    Feb 08 2016 13:12:27

    #3

    heathzap

    Join date : 2016-01-13      Posts : 18

    GT said &return=www.yoursite.com/yourpage.html

    tx GT



    Feb 08 2016 15:19:58

    #4

    heathzap

    Join date : 2016-01-13      Posts : 18

    GT said &return=www.yoursite.com/yourpage.html

    what am I doing wrong here that this isn;t working:

    <FORM METHOD="POST" ACTION="http://ww*.aitsafe.com/cf/voucher.cfm" &amp;return=www.********.com/vouchers.html> ???

    Tried &amp;return=www.********.com/vouchers.html inside the " and it didn;t work either

    Help!



    Feb 09 2016 14:31:45

    #5

    GT

    Join date : 2008-09-18      Posts : 3212

    Put the URL inside quotes...

    Does the URL exist?

    Can we see the page, you can email me if you prefer...

    gt@malsforms.com

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.




    Feb 11 2016 10:27:28

    #6

    Geoff

    Join date : 2008-09-18      Posts : 415

    You can't mix form syntax and hyperlink syntax. You are clearly using a form so the correct additional markup to create a continue shopping button would be -

    <input type="hidden" name="return" value="www.example.com/yourpage.html">;

    The support pages of this website give detailed information on constructing forms and hyperlinks.