Dataform

Activities ::: mod_dataform
Maintained by Itamar Tzadok
Part of set Dataform.
The Dataform module allows the course manager to design and construct an entry form from various input elements (text and rich text fields, urls, files, pictures, etc.) in a flexible layout. Users can then add information records to a collection, which can be viewed in various ways and searched for particular items.
Latest release:
769 sites
148 downloads
64 fans
Current versions available: 7

The dataform module is a major enhancement of the standard Database activity module and is meant to offer all the functionality offered by the Database module and much more in a more flexible way.

The module allows the course manager to design and construct an entry form from various input elements (text and rich text fields, urls, files, pictures, etc.) in a flexible layout. Users can then add information records to a collection, which can be viewed in various ways and searched for particular items.

The dataform features include (among other things):

  • A multiple views system - allows the instructor to design several different views of the entries in a datform activity. Each view can show a designated subset of the entries in a designated layout.
  • Enhanced template tags - A new template tags system allows for exposing many more bits of information and makes it easy to add designated patterns in new field and view types.
  • Enhanced entry actions - Bulk edit, duplicate, delete, approve etc. Inline editing. Form editing options such as required fields (via Moodle forms).
  • New packaging system - based on Moodle backup/restore and allows for packaing a dataform instance and restoring into an existing instance.
  • Enhanced filtering system - allows the instructor to define different filters each of which can determine sort (including nested sort) and search options (various search criteria). Filters can be fixed to particular views or applied on the file from the activity main page (if included in the view template).

New view/field types include (among others):

  • Tabular view - a view type which allows for displaying the entries in a table. The design of the entries table has been simplified to drawing the desired table with optional header row and an entry row in the moodle editor.
  • Nanogong field - a field type for adding audio content to an entry via the nanogong applet.
  • Calculated field - a field type which can display a result of a simple calculation on one or two number fields in the entry.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5

Contributors

Itamar Tzadok (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • My Hero
    Mon, 21 Aug 2017, 1:10 AM
    Hi Itamar, do you know if dataform will work in Moodle 3.3.1? Thanks!
  • scott hallman
    Wed, 4 Oct 2017, 10:28 AM
    Have installed on 3.3 and 3.4 and installs ok but does not work. Seems to strip out html. The fields do not show.
  • Robin Schmalhorst
    Fri, 13 Oct 2017, 5:55 PM
    Hi, is it possible to use a language filter? I tried the html "span"-command but the plugin wrote both expressions consecutively. We have Moodle v3.1 and Dataform v3.04
  • Oliver Trampleasure
    Sun, 19 Nov 2017, 3:56 AM
    Hi Itamar

    Firstly a big thank you for your incredible plugin (I've been using it for years, its so versatile it's amazing).

    I upgraded to 3.3 without realising you hadn't been able to update the module - wondering whether you had any idea of the roadmap for the next update? If it's a while I might need to roll back.

    Thanks again for all your amazing work!
  • Itamar Tzadok
    Mon, 20 Nov 2017, 10:25 PM
    Completing adjustment for 3.3 including a lot of work on the automated tests. Will probably release an updated version in a few days. smile
  • Oliver Trampleasure
    Mon, 20 Nov 2017, 11:01 PM
    I am beaming from ear to ear, you've made me a very happy man! Thanks for your hard work Itamar.
  • Francis Vendrell
    Wed, 6 Dec 2017, 9:27 PM
    Thank you for the good news Itamar ! And thank you for your work ! smile smile smile
  • johny kex
    Sat, 16 Dec 2017, 5:35 AM
    Hi Itamar

    I am happy to see that you are planning an update that will work in 3.3. It is an amazing module.
    Do you have any update on the release time?
    Can I use the current latest version in 3.1?

    Thanks in advance.
    Keep up the excellent work
  • ItsMe Rajan
    Thu, 28 Dec 2017, 3:09 PM
    Hi
    Anyone know how to duplicate the course using LTI
  • Rob Mills
    Thu, 1 Feb 2018, 9:58 PM
    HI Also install on 3.3 and fields don't show. I gather from above this is an issue with 3.3 and 3.4 - any news on when update will be released?
  • Itamar Tzadok
    Thu, 1 Feb 2018, 10:02 PM
    I'm releasing 3.3.2 in a couple of hours.
  • remon saweris
    Mon, 5 Feb 2018, 7:18 PM
    Dear,
    After uprade to the new release 3.3.2 i got this error: Error reading from database
    Debug info: Unknown column 'e.type' in 'field list'
    SELECT e.id, e.dataid, e.state, e.timecreated, e.timemodified, e.userid, e.groupid, e.type , u.id AS uid ,u.picture,u.firstname,u.lastname,u.firstnamephonetic,u.lastnamephonetic,u.middlename,u.alternatename,u.imagealt,u.email,u.idnumber,u.username FROM modl_dataform_entries e JOIN modl_user u ON u.id = e.userid WHERE e.dataid = ? ORDER BY e.id ASC LIMIT 0, 30
    [array (
    0 => '4',
    )]
    Error code: dmlreadexception
    ×Stack trace:
    • line 486 of \lib\dml\moodle_database.php: dml_read_exception thrown
    • line 1198 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
    • line 231 of \mod\dataform\classes\entry_manager.php: call to mysqli_native_moodle_database->get_records_sql()
    • line 142 of \mod\dataform\classes\entry_manager.php: call to mod_dataform_entry_manager->fetch_entries()
    • line 332 of \mod\dataform\classes\pluginbase\dataformview.php: call to mod_dataform_entry_manager->set_content()
    • line 315 of \mod\dataform\classes\pluginbase\dataformview.php: call to mod_dataform\pluginbase\dataformview->set_entries_content()
    • line 466 of \mod\dataform\classes\dataform.php: call to mod_dataform\pluginbase\dataformview->display()
    • line 71 of \mod\dataform\view.php: call to mod_dataform_dataform->display()
    what can i do? please
  • Will Pandle
    Thu, 1 Mar 2018, 5:00 AM
    Hi guys can I import a CSV like the database activity with this plugin? instead of entering one by one i just import a csv ?
  • Itamar Tzadok
    Sat, 3 Mar 2018, 1:56 AM
    Hi Will. You can create a csv view which would allow you to import entries in a csv format either by a web form or by file upload.
  • Jay Qadan
    Wed, 7 Mar 2018, 3:58 PM
    Hello, Can this Dataform be used for Calculated Fields. Meaning, I have students who are enrolled together but I need to give them tasks according to the numeric answers they provide, so I will store their answers in fields, but I want to show them a content that is numbers calculated based on each individual answer, so each get a different content in the next lessons or activity.
Please login to post comments