forms.md 1.2 KB

Describes forms and their fields

mod_form

  • Creates and modifies instances of gradeimporter module

General Information

Header

  • Adds General Information section header
  • Element Header - General

Name

  • Mod instance Name
  • Element - Text
  • Type - Text
  • Rule - Must be String
  • Parameter - name

Standard elements

  • Receives a features array to define what will show on the form
    • Disponibility, access restrictions, tags, competencies, etc...

Hidden Fields

  • Used to pass predefined parameters to the database
    • user id, who and when instance was created or modified

submission_form

  • Creates and modifies submissions that will appear (or not) to the students

General Information - sub

Header - sub

  • Adds General Information section header
  • Element Header - General

Submission Name

  • Mod instance Name
  • Element - Text
  • Type - Text
  • Rule - Must be String
  • Parameter - name

Submission Description

Submission type