The Toolkit for Online Communities
18830 Community Members, 0 members online, 2022 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : ad_form vs. template::form vs. roll your own : One Message

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

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" ...>

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!