> When I add a field it only shows as a single line.
>
> Requirement (which could be a single line)
> Items Affected (Multiple lines, please)
> Changes Made (Multiple lines, again, please)

When you add a field to the EditTemplate, you write something like

<div class='editor' macro='edit fieldname'></div>

By default, if the fieldname is 'text' (the tiddler body), then the
resulting input control will be a *textarea* (multi-line input).
Otherwise, the input is a single-line text field.

Fortunately, it's easy to tell a field to use a textarea instead of a
single-line text field... simply specify the number of lines you want
for the textarea control, by adding a parameter to the 'edit' macro,
like this:

<div class='editor' macro='edit fieldname 10'></div>

The above example creates a multi-line textarea with 10 lines.  Note
that the # of lines denotes how tall the textarea field *display* will
be, rather than indicating a limit on the number of lines of text
input that can be entered.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to