Forum Moderators: open
code as follows
<edit> sorry may have broken TOS </edit>
this is the problem part
<div id="sub">
<p class="sub">Subscribe
to the XXXXXX mailing list</p>
<form method="post" action="http://www.XXXXXX.co.nz/lists/?p=subscribe" name="subscribeform" target="subscribe">
<input class="two" name="htmlemail" value="0" type="hidden">
<p> <input class="two" name="email" type="text" value="Email"></p>
<script language="Javascript" type="text/javascript">addFieldToCheck("email","Email");</script>
<p><input class="two" name="attribute2" type="text" value="First"></p><script language="Javascript" type="text/javascript">addFieldToCheck("attribute2","First");</script>
<p><input class="two" name="attribute3" type="text"value="Last"></p><script language="Javascript" type="text/javascript">addFieldToCheck("attribute3","Last Name");</script>
<p><input name="subscribe" value="Subscribe" onclick="return checkform();" type="submit"></p>
<input name="list[2]" value="signup" type="hidden"><input name="listname[2]" value="Somantic E-list" type="hidden">
</form>
<p><a href="http://www.XXXXXXX.co.nz/lists/?p=unsubscribe">Unsubscribe</a></p>
</div>
am i really stupid?
Please help
cheers
Gecko
And the script error.. the JavaScript in your form is calling a function (addFieldToCheck) but that part of the JS (should be in the head of your page or in an external included file) isn't there..