Difference between revisions of "Dataform FAQ"

Jump to: navigation, search

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 FAQ.

 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
  
 
==How can I add highlighting like on the Module and plugins page?==
 
==How can I add highlighting like on the Module and plugins page?==
 
  
  
 
==How can I list entries content horizontally in an aligned table?==
 
==How can I list entries content horizontally in an aligned table?==
 
Use the Tabular view type
 
Use the Tabular view type
*[http://moodle.org/mod/forum/discuss.php?d=74243 How can I list database information horizontally instead of vertically? Forum discussion]
 
 
==Can't get columns to line up in list view==
 
*[http://moodle.org/mod/forum/discuss.php?d=84050 Can't get columns to line up in list view forum discussion] including moodle.org presets for download
 
 
==How can I make an Encyclopedia database preset?==
 
*[http://moodle.org/mod/forum/discuss.php?d=87560 Encyclopedia database preset forum discussion] including encyclopedia-style preset for download
 
  
 
==Is there a Time stamp for Dataform entries?==
 
==Is there a Time stamp for Dataform entries?==
 
 
*Time added: <nowiki>##timeadded##</nowiki>
 
*Time added: <nowiki>##timeadded##</nowiki>
 
*Time modified: <nowiki>##timemodified##</nowiki>
 
*Time modified: <nowiki>##timemodified##</nowiki>
  
 
==How can I make the title of an entry into a link?==
 
==How can I make the title of an entry into a link?==
 
 
To make the title of an entry in list view link to the single view, add the following code to the list template:
 
To make the title of an entry in list view link to the single view, add the following code to the list template:
 
   
 
   

Latest revision as of 01:05, 2 October 2012

How can I set up the Dataform to allow students to view only their own entries?

Set the group mode of the Dataform activity to "Separate participants".

How can I enable a sort function by clicking on the field headings?

How can I add highlighting like on the Module and plugins page?

How can I list entries content horizontally in an aligned table?

Use the Tabular view type

Is there a Time stamp for Dataform entries?

  • Time added: ##timeadded##
  • Time modified: ##timemodified##

How can I make the title of an entry into a link?

To make the title of an entry in list view link to the single view, add the following code to the list template:

<a href="##moreurl##">[[Title]]</a>

How can I make email addresses clickable?

To make email addresses clickable, add the following code to the view template:

<a href="mailto:[[Email]]">[[Email]]</a>

where 'Email' is the text field for entering an email addresses.

How can I delete a file attached to an entry?

How can I disapprove an entry which has been approved?

Click on the approved icon (green tick) to disapprove the entry.

How can I add a default sort order of entries?

In the Filters tab

  • Add a new filter.
  • Add sorting criteria to the filter.
  • Click on the 'default' button of the filter in the filters list.

How can I prevent students from adding entries?

In the Dataform settings, set max number of entries to 0.

How can I add entries en masse?

In the general section of the view template add the tag ##addnewentries## (as opposed to the default ##addnewentry##). This tag displays a dropdown to select the number of entries to add.

How can I edit/delete entries en masse?

In the view template add the selector tags and bulk edit and delete tags. In the entries list tick the checkboxes of the entries to edit/delete and click the the respective bulk action button.

How can I completely reset a Dataform activity?

In the Dataform administration section of the Settings block, click 'Renew'.


See also

Using Moodle forum discussions: