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

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

Collapse
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!