Readonly
contentThe content of the form.
Protected
Readonly
formThe form id of the form.
The sumbit button text.
The title of the form.
Readonly
typeThe type of form.
Static
formThe next form id to use when creating a new form.
Closes the form for a player.
The player to close the form for.
Adds a sectuib divider to the form.
Adds a dropdown menu to the form.
The text of the dropdown menu
The options of the dropdown menu
The default index of the dropdown menu
Adds a header to the form.
The text of the header
Adds a text input to the form.
The text of the input
The placeholder of the input
Adds a label to the form.
The text of the label
Shows the form to a player.
The player to show the form to.
The form response; the value of the form.
Adds a slider to the form.
The text of the slider
The minimum value of the slider
The maximum value of the slider
The step of the slider
The default value of the slider
Adds a step slider to the form.
The text of the step slider
The steps of the step slider
The default index of the step slider
Adds a toggle switch to the form.
The text of the toggle
The default value of the toggle
These forms are the must advanced type of form. These allow developers to add elements to request input from the player, rather than using buttons. The elements used in ModalForms are: dropdown, input, label, slider, stepSlider, and toggle.
Example Usage