Difference: VarFORMFIELD (1 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: 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"}%

Revision 227 Mar 2005 - Main.TWikiContributor

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

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

  • Syntax: %FORMFIELD{"fieldname"}%
  • Supported parameters:
Line: 8 to 7
 
Parameter: 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 field title "$value"
>
>
format="..." Format string. $value expands to the field value, and $title expands to the fieldname "$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"}%
Changed:
<
<
>
>
 

Revision 127 Mar 2005 - Main.TWikiContributor

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

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

  • Syntax: %FORMFIELD{"fieldname"}%
  • Supported parameters:
    Parameter: 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
    format="..." Format string. $value expands to the field value, and $title expands to the field title "$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"}%
  • Related: SEARCH
 
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