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.
728 sites
273 downloads
37 fans
Moodle 2.0, 2.1, 2.2, 2.3

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 Gemma Lesterhuis
    Thu, 16 Feb 2017, 4:10 PM
    Hello,

    I have dataform running on a 3.1.4+ PHP version 5.6 without issues, but when I run the same present on a Moodle 3.1.4 with PHP version 7.0.8 I get this error:

    Warning: Parameter 1 to dataformfield_number_renderer::display_edit() expected to be a reference, value given in /data/www/elan-learning.nl/public_html/mod/dataform/classes/pluginbase/entriesform.php on line 68

    Warning: Parameter 1 to dataformfield_number_renderer::display_edit() expected to be a reference, value given in /data/www/elan-learning.nl/public_html/mod/dataform/classes/pluginbase/entriesform.php on line 68

    Warning: Parameter 1 to dataformfield_text_renderer::display_edit() expected to be a reference, value given in /data/www/elan-learning.nl/public_html/mod/dataform/classes/pluginbase/entriesform.php on line 68

    Warning: Parameter 1 to dataformfield_select_renderer::display_edit() expected to be a reference, value given in /data/www/elan-learning.nl/public_html/mod/dataform/classes/pluginbase/entriesform.php on line 68

    Warning: Parameter 1 to dataformfield_select_renderer::display_edit() expected to be a reference, value given in /data/www/elan-learning.nl/public_html/mod/dataform/classes/pluginbase/entriesform.php on line 68

    Warning: Parameter 1 to dataformfield_select_renderer::display_edit() expected to be a reference, value given in /data/www/elan-learning.nl/public_html/mod/dataform/classes/pluginbase/entriesform.php on line 68
  • Picture of Gemma Lesterhuis
    Thu, 16 Feb 2017, 4:19 PM
    As an extra note I have the same issue that Alaukik reports: the error appears when I try to make an entry, I can see the header but not the entry boxes.
    In the Moodle 3.1.4+ PHP 5.6 I don't have the error and can place the entries.
  • Picture of Alaukik Kotecha
    Thu, 16 Feb 2017, 8:27 PM
    Thank you @Gemma lesterhuis.. I tried what you said... "In the Moodle 3.1.4+ PHP 5.6 I don't have the error and can place the entries." and it actually worked like miracle...

    Thank you ... i really needed it
  • Picture of Sebastien Jaffredo
    Sun, 19 Mar 2017, 9:50 PM
    Hi


    In previous versions (e.g. 2.5) the "more" entry pattern (the magnifier) would call for the default view. Now it displays the current view.

    What it does in effect is simply showing you the same view, but only for the selected entry.

    It seems to make less sense. If you want to see more, it means you want to display more fields than are displayed in the current view.

    My understanding is that the default view is the one you use to create the entry, displaying all fields.

    The other views are different ways to display a selection of these fields, according to various contexts, needs and uses.

    Is there a way with the current version (3.1.0) to restore the default view as the view displayed by the EAC:more entry pattern?


    Thanks,


    Sébastien
  • 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
1 2 3 4 5 6
Please login to post comments