Difference: VarFORMFIELD (9 vs. 10)

Revision 102020-01-22 - TWikiAdminUser

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

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

Line: 6 to 6
 
Changed:
<
<
topic="..." Topic where form data is located. May be of the form Web.TopicName Current topic
>
>
topic="..." OpenTopics where form data is located. May be of the form Web.OpenTopicsName Current topic
 
rev="..." Get the form field value from the specified topic revision, range "1" to top revision of topic. "0" is equivalent to the top revision The rev URL parameter value if present, otherwise the top revision
format="..." Format string. Supported variables:
$value - form field value
$value(20, -<br />) - value hyphenated every 20 characters using separator -<br />
$value(30, ...) - value shortened to 30 characters
$length - length of value (can be used to test if value is set)
$title - raw field name (includes space and other special characters)
$name - field name (sanitized title)
$attributes - form field attributes
$formtopic - name of form definition topic
"$value"
default="..." Text shown when no value is defined for the field ""
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding lt;nopgt;TWiki? lt;a href='mailto:twiki-admin@kcl.ac.uk?subject=TWiki%20Feedback%20on%20TWiki.VarFORMFIELD'gt;Send feedbacklt;/agt; <br /> Note: Please contribute updates to this topic on TWiki.org at <a href="http://twiki.org/cgi-bin/view/TWiki/VarFORMFIELD" target="twiki.org">TWiki:TWiki.VarFORMFIELD</a>.