00792: Add ability to pre-fill "textarea" input control with a value
(:input textarea:) markup doesn't have a convenient way of pre-filling the contents of the textarea. We should find a good way to do this.
The primary stumbling block at the moment is having a good markup for it. Suggestions welcomed below. Votes welcomed above.
To specify a multiline textarea content in the wiki page, enclose it with
(:input form:) (:input textarea t1 value="[=Multiline content=]" cols=20 rows=3:) (:input textarea t2 [=Multi line content=] cols=20 rows=3:) (:input end:)
In UpdateForm I implemented this with the same value= markup that the other form tags use, for example (:update type=textarea name=fieldname value="default text":) or just (:update textarea fieldname "default text":) Users need not know that the <textarea> HTML tag has no value parameter; all that matters is that the (:input:) tag has one!
Ben Stallings August 24, 2006, at 05:02 PM
Kathryn Andersen August 24, 2006, at 05:43 PM
\\? (Simple tables do - so it's worth trying, if you haven't.) - TeganDowling