1
I have placed some text on the Contact page of our site however the following code appears just above the form.
onsubmit="return xoopsFormValidate_contactform();">
Where is this code coming from as it doesn't appear in the source code of the "contact_contactusform.html" template. Actually, I did a Dreamweaver search on the source code of the entire site and doesn't appear anywhere. Got me puzzled!
The page:
http://iffd.net/xoops/modules/contact/Code in that area is as follows:
<br />
<a name="frm"></a><br />
<br /><br />
<{$contactform.javascript}>
<form name="<{$contactform.name}>" action="<{$contactform.action}>" method="<{$contactform.method}>" ><{$contactform.extra}>>
<table class="outer" cellspacing="1">
<tr>
<th colspan="2"><{$contactform.title}></th>
</tr>
<!-- start of form elements loop -->
<{foreach item=element from=$contactform.elements}>
<{if $element.hidden != true}>
<tr>
<td class="head"><{$element.caption}></td>
<td class="<{cycle values="even,odd"}>"><{$element.body}></td>
</tr>
<{else}>
<{$element.body}>
<{/if}>
<{/foreach}>
<!-- end of form elements loop -->
</table>
</form>
Any ideas??