Forum OpenACS Development: Controlling the appearance of forms

Collapse
Posted by Janine Ohmer on
I have a form being put together "manually" with calls to template::element::create.  When it displays in the browser, some of the field labels are wrapping.  It's not a window-width issue;  they stay wrapped even if I stretch the window.  How do I tell the form builder to use 'nowrap' or whatever would be an appropriate way to fix this?
Collapse
Posted by Brad Duell on
I believe you would just edit/create the template your form is using (located in /acs-templating/resources/forms) to your needs.
Collapse
Posted by Dave Bauer on
Janine,

What does it look like in the ADP? Does it have an empty formtemplate tag or is the form template specified in the ADP file?

You can try setting the style in the formtemplate tag to use a different template.

Collapse
Posted by Janine Ohmer on
Thanks Dave - that put me on the right track.