Dataform Fields: Difference between revisions

From MoodleDocs
No edit summary
(Redirected page to Dataform building#Fields)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Dataform}}
#REDIRECT [[Dataform building#Fields]]
Each entry in a dataform activity consists of a set of information elements of one or more types depending on the nature of the activity. These information elements are called fields and they are the means for adding and viewing content in the activity.
 
==Field types==
===Internal fields===
The Dataform has a few internal fields which can be used to display internal entry and user information such as the time the entry was created or modified, the author's name or picture etc. These fields have only one instance that is created automatically by the Dataform. They cannot be added or deleted in the fields list. They can be used for filtering.
 
{{Dataform field type
|type = _Entry
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = _User
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = _Time
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = _Group
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = _Approve
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = _Comment
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = _Rating
|description =
|settings =
|patterns =
}}
 
<br clear="both" />
===User-defined field types===
 
{{Dataform field type
|type = Checkbox
|description = This allows you to offer checkboxes for the user to select. Add the options one under the other. The word will appear next to a checkbox when the user clicks to add an entry. They can check more than one box.
|settings =
|patterns =
}}
{{Dataform field type
|type = Multiselect
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = Text
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = Textarea
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = Number
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = File
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = Picture
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = Multiselect
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = Select
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = Radio button
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = Time
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = Url
|description =
|settings =
|patterns =
}}
{{Dataform field type
|type = User info
|description =
|settings =
|patterns =
}}
 
<br clear="both" />
 
 
 
Select: For multiple fields for bulk action (duplicate or delete). To select all or none of the fields tick or untick the checkbox in the table header row.
==Fields management==
In the Manage -> Fields tab you can add new fields or edit/set up existing fields.
 
===Add a field===
 
===Edit a field===
 
Action button for editing the field settings.
 
===Field visibility===
The Visible setting determines who can see the field content. A field can be visible to everyone, to entry owner and managers, or to managers only. This can be set either from the field form or by clicking the eye icon of the field, each click moves the setting to the next mode.
 
===Field locking===
Editable: The Editable setting determines whether the entry owner can edit the field content. When the field is locked the entry owner cannot edit the field content when editing the entry. Users with manageentries capability can edit the field regardless of this setting.
 
===Duplicate fields===
Action button for duplicating one or more fields. To duplicate more than one field select the desired fields by ticking their checkboxes and click the duplicate button in the table header row.
 
===Delete fields===
Action button for deleting one or more fields. To delete more than one field select the desired fields by ticking their checkboxes and click the delete button in the table header row.

Latest revision as of 17:02, 26 February 2014