Announcement

Collapse
No announcement yet.

Act_CatalogBody Code

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

    Act_CatalogBody Code

    I'm trying to tidy up the original code in various templates and am uncertain about the following, which appears in the Act_CatalogBody.


    </FORM>
    <FORM METHOD="POST" ACTION="NETQUOTEVAR:SEARCHCGIURL">
    <INPUT TYPE=HIDDEN NAME="SHOP" VALUE="NETQUOTEVAR:SHOP">
    NETQUOTEVAR:SEARCHBODY
    </FORM>
    <FORM METHOD=NETQUOTEVAR:CGIMETHOD ACTION="NETQUOTEVAR:CGIURL">
    <INPUT TYPE=HIDDEN NAME="SHOP" VALUE="NETQUOTEVAR:SHOP">
    NETQUOTEVAR: DESITEMAPLINK

    NETQUOTEVAR:PRODUCTBODY

    NETQUOTEVAR:SPLASHTEXTBODY

    NETQUOTEVAR:INFOLINES

    NETQUOTEVAR:SSPPOWEREDBY

    NETQUOTEVAR:POWEREDBY
    I'm not very well up on Forms, but shouldn't the tag at the top, </form>
    come after the Netquoatevar: Desitemaplink ?

    Can someone confirm please.

    Myles
    www.magicalwonders.com

    #2
    O.K. I've had another look at this and placed the closing </form> tag underneath NETQUOTEVAR: DESITEMAPLINK, as follows.

    <FORM METHOD="POST" ACTION="NETQUOTEVAR: SEARCHCGIURL">
    <INPUT TYPE=HIDDEN NAME="SHOP" VALUE="NETQUOTEVAR: SHOP">
    NETQUOTEVAR: SEARCHBODY
    </FORM>
    <FORM METHOD=NETQUOTEVAR: CGIMETHOD ACTION="NETQUOTEVAR: CGIURL">
    <INPUT TYPE=HIDDEN NAME="SHOP" VALUE="NETQUOTEVAR:SHOP">
    NETQUOTEVAR: DESITEMAPLINK
    </FORM>
    This seems to work, but can anyone confirm if the Netquatevar: Desitemaplink is supposed to be between the form tags?

    Thanks.

    Myles
    www.magicalwonders.com

    Comment


      #3
      You need to be careful with form tags, as one set of tags can span more than one template. The </form> tag you have added is probably present in another template.

      Personally I don't think it is necessary to try to "correct" form tags as Actinic does not generally have them wrong.

      Comment


        #4
        The </form> tag you have added is probably present in another template.
        Afraid not. I haven't added a tag Jo, I've just relocated it. I assume that a form shouldn't really start with a closing tag even when written by Actinic?

        Moving the tag has removed the error from the generated online code and everything works as it should, except I'm not 100% sure where the form is supposed to end?

        Myles
        www.magicalwonders.com

        Comment

        Working...
        X