✨
DCOG Online Tool
  • Introduction
  • Vision & Mission
    • Project Overview (about)
    • Problem Statement(s)
  • UI/UX & Design
    • Project goals
  • Research
    • Dcog Research Overview
      • Architecture
      • User Persona
      • User Journey
      • System permissions/levels
      • Question reviews
  • User Training Guide
    • Happy Path
      • Logging on to the System
        • Step A | Login the Django Backend
        • Step B | Login to the Digital Compliance Dashboard
    • User Roles
      • National
        • 1. National Admin
          • Create Organizations (add National, Provinces and Municipalities).
          • Adding Users to the System
          • Building a Form
            • Editing a Form
            • Default Input Options
          • Sharing a Questionnaire
        • 2. National User
          • Send reminder to Province
          • Viewing Compliance by Province
          • Viewing Form Results
          • Download the Compliance Workbook
      • Provincial
        • 3. Provincial Admin
          • Adding Municipality Users to the System
          • Adding a Provincial User
          • Sharing Questionnaires with their Municipalities
        • 4. Provincial User
          • Send Reminders to Users
          • View Compliance (by Municipality)
          • View submission results
          • Download Provincial Compliance Workbook
      • Municipalities (Metropolitan, District and Local)
        • 5. Municipalities Admin (Metropolitan, District and Local)
          • Create Form Contributors
          • Receive forms from their respective Provinces
        • 6. Municipalities Contributor (Metropolitan, District and Local)
          • Receive forms from their respective Provinces
      • Superuser (IT Department)
        • Roles of the Superuser
          • Create Organizations (add National, Provinces and Municipalities).
          • Create forms
          • Add/remove users at any level
          • Share forms to any organization
  • Development
    • Technology Stack
    • Technical Design/Architecture
Powered by GitBook
On this page

Was this helpful?

  1. User Training Guide
  2. User Roles
  3. National
  4. 1. National Admin
  5. Building a Form

Default Input Options

Input Options for questions

DEFAULT_INPUT_OPTIONS = {
    "dropdown": {
        "choices": [],
        "validations": {},
        "placeholder": "",
        "response_type": "str"
    },
    "shorttext": {
        "validations": {},
        "placeholder": "",
        "response_type": "str"
    },
    "longtext": {
        "validations": {},
        "placeholder": "",
        "response_type": "str"
    },
    "checkbox": {
        "choices": [],
        "validations": {},
        "response_type": "list"
    },
    "radio": {
        "choices": ["Yes", "No"],
        "validations": {},
        "response_type": "str"
    },
    "number": {
        "validations": {},
        "placeholder": "",
        "response_type": "int"
    }
}
PreviousEditing a FormNextSharing a Questionnaire

Last updated 3 years ago

Was this helpful?