Note: You are currently viewing documentation for Moodle 2.4. Up-to-date documentation for the latest stable version of Moodle may be available here: Dataform Field Types.

Dataform Field Types: Difference between revisions

From MoodleDocs
Line 92: Line 92:
|settings =  
|settings =  
|patterns =  
|patterns =  
*fieldname}:linked
*fieldname}:base64
*fieldname}:tn
*fieldname}:tn-url
*fieldname}:tn-linked
*fieldname}:tn-base64
}}
}}
==User custom info==
==User custom info==
{{Dataform field type
{{Dataform field type

Revision as of 01:02, 5 October 2012

Text

Type text
Description
Settings
Patterns fieldname

Text area

Type textarea
Description
Settings
Patterns fieldname
  • fieldname:text
  • fieldname:wordcount

Number

Type number
Description
Settings
Patterns

Checkbox

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

Multiple select

Type multiselect
Description
Settings
Patterns

Select

Type select
Description
Settings
Patterns

Radio button

Type radiobutton
Description
Settings
Patterns

Time

Type time
Description
Settings
Patterns

Url

Type url
Description
Settings
Patterns fieldname
  • fieldname:link
  • fieldname:image
  • fieldname:imageflex
  • fieldname:media

File

Type file
Description
Settings
Patterns fieldname
  • fieldname:url
  • fieldname:alt
  • fieldname:size
  • fieldname:content
  • fieldname:download
  • fieldname:downloadcount

Picture

Type picture
Description
Settings
Patterns *fieldname}:linked
  • fieldname}:base64
  • fieldname}:tn
  • fieldname}:tn-url
  • fieldname}:tn-linked
  • fieldname}:tn-base64

User custom info

Type userinfo
Description
Settings
Patterns