Feature #18802

Form.io Question Bank

Added by Hoo Dextor 12 months ago. Updated 10 months ago.

Status:AssignedStart date:09 November 2023
Priority:NormalDue date:24 November 2023
Assignee:tanchen yee% Done:

100%

Category:-Spent time:-
Target version:-

Description

Objective: Creating a Question Bank with Form.io

Acceptance Criteria:
1.Search module to manage the question bank:
a. Search criteria: By
-Survey type (economy / household)
-Description
-Tag
b. Search Result, Columns as below (Pagination):
-Survey Type
-Description
-Survey Question [only show until max length the column can show], hyperlink(clickable to link to view mode)
-Tag

2.Add Question (Each entry only accept 1 question and it's selection options)
a. Allow user to use form.io feature to drag and drop and construct the question and selection
b. User fill in fields:
-Survey Type (dropdown, datatype-String, sample label (Economy / Household), sample value (e/h), *now is hard code, future shall be from ws)
-Description (textarea, max 100, datatype-String)
-Tag (text filed, max 50, datatype-String) user sample: #banci 2020, #ekonomi
*technically when save record, there will be 1 row of data to be save in DB
the question data shall be in json data which store in 1 of the table column(must support json data), while other field will be store in respective table column.

3.View Question (entry from Search result, user click on hyperlink for Survey Question.
The form shall same as Add Question, but in view mode only

4.Modify Question (From the View Question, there's a Modify button, once click, navigate to Modify Screen)y
Field same as Add Question, only disable change on Survey type field

Technical work expectation:
1. Table schema creation (please check with David on which Database and to create the table)
2. BE code to create the ws to support for UI usage
3. FE code for the UI part (react js)

History

#1 Updated by tanchen yee 10 months ago

  • % Done changed from 0 to 100

Also available in: Atom PDF