Hjälp: Data Form TemplateThe following template variables are available for Data Form templates.
acknowledgement
The acknowledgement specified in the wobject's properties. This message should be displayed after a user submits data.
export.tab.url
Following this URL will export the data stored to this data form as a tab delimited file.
export.tab.label
The default label for the export.tab.url variable.
entryList.url
Following this URL will display a list of all the record entries in this data form.
entryList.label
The default label for the entryList.url variable.
canEdit
A conditional indicating whether the current user has the privileges to edit an existing entry or export the form's data.
back.url
A url that will take you back to the default page in the form.
back.label
The default label for the back.url variable.
username*
The username of the user that submitted the data.
userId*
The user id of the user that submitted the data.
date*
The date that this data was submitted or last updated formatted as the user's preferred date/time format.
epoch*
The date that this data was submitted or last updated formatted as an epoch date.
ipAddress*
The IP address of the user that submitted the data.
edit.url*
The URL to the page to edit this entry.
error_loop*
A loop containing error information, for instance if someone doesn't fill out a required field.
error.message*
An error message indicating what the user might have done wrong.
addField.url
The URL that content managers will visit to add a new field to the form.
addField.label
The default label for the addField.url variable.
form.start
The beginning of the form.
field_loop
A loop containing all of the field information.
field.form
The form element for this field.
field.name
The name of this field.
field.value
The value of this field. If this is new data, then the default value will be used.
field.label
The text label for this field.
field.isHidden
A conditional indicating whether this field is supposed to be hidden.
field.isDisplayed
A conditional indicating whether this field is supposed to be displayed.
field.isEditable
A conditional indicating whether this field is editable.
field.isRequired
A conditional indicating whether this field is required.
field.isMailField
A conditional indicating whether this field is present only to facilitate sending an email.
field.subtext
A description of the field so that users know what to put in the field.
field.controls
WebGUI's administrative controls for this field.
form.send
A form button with the word "send" printed on it.
form.save/b>
A form button with the word "save" printed on it.
form.end
The end of the form.
*Only available if the user has already submitted the form. Se vidare: |