Announcement

Collapse
No announcement yet.

E-mail form

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

    E-mail form

    I'm trying to add an e-mail form, using <form>, to one of my fragment pages but I can't get it to work - are there any issues in using <from> with Actinic?

    Dave

    #2
    FORMS withing Fragments should be OK - assuming that each Product has it's own Add to Cart button.

    FORMS within Products will be problematic as each Product is within an Actinic Generated FORM and you cannot nest FORMs.

    If you use the Single Add to Cart per page then the entire product list (including any Fragments) is within a FORM making it very difficult for you to place your own one.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Norman

      My fragment is part of a sub-section without any products on it.

      <form method="post" enctype="multipart/form-data" action="http://pub45.bravenet.com/emailfwd/senddata.php">

      Form details added plus send button then...

      </form>

      Why doesn't this worK??? Does it conflict with something within Actinic? It works OK on a basic webpage.

      Dave

      Comment


        #4
        Without seeing the page we've no idea why it won't work. Post an URL so we can see what's happening.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          I seem to remember when i was creating an "add to mailing list" form on the product pages there is a full form that takes up the entire product area,

          I had to edit my Act_primary and put the mailing list form at the bottom after the </form> tag

          this will however mean that your form will appear on EVERY page that uses act_primary (probably all your product pages) but thats what we wanted
          www.incredibid.co.uk

          Comment


            #6
            OK - form is at : http://www.troononline.net/acatalog/Mr.Towbar.html
            Dave

            Comment


              #7
              You've got nested forms there. Actinic seems to be putting a form around all these fragments (I assume they're fragments - is this a Brochure or Product Page?).

              The easiest (and slightly kludgy way) to fix this is to make sure your form is at the bottom of the page and start your code with </form>. This will end the Actinic form and leave a spurious </form> tag at the bottom of the page which browsers will ignore.

              You could also try doing as above but adding leaving out your own </form> tag and let the final Actinic one replace it.
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #8
                They don't call you Stormin' Norman for nothing - well done - it works with a </form> before the !!<

                Dave

                Comment


                  #9
                  Stick a <form> before your >!! and that will take care of the extraneous trailing </form> that Actinic is putting in.
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #10
                    Is that in addition to the </form> before the !!< ???
                    Dave

                    Comment


                      #11
                      Yes. You should have

                      !!<
                      </form>
                      Your form stuff
                      <form>
                      >!!
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment

                      Working...
                      X