Home
The Toolkit for Online Communities
15889 Community Members, 1 member online, 1762 visitors today
Log In Register

Forum OpenACS Development: Re: ad_form vs. template::form vs. roll your own

OpenACS Home : Forums : OpenACS Development : Re: ad_form vs. template::form vs. roll your own : One Message

+
Posted by Tilmann Singer on
Creating your own layout within the templating system as Don said works like this:

<formtemplate id="myform">
some html stuff ...<br><br><br>
<formwidget id="mywidget1" size="20" ...>
...
</formtemplate>

As soon as the contents of the formtemplate tag are not empty it will use those to render the form instead of rendering it automatically.

+
Posted by Chris Davies on
That was the piece I was missing.

I had done that, but wasn't reading the error message in the logs correctly.

formbutton:okĀ  :)

I was missing the :ok on that widget.

Thanks for the help everyone!