Announcement

Collapse
No announcement yet.

Custom Form Calling CA000001.pl

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Custom Form Calling CA000001.pl

    I have a section on my site

    http://www.sending-flowers-online.co...ewsletter.html

    which is just a simple form


    <!-- Subscribe Form Start -->
    <form method=POST action=../cgi-bin/mail.cgi><p align="center">
    Subscribe to our newsletter for details on new products and for special offers.</font>

    <input type=text name=00Name value="Your Name" size="20" tabindex="1">
    <input type=text name=01Email value="Email Address" size="20" tabindex="2">
    <input type=hidden name=BodyTag value="&lt;body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot; link=&quot;#0000FF&quot; alink=&quot;#FF0000&quot; vlink=&quot;#800080&quot;&gt;">
    <input type=hidden name=FA value=SendMail>
    <input type=hidden name=Message value="Subscribe" >
    <input type=hidden name=FormSubject value="Website Subscription">
    <input type=submit value="Subscribe">
    </form>
    <p align="center">
    <!-- Subscribe Form End -->


    Yet when I hit the Subscribe button instead of calling MAIL.CGI - (which does exist witht he correct permissions) It calls

    http://www.sending-flowers-online.co...in/ca000001.pl

    I've got the form on another V7 site - but this time built into ACT_Primary and it works fine!!!

    Any ideas why its not working within a product?

    #2
    Your form is on a product page and already has an open <form> statement (and browsers don't like nested forms - they're not really allowed).

    Just put a </form> before the start of your subscribe form and you'll be fine.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment

    Working...
    X