# Question Bank {#question-bank}



## Page Overview {#page-overview}



### What the page is for {#what-the-page-is-for}
The Question Bank allows you to create and manage reusable questions that can be used in multiple surveys. This helps standardize questions across your organization and saves time when building new surveys.


### When a user would use it {#when-a-user-would-use-it}
- When you want to create reusable questions
- When you need to organize questions into categories
- When you want to edit or delete existing questions
- When you want to manage question categories


## How to Access This Page {#how-to-access-this-page}



### Navigation path from the main app {#navigation-path-from-the-main-app}
1. Log in to the application
2. From the main dashboard, use the sidebar navigation to click on "Question Bank"
3. Or, directly navigate to `/question-bank` in your browser


### Permissions or prerequisites {#permissions-or-prerequisites}
- You must be logged in to access this page
- You need appropriate permissions to create, edit, or delete questions and categories
- The action buttons will be disabled if you don't have the required permissions


## Page Layout {#page-layout}



### Header / title {#header--title}
- **Title**: "Question Bank"
- **Subtitle**: "Create and manage reusable questions for your surveys"
- **Primary button**: Changes based on active tab:
  - When on Questions tab: "Create Question"
  - When on Categories tab: "Create Category"


### Tabs {#tabs}
Two tabs to switch between views:
- **Questions**: Shows all questions (with total count)
- **Categories**: Shows all question categories (with count)


## Questions Tab {#questions-tab}



### Question List {#question-list}
Questions are displayed in a table with these columns:
- Question text
- Type
- Category
- Created date
- Actions


### Action menu (per question) {#action-menu-per-question}
Clicking on the three-dot icon (⋮) next to a question opens a menu with:
- **Edit**: Opens edit question dialog
- **Delete**: Opens delete confirmation dialog


## Categories Tab {#categories-tab}



### Category List {#category-list}
Categories are displayed in a table with these columns:
- Name
- Description
- Number of questions
- Actions


### Action menu (per category) {#action-menu-per-category}
Clicking on the three-dot icon (⋮) next to a category opens a menu with:
- **Edit**: Opens edit category dialog
- **Delete**: Opens delete confirmation dialog


## Step-by-Step Tasks {#step-by-step-tasks}



### Creating a Question {#creating-a-question}
1. Make sure you're on the Questions tab
2. Click the "Create Question" button
3. Fill in the question details:
   a. Enter the question text (required)
   b. Select the question type
   c. (Optional) Select a category
   d. Configure any additional settings
4. Click "Create"
5. The question will be added to the bank


### Editing a Question {#editing-a-question}
1. Find the question you want to edit
2. Click the three-dot menu icon (⋮)
3. Select "Edit"
4. Update the question details
5. Click "Save Changes"


### Deleting a Question {#deleting-a-question}
1. Find the question you want to delete
2. Click the three-dot menu icon (⋮)
3. Select "Delete"
4. Confirm the deletion in the dialog
5. The question will be removed


### Creating a Category {#creating-a-category}
1. Switch to the Categories tab
2. Click the "Create Category" button
3. Fill in the category details:
   a. Enter a name (required)
   b. (Optional) Enter a description
4. Click "Create"
5. The category will be added to the list


### Editing a Category {#editing-a-category}
1. Find the category you want to edit
2. Click the three-dot menu icon (⋮)
3. Select "Edit"
4. Update the category details
5. Click "Save Changes"


### Deleting a Category {#deleting-a-category}
1. Find the category you want to delete
2. Click the three-dot menu icon (⋮)
3. Select "Delete"
4. Confirm the deletion in the dialog
5. The category will be removed


## Field & Button Reference {#field--button-reference}


| Field/Button | What it does | When to use it |
|--------------|--------------|----------------|
| Questions tab | Shows the questions list | When you want to work with reusable questions |
| Categories tab | Shows the categories list | When you want to organize questions into groups |
| Create Question | Opens dialog to create a question | When you want to make a new reusable question |
| Create Category | Opens dialog to create a category | When you want to organize questions into groups |
| Edit | Edits the question or category | When you want to change details |
| Delete | Removes the question or category | When you no longer need it |


## Tips & Notes {#tips--notes}


- **Use categories to organize**: Categories make it easy to find questions by topic or type
- **Standardize questions**: Reusing questions ensures consistency across surveys
- **Test before using**: Always verify that questions work as expected in the survey designer
- **Descriptive names help**: Give questions clear names so your team knows what they're for
