Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: patch
Applies To: Engine
Component: FORMFIELD
Branches:
What if I want/need to show a multiline formfield in a Wiki table without breaking it?
I can use some construct like
| Field value: | %SEARCH{"%TOPIC" scope="topic" format="$formfield(Field)"}% |
cause
$formfield
replaces linebreaks by
<br />
but I can't use
| Field value: | %FORMFIELD{"Field"}% |
Shouldn't
FORMFIELD
have a parameter for allowing just that, or did I miss something?
Ups, there's already the duplicate
Foswikitask:Item10294 for this.
--
FranzJosefGigler - 14 Jun 2011
Thanks Franz,
I've closed this no-action for you (and set
Item10294 as enhancement).
Two bug reports probably means we should do something about this
If you have the spare time, and the patience to chat via IRC, I'd be more than happy (as would any of the IRC regulars) to help you get this implemented (if you feel so inclined!). There's also the
foswiki-svn
mailing list.
For what it's worth,
META and
FlexFormPlugin's
RENDERFORDISPLAY
use the same
Foswiki::Form...::renderForDisplay()
code path as
$formfield()
, but META isn't pretty to use...
--
PaulHarvey - 30 Jun 2011