%META:TOPICINFO{author="TWikiContributor" date="1294556032" format="1.1" version="4"}%
%META:TOPICPARENT{name="TWikiVariables"}%
#VarFORMFIELD
---+++ FORMFIELD{"fieldname"} -- renders a field in the form attached to some topic
   * Syntax: =%<nop>FORMFIELD{"fieldname"}%=
   * Supported parameters:
     | *Parameter:* | *Description:* | *Default:* |
     | ="fieldname"= | The name of a [[TWikiForms][TWiki form]] field | required |
     | =topic="..."= | Topic where form data is located. May be of the form =Web.<nop>TopicName= | Current topic |
     | =format="..."= | Format string. Variable =$value= expands to the field value, =$title= to the raw field name, =$name= to the field name, =$attributes= to the attributes, =$type= to the form field type, =$size= to the size, and =$definingTopic= to the form definition topic. | ="$value"= |
     | =default="..."= | Text shown when no value is defined for the field | =""= |
     | =alttext="..."= | Text shown when field is not found in the form | =""= |
   * Example: =%<nop>FORMFIELD{"<nop>ProjectName" topic="Projects.<nop>SushiProject" default="(not set)" alttext="<nop>ProjectName field not found"}%= 
   * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarMETASEARCH][METASEARCH]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSEARCH][SEARCH]], FormattedSearch, QuerySearch, SearchHelp
