Hi
I'm getting these errors when I check my code.
1) Nested HTML Form Tags
2) HTML form close tag is found without open tag
Doble clicking takes me to the following layouts:
1) Layout Code - Search Page Bulk Area (1st line)
Code follows:
--------------------
<form method="get" action="<actinic:variable name="OnlineScriptURL" value="Search Script URL" />">
<input type="hidden" name="RANDOM" value="<actinic:variable name='Random'/>" />
<!-- SearchTemplate HTML begin -->
<!-- Add Search Page header HTML here -->
<input type=HIDDEN name="PAGE" value="SEARCH">
<table border=0 cellspacing=0 cellpadding=0 width="<actinic:variable name="ACTSTDWIDTH"/>" align="left">
<tr>
<td colspan=2 valign=TOP align=LEFT><p> </p>
<p><actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e%20and%20%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e">
<actinic:variable name="SearchPromptPriceSearchEnabled" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e%20%3d%3d%20False%20or%20%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e%20%3d%3d%20False" >
<actinic:variable name="SearchPrompt" />
</actinic:block> <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e%20and%20%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e">
<actinic:variable name="RetailOnlyXml" />
</actinic:block></p>
<p> </p>
</td>
</tr>
<tr>
<td valign="TOP" align="left">
<table border=0 cellspacing=0 cellpadding=3 width="<actinic:variable name="ACTSTDWIDTH"/>">
<tr>
<td valign="TOP"> <b><actinic:variable name="SearchString"/></b><br>
<input type=TEXT name="SS" size=40 maxsize=255>
<br>
<actinic:variable name="SearchCombine"/>
<input type=RADIO name="TB" CHECKED value="A">
<actinic:variable name="SearchAndPrompt"/>
<input type=RADIO name="TB" value="O">
<actinic:variable name="SearchOrPrompt"/> <actinic:variable name="SearchCombineText2"/>
<script language="JavaScript">
<!--
for (nIndex = 0; nIndex < document.forms.length; nIndex++)
{
if (document.forms[nIndex] && document.forms[nIndex].SS)
{
document.forms[nIndex].SS.focus();
}
}
// -->
</script>
</td>
<td valign="TOP"> <b><actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e">
<Actinic:Variable Name="SearchPriceRangeLabel"/>
</actinic:block></b><br>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e">
<actinic:variable name="SearchPriceBandList" />
</actinic:block> </td>
</tr>
<actinic:variable name="SearchablePropertyList"/>
<tr>
<td colspan=2 valign="BOTTOM"> <b><actinic:block if="%3cactinic%3avariable%20name%3d%22SearchBySectionsUsed%22%20%2f%3e">
<actinic:variable name="SearchControlLabel"/>
</actinic:block></b><br>
<actinic:block if="%3cactinic%3avariable%20name%3d%22SearchBySectionsUsed%22%20%2f%3e">
<select name="SX">
<actinic:BLOCK if="%3cactinic%3avariable%20name%3d%22SetupSearchAllSections%22%20%2f%3e%20%20%3d%3d%20False" >
<option value="0"> </option>
</actinic:block>
<actinic:variable name="SearchSectionList" />
</select>
</actinic:block> </td>
</tr>
<tr>
<td colspan=2 valign="BOTTOM">
<input type=SUBMIT name=ACTION value="<actinic:variable name="SearchLabel"/>">
</td>
</tr>
</table>
<p> </p></td>
</tr>
<tr>
<td valign="TOP"><actinic:block if="%3cactinic%3avariable%20name%3d%22IsSearchInterfaceUsed%22%20%2f%3e">
<actinic:variable name="MarketingMessage"/>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22InformationType%22%20%2f%3e%20%20%3d%3d%202%20%20AND%20%3cactinic%3avariable%20name%3d%22IsSearchInterfaceUsed%22%20%2f%3e">
<actinic:variable name="TermsAndConditions" value="About Us" if="%3cactinic%3avariable%20name%3d%22IsAboutUsTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Purchase" if="%3cactinic%3avariable%20name%3d%22IsMakingAPurchaseTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Shipping And Handling" if="%3cactinic%3avariable%20name%3d%22IsSHChargesTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Delivery" if="%3cactinic%3avariable%20name%3d%22IsDeliveryScheduleTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Backorders" if="%3cactinic%3avariable%20name%3d%22IsBackordersTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Tax Charges" if="%3cactinic%3avariable%20name%3d%22IsTaxChargesTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Credit Card Security" if="%3cactinic%3avariable%20name%3d%22IsCCSecurityTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Guarantee" if="%3cactinic%3avariable%20name%3d%22IsGuaranteesTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Reaching Us" if="%3cactinic%3avariable%20name%3d%22IsReachingUsTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Privacy Policy" if="%3cactinic%3avariable%20name%3d%22IsPrivacyPolicyTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Returns Policy" if="%3cactinic%3avariable%20name%3d%22IsReturnsPolicyTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Remittance Terms" if="%3cactinic%3avariable%20name%3d%22IsRemittanceTermsShown%22%20%2f%3e" />
</actinic:block>
</td>
</tr>
</table>
<!-- Add Search Page footer HTML here -->
<!-- SearchTemplate HTML end -->
</form>
--------------------
2) Layout Code - Search Results Page Bulk Area (Last line)
Code follows:
--------------------
<form method="get" action="<actinic:variable name="OnlineScriptURL" value="Search Script URL" />">
<input type="hidden" name="RANDOM" value="NETQUOTEVAR:RANDOM" />
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
<!-- Hidden field when in trial mode -->
<input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>" />
</actinic:block>
<!-- Results HTML begin -->
<!-- Add Results Page header HTML here -->
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=10 WIDTH="<actinic:variable name="ACTSTDWIDTH"/>" align="left">
<TR>
<TD ALIGN=LEFT>
<B><actinic:variable name="SearchResultSummary"/></B><BR><actinic:variable name="SearchResultContinue"/>
</TD>
</TR>
<TR>
<TD ALIGN=LEFT>
<Actinic:SEARCH_RESULTS>
<actinic:variable name="SearchResultItem"/>.
<!-- by mab
<Actinic:XMLTEMPLATE NAME="ImageLine">
<IMG SRC="<actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsImage%22%20%2f%3e" >
<actinic:variable name="SearchResultProductImage" />
</actinic:block>" <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsImage%22%20%2f%3e" >
<actinic:variable name="SearchResultProductImageSize" />
</actinic:block>>
</Actinic:XMLTEMPLATE>
-->
<actinic:variable name="SearchResultLink"/><B><actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsName%22%20%2f%3e">
<Actinic:Variable Name="SearchResultProductName"/>
</actinic:block></B></A> <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsSectionName%22%20%2f%3e">
<Actinic:Variable Name="SearchResultSectionName"/>
</actinic:block> <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsPrice%22%20%2f%3e">
<Actinic:Variable Name="SearchResultPrice"/>
</actinic:block> <BR>
<actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsDescription%22%20%2f%3e">
<br /><actinic:variable name="SearchResultFullDescription" />
</actinic:block><BR>
<actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsProperties%22%20%2f%3e" >
<br /><actinic:variable name="SearchResultProp" />
</actinic:block><P>
</Actinic:SEARCH_RESULTS>
</TD>
</TR>
<TR>
<TD ALIGN=LEFT>
<B><actinic:variable name="SearchResultSummary"/></B><BR><actinic:variable name="SearchResultContinue"/>
</TD>
</TR>
</TABLE>
<HR SIZE="1" align="left" WIDTH="<actinic:variable name="ACTSTDWIDTH"/>">
<actinic:variable name="MainArea" value="Search Page Bulk Area"/>
<!-- Add Results Page footer HTML here -->
<!-- Results HTML end -->
</form>
--------------------
I suppose the two are interacting to produce the nested form code errors but I'm not sure how to fix it.
TIA
Michael
I'm getting these errors when I check my code.
1) Nested HTML Form Tags
2) HTML form close tag is found without open tag
Doble clicking takes me to the following layouts:
1) Layout Code - Search Page Bulk Area (1st line)
Code follows:
--------------------
<form method="get" action="<actinic:variable name="OnlineScriptURL" value="Search Script URL" />">
<input type="hidden" name="RANDOM" value="<actinic:variable name='Random'/>" />
<!-- SearchTemplate HTML begin -->
<!-- Add Search Page header HTML here -->
<input type=HIDDEN name="PAGE" value="SEARCH">
<table border=0 cellspacing=0 cellpadding=0 width="<actinic:variable name="ACTSTDWIDTH"/>" align="left">
<tr>
<td colspan=2 valign=TOP align=LEFT><p> </p>
<p><actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e%20and%20%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e">
<actinic:variable name="SearchPromptPriceSearchEnabled" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e%20%3d%3d%20False%20or%20%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e%20%3d%3d%20False" >
<actinic:variable name="SearchPrompt" />
</actinic:block> <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e%20and%20%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e">
<actinic:variable name="RetailOnlyXml" />
</actinic:block></p>
<p> </p>
</td>
</tr>
<tr>
<td valign="TOP" align="left">
<table border=0 cellspacing=0 cellpadding=3 width="<actinic:variable name="ACTSTDWIDTH"/>">
<tr>
<td valign="TOP"> <b><actinic:variable name="SearchString"/></b><br>
<input type=TEXT name="SS" size=40 maxsize=255>
<br>
<actinic:variable name="SearchCombine"/>
<input type=RADIO name="TB" CHECKED value="A">
<actinic:variable name="SearchAndPrompt"/>
<input type=RADIO name="TB" value="O">
<actinic:variable name="SearchOrPrompt"/> <actinic:variable name="SearchCombineText2"/>
<script language="JavaScript">
<!--
for (nIndex = 0; nIndex < document.forms.length; nIndex++)
{
if (document.forms[nIndex] && document.forms[nIndex].SS)
{
document.forms[nIndex].SS.focus();
}
}
// -->
</script>
</td>
<td valign="TOP"> <b><actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e">
<Actinic:Variable Name="SearchPriceRangeLabel"/>
</actinic:block></b><br>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PriceSearchIsAllowed%22%20%2f%3e">
<actinic:variable name="SearchPriceBandList" />
</actinic:block> </td>
</tr>
<actinic:variable name="SearchablePropertyList"/>
<tr>
<td colspan=2 valign="BOTTOM"> <b><actinic:block if="%3cactinic%3avariable%20name%3d%22SearchBySectionsUsed%22%20%2f%3e">
<actinic:variable name="SearchControlLabel"/>
</actinic:block></b><br>
<actinic:block if="%3cactinic%3avariable%20name%3d%22SearchBySectionsUsed%22%20%2f%3e">
<select name="SX">
<actinic:BLOCK if="%3cactinic%3avariable%20name%3d%22SetupSearchAllSections%22%20%2f%3e%20%20%3d%3d%20False" >
<option value="0"> </option>
</actinic:block>
<actinic:variable name="SearchSectionList" />
</select>
</actinic:block> </td>
</tr>
<tr>
<td colspan=2 valign="BOTTOM">
<input type=SUBMIT name=ACTION value="<actinic:variable name="SearchLabel"/>">
</td>
</tr>
</table>
<p> </p></td>
</tr>
<tr>
<td valign="TOP"><actinic:block if="%3cactinic%3avariable%20name%3d%22IsSearchInterfaceUsed%22%20%2f%3e">
<actinic:variable name="MarketingMessage"/>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22InformationType%22%20%2f%3e%20%20%3d%3d%202%20%20AND%20%3cactinic%3avariable%20name%3d%22IsSearchInterfaceUsed%22%20%2f%3e">
<actinic:variable name="TermsAndConditions" value="About Us" if="%3cactinic%3avariable%20name%3d%22IsAboutUsTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Purchase" if="%3cactinic%3avariable%20name%3d%22IsMakingAPurchaseTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Shipping And Handling" if="%3cactinic%3avariable%20name%3d%22IsSHChargesTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Delivery" if="%3cactinic%3avariable%20name%3d%22IsDeliveryScheduleTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Backorders" if="%3cactinic%3avariable%20name%3d%22IsBackordersTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Tax Charges" if="%3cactinic%3avariable%20name%3d%22IsTaxChargesTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Credit Card Security" if="%3cactinic%3avariable%20name%3d%22IsCCSecurityTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Guarantee" if="%3cactinic%3avariable%20name%3d%22IsGuaranteesTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Reaching Us" if="%3cactinic%3avariable%20name%3d%22IsReachingUsTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Privacy Policy" if="%3cactinic%3avariable%20name%3d%22IsPrivacyPolicyTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Returns Policy" if="%3cactinic%3avariable%20name%3d%22IsReturnsPolicyTermsShown%22%20%2f%3e" />
<actinic:variable name="TermsAndConditions" value="Remittance Terms" if="%3cactinic%3avariable%20name%3d%22IsRemittanceTermsShown%22%20%2f%3e" />
</actinic:block>
</td>
</tr>
</table>
<!-- Add Search Page footer HTML here -->
<!-- SearchTemplate HTML end -->
</form>
--------------------
2) Layout Code - Search Results Page Bulk Area (Last line)
Code follows:
--------------------
<form method="get" action="<actinic:variable name="OnlineScriptURL" value="Search Script URL" />">
<input type="hidden" name="RANDOM" value="NETQUOTEVAR:RANDOM" />
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
<!-- Hidden field when in trial mode -->
<input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>" />
</actinic:block>
<!-- Results HTML begin -->
<!-- Add Results Page header HTML here -->
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=10 WIDTH="<actinic:variable name="ACTSTDWIDTH"/>" align="left">
<TR>
<TD ALIGN=LEFT>
<B><actinic:variable name="SearchResultSummary"/></B><BR><actinic:variable name="SearchResultContinue"/>
</TD>
</TR>
<TR>
<TD ALIGN=LEFT>
<Actinic:SEARCH_RESULTS>
<actinic:variable name="SearchResultItem"/>.
<!-- by mab
<Actinic:XMLTEMPLATE NAME="ImageLine">
<IMG SRC="<actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsImage%22%20%2f%3e" >
<actinic:variable name="SearchResultProductImage" />
</actinic:block>" <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsImage%22%20%2f%3e" >
<actinic:variable name="SearchResultProductImageSize" />
</actinic:block>>
</Actinic:XMLTEMPLATE>
-->
<actinic:variable name="SearchResultLink"/><B><actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsName%22%20%2f%3e">
<Actinic:Variable Name="SearchResultProductName"/>
</actinic:block></B></A> <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsSectionName%22%20%2f%3e">
<Actinic:Variable Name="SearchResultSectionName"/>
</actinic:block> <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsPrice%22%20%2f%3e">
<Actinic:Variable Name="SearchResultPrice"/>
</actinic:block> <BR>
<actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsDescription%22%20%2f%3e">
<br /><actinic:variable name="SearchResultFullDescription" />
</actinic:block><BR>
<actinic:block if="%3cactinic%3avariable%20name%3d%22SearchResultShowsProperties%22%20%2f%3e" >
<br /><actinic:variable name="SearchResultProp" />
</actinic:block><P>
</Actinic:SEARCH_RESULTS>
</TD>
</TR>
<TR>
<TD ALIGN=LEFT>
<B><actinic:variable name="SearchResultSummary"/></B><BR><actinic:variable name="SearchResultContinue"/>
</TD>
</TR>
</TABLE>
<HR SIZE="1" align="left" WIDTH="<actinic:variable name="ACTSTDWIDTH"/>">
<actinic:variable name="MainArea" value="Search Page Bulk Area"/>
<!-- Add Results Page footer HTML here -->
<!-- Results HTML end -->
</form>
--------------------
I suppose the two are interacting to produce the nested form code errors but I'm not sure how to fix it.
TIA
Michael
Comment