Create a new server-sided action form.
The title of the form.
Optionalcontent: stringThe content of the form; defaults to an empty string.
The content of the form.
Protected ReadonlyformThe form id of the form.
The title of the form.
ReadonlytypeThe type of form.
Clears a specific element from the form.
The index of the element to clear.
Clears all elements from the form.
Closes the form for a player.
The player to close the form for.
Adds a divider element to the form.
This ActionForm instance
Adds a header element to the form.
The text of the header
This ActionForm instance
Adds a label element to the form.
The text of the label
This ActionForm instance
Show the form synchronously to a player.
The player to show the form to.
The result callback to call when the form is submitted.
Show the form asynchronously to a player.
The player to show the form to.
A promise that resolves with the form response or an error.
Updates the form for a player.
The player to update the form for.
These forms also contain a title and a context area, but developers can add as many buttons as they so desire. These buttons can also have textures that include either a resource path, or a url path.
Example Usage