2
Yes, but you will have to either not use a template and call $form->display(); OR (recommended) incorporate the form in the template by using $form->assign($xoopsTpl); and then modify the template to include this code to display the form:
<{$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>
<{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}>
table>
form>
Replace all occurrences of contactform with the name you give the form object