Activities: Dataform

mod_dataform
Maintained by Picture of Itamar Tzadok Itamar Tzadok
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.
719 sites
362 downloads
43 fans

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.

Sets

This plugin is part of set Dataform.

Screenshots

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

Contributors

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

Comments RSS

Show comments
  • Picture of Itamar Tzadok
    Sun, 19 Mar 2017, 10:15 PM
    Try the pattern EAC:more:target-view-name. For example, if you have the views List and Single and you want to allow the user to open the entry in the Single view from the List view you can add to the entry template in the List view the pattern EAC:more:Single. hth smile
  • Picture of Lesli Smith
    Thu, 18 May 2017, 2:49 AM
    Hi, Itamar. Just checking in on roadmap plans for 3.1 and 3.2 compatible versions for a client that wants to upgrade. I see that most are agreeing that the current version is working on 3.1, so that is my current testing target. Just wondering if you have something new on the horizon coming out soon. Thanks!
  • Picture of Itamar Tzadok
    Thu, 18 May 2017, 3:14 AM
    Hi Lesli. Nothing would make me happier than releasing a 3.2 version. The main issue is that the behat tests need to be adjusted for the new theme in order to validate the release and I need to find time for that. I've started working on that and hoping to be able to complete it sooner than later. smile
  • My Hero
    Mon, 21 Aug 2017, 1:10 AM
    Hi Itamar, do you know if dataform will work in Moodle 3.3.1? Thanks!
  • Picture of 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.
  • Picture of 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
  • Picture of 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!
  • Picture of 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
  • Picture of 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.
  • Picture of 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
  • Picture of 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
  • Picture of ItsMe Rajan
    Thu, 28 Dec 2017, 3:09 PM
    Hi
    Anyone know how to duplicate the course using LTI
  • Picture of 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?
  • Picture of Itamar Tzadok
    Thu, 1 Feb 2018, 10:02 PM
    I'm releasing 3.3.2 in a couple of hours.
  • Picture of 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
1 2 3 4 5 6 7
Please login to post comments