# Plugin for adding extra fields to the question form

**URL:** https://meta.discourse.org/t/plugin-for-adding-extra-fields-to-the-question-form/304782
**Category:** Support
**Created:** [April 21, 2024, 11:13am UTC](https://meta.discourse.org/t/plugin-for-adding-extra-fields-to-the-question-form/304782 "2024-04-21T11:13:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![verilog15](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@verilog15](https://meta.discourse.org/u/verilog15)
#### Post date: [April 21, 2024, 11:13am UTC](https://meta.discourse.org/t/plugin-for-adding-extra-fields-to-the-question-form/304782/1 "2024-04-21T11:13:09Z")

</div>

Hello,  
I manage a Q&A forum where students can post questions and provide answers. I’m looking to enhance the forum by allowing users to specify the exact source of their questions, including the book title, page number, and specific question number. Additionally, I want to introduce a feature that lets users search questions by these parameters. Before attempting to develop a custom plugin for this functionality, I’m interested in finding out if there already exists a solution that can be adapted to add these “extra fields” to our question submission form. Is there an existing plugin that can facilitate this?  
Thank you 🙂

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [April 21, 2024, 12:00pm UTC](https://meta.discourse.org/t/plugin-for-adding-extra-fields-to-the-question-form/304782/2 "2024-04-21T12:00:24Z")

</div>

> [@verilog15](#):
>
> specify the exact source of their questions, including the book title, page number, and specific question number

There is a official footnote plugin which is included in core that allows you add add more info.

> [@Discourse Footnote](https://meta.discourse.org/t/discourse-footnote/84533):
>
> discourse2Summary Discourse Footnote allows users to create markdown footnotes in posts.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Enabling Footnote The Footnote plugin is default enabled but can be disabled/enabled from the admin/plugins page: [enable footnote] Features Once enabled, you can add footnotes to your posts by typing them in like this: A sentence that needs a footnote. ^[The foo…

Example: _“Somewhere, something incredible is waiting to be known”_ \[1\]

* * *

1. Carl Sagan

---

<div class="post-metadata">

### Author: ![verilog15](https://avatars.discourse-cdn.com/v4/letter/v/9f8e36/32.png) [@verilog15](https://meta.discourse.org/u/verilog15)
#### Post date: [April 21, 2024, 12:16pm UTC](https://meta.discourse.org/t/plugin-for-adding-extra-fields-to-the-question-form/304782/3 "2024-04-21T12:16:51Z")

</div>

Thank you for the answer!  
As I understand the footnote plugin allows you to add a reference to sources, similarly how wiki works. My request is a bit different - when you open a new topic in the Q&A forum, apart from the title, it will also ask you for the book name (maybe dropdown of supported books), the question number and the page number (if the question is not from a book, it’s possible to mark as “not from book”).

If there is no such plugin, maybe there is some plugin that added custom extra topic fields that I can take a look into their source code?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [April 21, 2024, 1:25pm UTC](https://meta.discourse.org/t/plugin-for-adding-extra-fields-to-the-question-form/304782/4 "2024-04-21T13:25:13Z")

</div>

Maybe a form template could help to structure the input

> [@Introducing Form Templates](https://meta.discourse.org/t/introducing-experimental-form-templates/278631):
>
> star This feature is no longer experimental! Go here to learn more about the feature and how to use it in your community: [Creating form templates](https://meta.discourse.org/t/creating-form-templates/397564) Hello, Discourse Meta Community! We are excited to introduce a new experimental feature, form templates. With it, you can enforce a structured form with data validation as part of the topic creation flow. [multiple\_form\_templates] Enabling the feature The feature is hidden behind a site-wide experimental flag. To enable it, just turn on the exp…

Or you use the [Custom Wizard Plugin 🧙](https://meta.discourse.org/t/custom-wizard-plugin/73345)
