Skip to content
Ticketon Logo Ticketon

Forms

The Form Management page allows you to create and manage forms for your server. Forms can be used for various purposes, such as collecting information before creating a ticket or gathering feedback from users.

A form has the following configurable options:

OptionDescriptionDefaultNotes
TitleThe title of the form.-Max. Length: 100 characters
FieldsThe components of the form.-Must contain at least one component. Max. 5

Each component field within a form has the following configurable options:

OptionDescriptionNotesAvailable For
TypeThe type of the component.-All
LabelThe label of the component.Max. Length: 45 charactersAll
Custom IDThe unique identifier for the field.Max. Length: 100 charactersAll, but Text Display
DescriptionThe description of the component.Max. Length: 100 charactersAll, but Text Display
RequiredWhether the component is required.Default: FalseAll, but Text Display
PlaceholderThe placeholder text.Max. Length: 100 charactersAll, but Text Display
ContentThe content of the component.Max. Length: 4000 charactersText Display
Min LengthThe minimum length of input.Min: 0, Max: 4000Text Input
Max LengthThe maximum length of input.Min: 1, Max: 4000Text Input
Default ValueThe default value.Length must be in between the Min/MaxText Input
OptionsThe options for the component.Min: 1, Max: 25String Select Menu
Min ValuesThe minimum number of selections.Min: 0, Max: 25All Select Menus
Max ValuesThe maximum number of selections.Min: 1, Max: 25All Select Menus
Component TypeDescriptionNotes
Text DisplayA non-interactive text display.Used for instructions or information.
Text InputA text input field.Can be single-line or multi-line.
String Select MenuA dropdown select menu.Allows selection of one option.
User Select MenuA user select menu.Allows selection of one or more users.
Role Select MenuA role select menu.Allows selection of one or more roles.
Channel Select MenuA channel select menu.Allows selection of one or more channels.
Mentionable SelectA mentionable select menu.Allows selection of one or more mentionables (users or roles).
File UploadA file upload field.Allows users to upload files.

Currently, there is no dedicated checkbox component. However, you can simulate a checkbox using a String Select Menu with two options: “Yes” and “No”. This allows users to select either option, effectively functioning as a checkbox.

When using the File Upload component, please note the following limitations:

  • Maximum file size corresponds to the server’s upload limit or the upload limit of the user if they have Nitro.
  • Supported file types are determined by Discord and may change over time.

When configuring a File Upload component, you can set a custom label for the upload field in the form. However the Message Label is something different.

When the ticket is created, the bot will create a public thread on the starter message to store the uploaded files. This is the best and most user friendly way to handle upload limitations and ensure the context for every uploaded file is clear.

The server doesn’t have Boost level 2, so the upload limit is 10MB. The user filling out the form has Nitro, so their upload limit is 500MB.

The form has two upload fields with the following configurations:

  • Field 1:
    • Label: “Upload your Avatar”
    • Message Label: “Avatar”
  • Field 2:
    • Label: “Proof of being a fruit”
    • Message Label: “Fruits”
    • Max Files: 3

The user uploads the following files:

  • Field 1: avatar.png (3MB)
  • Field 2: apple.png (9MB), peach.png (5MB), all_fruits.mp4 (120MB)

The bot will create the following messages in the thread:

Message 1:

  • Content: “Avatar”

  • Attachments: avatar.png

    The avatar file is uploaded successfully since it is within the size limit.

Message 2:

  • Content: “Fruits”

  • Attachments: apple.png (9MB)

    The first apple file is uploaded successfully, because it is within the size limit.

Message 3:

  • Content: “Fruits” + link to all_fruits.mp4

  • Attachments: peach.png

    The second apple file is uploaded successfully, because it is within the size limit. The third file all_fruits.mp4 exceeds the size limit and is therefore not uploaded, however it is added to the content as a link so the upload can still be accessed.

See? Every form field gets its own message with a clear label and context! If the uploads exceed the size limit of the message, The bot will automatically group attachments together so they fit within the limit, while still keeping the context clear with the message label. Note, that because the bot iterates over the files in order, the order of files in the messages may seem a bit random if some files exceed the size limit.