You are here: Foswiki>Tasks Web>Item10878 (30 Jun 2011, PaulHarvey)Edit Attach

Item10878: FORMFIELD{"Field"} vs SEARCH{"TOPIC" scope="topic" format="$dollarformfield(Field)"}

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: patch
Applies To: Engine
Component: FORMFIELD
Branches:
Reported By: FranzJosefGigler
Waiting For:
Last Change By: PaulHarvey
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 smile

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
 

ItemTemplate edit

Summary FORMFIELD{"Field"} vs SEARCH{"TOPIC" scope="topic" format="$dollarformfield(Field)"}
ReportedBy FranzJosefGigler
Codebase 1.1.3, 1.1.3 RC1, 1.1.3 beta1, 1.1.2, 1.1.1, 1.1.0, 1.1.0 beta1, trunk
SVN Range
AppliesTo Engine
Component FORMFIELD
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease patch
ReleasedIn n/a
Topic revision: r3 - 30 Jun 2011, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy