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:
le="color: #000000"><?php <{$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>
Replace all occurrences of contactform with the name you give the form object