Forum OpenACS Q&A: inserting HTML in ad_form

Collapse
Posted by Raúl Morales Hidalgo on
Hi all,

Is there an easy way to add some html between form elements in a form created with ad_form?

Collapse
Posted by Åsmund Realfsen on
Hi,

I don't know if this is what you are looking for, but I guess you can use formtemplate and formwidget to archive this. ( http://www.openacs.com/doc/acs-templating/tagref/formtemplate.html )

Collapse
Posted by Dave Bauer on
You can add an after_html property to each form element.

If that doesn't work you can create a custom formtemplate, but generally you want to avoid that.

Collapse
Posted by Raúl Morales Hidalgo on
Thanks Dave :)

I just noticed fixing other form like 2 minutes ago, that's exactly what I need.

Raúl