Difference: VarFORMFIELD (2 vs. 3)

Revision 327 Mar 2005 - Main.TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

FORMFIELD{"fieldname"} -- renders a field in the form attached to some topic

Line: 7 to 7
 
Parameter:
<-- -->
Sorted ascending
Description: Default:
"fieldname" The name of a TWiki form field required
topic="..." Topic where form data is located. May be of the form Web.TopicName Current topic
Changed:
<
<
format="..." Format string. $value expands to the field value, and $title expands to the fieldname "$value"
>
>
format="..." Format string. $value expands to the field value, and $title expands to the fieldname (also expands $name, $attributes, $type, $size and $definingTopic) "$value"
 
default="..." Text shown when no value is defined for the field ""
alttext="..." Text shown when field is not found in the form ""
  • Example: %FORMFIELD{"ProjectName" topic="Projects.SushiProject" default="(not set)" alttext="ProjectName field found"}%
 
This site is powered by the TWiki collaboration platformCopyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarFORMFIELD