Community Forums 

Main Content

Re:Continue shopping return address

    Oct 05 2012 22:24:03

    #1

    DaveZ

    Join date : 2009-08-12      Posts : 18

    I understand how to reference the correct line in the form. What I don't get is where this line of code...

    Here's the code you add to your form line:
    onsubmit="document.myForm.elements[1].value=window.location

    goes. In the buy now form or somewhere else?

    And where does this form...

    The page has to be uploaded to your website to work.

    <form name="myForm" action="http://ww12.aitsafe.com/cf/add.cfm";; method="post" onsubmit="document.myForm.elements[1].value=window.location;">
    <input name="userid" value="E9120065" type="hidden">
    <input name="return" value="" type="hidden">

    go on my website?

    I'm sorry but I just don't get it.