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
153 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

Show comments
  • Anu Laitakari
    Thu, 2 May 2019, 3:49 PM
    Hi,
    Has anyone tested the 3.5 stable branch available on GitHub? Is it good to go?
    We are relying on this plugin for supervisor/student interaction. It is great as we can place restrictions on the access for particular fields and then lock the form once complete providing an audit trail.
  • Sebastien Jaffredo
    Wed, 17 July 2019, 9:07 AM
    Hi Itamar,

    Responding to your post 4 months later:
    "There is currently no direct upgrade for these changes so I'm wondering, how many are actually using these two features."

    Personnally I don't use these features.

    Sébastien
  • Robert Brenstein
    Mon, 21 Oct 2019, 4:52 AM
    I see a post from May about an imminent release of version for Moodle 3.5 and 3.6. It is October and the plugin repository still shows version for Moodle 3.3 as the newest.
  • Dave Foord
    Wed, 4 Dec 2019, 4:59 PM
    I have created a dataform, for which I have then created 4 views - each has a filter applied to narrow down the options visible. Learners see one of these 4 views dependent on which group they are in (For reference, I have done this by having labels containing buttons that point to each view, and then use the label restrictions to manage the access).

    However - if I then try to add further filtering into the views, it doesn't work. Fiddling with the settings of the filters it either shows nothing when the second filter is applied, or it only recognises the second filter and ignores the first filter.

    Not sure if this is a bug or not, but I would have thought it would be logical to allow compound filters to be built up. Can someone advise?
  • Francis Vendrell
    Wed, 4 Dec 2019, 5:54 PM
    I would suggest that you create a third filter with all restrictions of both filter one and two.
  • Dave Foord
    Wed, 4 Dec 2019, 6:04 PM
    Thanks Francis for the suggestion - I did consider that, but there are currently about 30 filters in play, so If I create this as you suggest that becomes 120 filters, and if we add others layers in later that number balloons, so isn't manageable - also I cannot stop learners from accessing filters that don't apply to them.
  • Francis Vendrell
    Wed, 4 Dec 2019, 6:24 PM
    Well, life is difficult sometime. I don't think dataform was designed for such complex implementations....
    Why not make four copies of your database, one for each group?
  • Dave Foord
    Thu, 9 July 2020, 4:00 PM
    Firstly, thank you very much to the developers of this plugin, which I think is great.

    However - I am having problems with getting the layout of a dataform to work properly. If I add in either a radio button or check box field - when this displays in the 'views' it correctly aligns the top option in the list, but all the other options, the label is appearing on a different row to its corresponding box or circle. I can see when I inspect the element, that there are
    tags in there which are probably the culprit,

    Secondly within the views, it is adding a huge space before each item which then messes up the layout of the items within a table for example. Inspecting the code again I see this is adding .col-md-3 before the item. I tried hiding this using css but this then hides things that are needed on other views.

    Am I doing something wrong, or are these bugs?

    I have tested using various versions of Moodle and various different themes, so I don't think it is a theme based issue.

    Thanks in advance.

  • John Anderson
    Sat, 10 Apr 2021, 1:58 AM
    Hi - I see how some user data can be used in input forms: first,last,email can be placed as the default value in fields. Can others be added or accessed from the user account? Like 'Phone' for instance. Could I extend this my self (programming)? Thanks for any ideas.
  • Profile picture
    Fri, 26 Nov 2021, 11:40 PM
    Can I print the different inputs on separate pages?
  • Francis Vendrell
    Wed, 27 July 2022, 5:19 PM
    Hello, have any of you tested Dataform with Moodle 4? Are they compatible? Thank you in advance for any answers.
  • Dave Foord
    Wed, 27 July 2022, 5:55 PM
    I too would be interested if anyone has tested this in Moodle 4.0. I notice that the plugin was last updated 4 years ago - so looks like it is not being actively supported, which is a shame as such a useful plugin.
  • Francis Vendrell
    Wed, 27 July 2022, 7:41 PM
    It is compatible with moodle 3.10.6
  • Dave Foord
    Wed, 27 July 2022, 8:22 PM
    @Francis - the Dataform activity works with Moodle 3.11 as well, as most of my sites are on 3.11 - but I haven't tested it yet on Moodle 4.0, and I am aware that Moodle 4.0 behaves differently so I am expecting that it won't work...
  • Francis Vendrell
    Wed, 27 July 2022, 8:29 PM
    @Dave Than you
1 2 3 4 5 6 7 8 9
Please login to post comments