-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Moritz Tim W. edited this page Nov 14, 2023
·
17 revisions
Get a form up and running in 10 steps.
- Install the plugin
from the Asset Library tab in Godot. Orby following the Installation instructions.
- Add a
FormContainer
to your scene. - Add a
Container
of your choice as a child of theFormContainer
to hold the form elements. - For each form element, add a
FormLabel
and any inputControl
. - Finally, add a
Submit
button.
- In the inspector of your
FormContainer
, set theSubmit Button
property to yourSubmit
button. - In the inspector of each element, set the
input
property to the correspondingControl
node.
- In the inspector of your
FormContainer
, choose and set up aProtocol
. Currently supported protocols are:
Of course, you can also implement your own protocol by extending the
Protocol
class or any of its descendants.
- In the inspector of each
FormLabel
, set theinput_required
property if needed. - In the inspector of each input
Control
, set and configure theValidator
property with rules.