User Tools

Site Tools


module_setup

This is an old revision of the document!


Setting Up a Questionnaire

This guide explains how to set up a questionnaire in the system.

๐Ÿ“Œ Module Setup - Step-by-Step Guide

All 52 tables start empty. This guide explains how to fill them in the correct order to set up a questionnaire, module, invitations, and settings.


1๏ธโƒฃ Initial Setup โ€“ Start with Empty Tables

Before setting up a module, ensure that:

  • All related tables are empty
  • No pre-existing questionnaires, modules, or invitations exist

2๏ธโƒฃ Step 1: Setting Up the Questionnaire

The questionnaire is the core of the module setup. Start by populating the questionnaire-related tables.

๐Ÿ”น Tables to Fill First (Sidebar โ†’ Questionnaire Section)

Table Name Purpose
`questionnairedetails` Stores basic questionnaire details (name, type, etc.).
`questionnairedetailslang` Stores multilingual versions of questionnaire details.
`questionoptions` Stores possible responses for each question.
`questionoptionslang` Multilingual labels for response options.
`replacementvariables` Stores dynamic content for personalized questions.

๐Ÿ›  How to Fill These Tables?

  1. Create a questionnaire entry in `questionnairedetails`.
  2. Add questions to `questionoptions`.
  3. Link response options using `questionoptionslang`.
  4. Use replacement variables to personalize content dynamically.

3๏ธโƒฃ Step 2: Configure Modules

Once the questionnaire is set up, link it to a module.

๐Ÿ”น Tables to Fill Next (Sidebar โ†’ Modules Section)

Table Name Purpose
`modules` Defines the module and links it to a questionnaire.
`questionnaireheader` Stores header settings for the questionnaire.
`modulesettings` Stores module-wide settings.
`modulesettingoptions` Stores available settings/options for modules.
`modulelangsettings` Multilingual labels for modules.
`clientbranchmodulesettings` Links modules to clients and their branches.

๐Ÿ›  How to Fill These Tables?

  1. Create a module entry in `modules`.
  2. Link the questionnaire using `questionnaireheader`.
  3. Set module-wide configurations in `modulesettings`.
  4. Specify available options using `modulesettingoptions`.
  5. Ensure multilingual support via `modulelangsettings`.
  6. Assign the module to clients using `clientbranchmodulesettings`.

4๏ธโƒฃ Step 3: Configure Invitations

To allow respondents to access the questionnaire, invitations need to be set up.

๐Ÿ”น Tables to Fill Next (Sidebar โ†’ Invitations Section)

Table Name Purpose
`invitations` Stores invitation details (who is invited).
`invitationfields` Defines fields used in invitation emails.
`invitationfieldtypevalues` Stores predefined values for invitation fields.

๐Ÿ”น Tables to Fill Next (Sidebar โ†’ Invitation Settings Section)

Table Name Purpose
`fw_invemailsettings` Stores email templates for invitations.
`fw_invremindersettings` Defines reminder settings for follow-ups.

๐Ÿ›  How to Fill These Tables?

  1. Create an invitation entry in `invitations`.
  2. Define email fields in `invitationfields`.
  3. Store pre-defined values in `invitationfieldtypevalues`.
  4. Set up email content in `fw_invemailsettings`.
  5. Configure reminder settings in `fw_invremindersettings`.

5๏ธโƒฃ Step 4: Assigning Modules to Clients & Branches

After setting up the questionnaire and invitations, the module must be assigned to the correct clients and branches.

๐Ÿ”น Tables to Fill Next (Sidebar โ†’ Clients & Branches Section)

Table Name Purpose
`fw_clients` Stores client details.
`fw_branches` Stores branch details for each client.
`fw_branchquestions` Defines which questions apply to each branch.

๐Ÿ›  How to Fill These Tables?

  1. Create client entries in `fw_clients`.
  2. Add branches under each client in `fw_branches`.
  3. Define branch-specific questionnaire rules in `fw_branchquestions`.

โœ… Final Check: Ensuring Everything Works

Before launching, perform a final check: โœ” Check if the questionnaire appears correctly in the frontend. โœ” Verify that module settings are applied correctly. โœ” Test sending invitations to confirm email configuration. โœ” Ensure that clients and branches are properly linked.


๐Ÿ’ก Additional Notes

  • ๐Ÿ“Œ If the questionnaire does not appear, check if it is linked in `modules`.
  • ๐Ÿ“Œ If emails are not sent, verify `fw_invemailsettings`.
  • ๐Ÿ“Œ If a module is not assigned, ensure `clientbranchmodulesettings` is filled correctly.

๐Ÿ“บ Video Tutorials (Optional)

For a visual walkthrough, watch these tutorials:

your_video_id

or


๐Ÿš€ Summary of the Process

  • 1๏ธโƒฃ Start with empty tables
  • 2๏ธโƒฃ Set up the questionnaire (Questionnaire tables)
  • 3๏ธโƒฃ Configure the module (Module tables)
  • 4๏ธโƒฃ Set up invitations & email settings
  • 5๏ธโƒฃ Assign modules to clients & branches
  • 6๏ธโƒฃ Test and validate the setup

module_setup.1741242579.txt.gz ยท Last modified: 2025/03/06 06:29 by gloria