Question
Might be a simple question, but my digging around hasn't helped me figure out the answer.
I've set up and used several forms and mostly understand them now.
What I want to try to do tho is control if possible the format of the displayed meta data when the form contents are rendered on a topic page.
For example, how is the
WebTopic form at the bottom of this page formated? Can I change that?
I'm also curious about the attributes of the various form fields. Looking at the raw meta data I see that each field has an attribute called "title". This seems to be just a dupe of the field name. But is there any way in the form itself to specify the title as something different? And back to my previous question, can I format the display of the form to show the title instead of the name?
Thanks,
-James
Environment
--
JamesHaddock - 26 May 2005
Answer
At this time there is no fine control over the rendering of
TWikiForms.
You can place the form somewhere else than at the bottom: The form gets rendered by the
%META{"form"}% variable located in the
view.tmpl (or one of the skin equivalents). Edit the template and change the sequence. Default:
%TEXT%
%META{"form"}%
%META{"attachments"}%
The
name and
title parameters are identical if the form field name is a WikiWord. The
name parameter is the "clean" version of the
title parameter, e.g. a
title="Field Name with @ _ / Special Chars" has a
name="FieldNamewithSpecialChars".
--
PeterThoeny - 30 May 2005