Processing the results
Get the player inside the form
Use this expression to get the player inside the form, instead of the usual player or any variables.
form(-| )player
Getting the type of the created form
form[(-| )]type of %form%
%form%'s form[(-| )]type
Available types of forms for comparison:
- custom form
- modal form
- simple form
Execute the code when opening/closing the form
run (when|while) (open[ing]|clos(e|ing)) [[the] form]
run (when|while) [the] form (opens|closes)
run on form (open[ing]|clos(e|ing))
Cancel or allow closing of the form
By default, closing the form is allowed. If you disable it, the form will be reopened after the selection
cancel [the] form clos(e|ing)
uncancel [the] form clos(e|ing)
Get the reason for closing the form
This expression can only be used in the section when closing the form
[form(-| )]close reason
Available reasons for closing for comparison:
- close
- (submit|success)
- invalid[ response]
Execute the code on form submit
run on form (result|submit)
Custom form elements
This expression can only be used in the section when the form is successfully closed
[form[(-| )]](drop[(-| )]down|input|slider|step[(-| )]slider|toggle) %number% [value]
value of [form[(-| )]](drop[(-| )]down|input|slider|step[(-| )]slider|toggle) %number%
For button processing Modal form and Simple form use the button creation section