Form Behavior

Form Behavior Component

Is the Form Behavior component that make Unity UI forms act somehow like web forms.

Submit Form Section

Submit Button

The button that will submit your form when user click it

Submit Key

This key will submit the form without the need to click on submit button. If any input in the form is focused and user press the assigned key the form will be submited.

Use Both Submitkey And Enter

If this is checked user will be able to submit form with the assigned "submitkey" and with "keypad enter"

Input Styling Section

Default Background

The default background color of your text input

Default Text

The default text color of your text input

On Error Background

The background color when your input has a error after validation

On Error Text

The text color when your input has a error after validation

Form Fields Section

Inputs

List with all inputs of this form

Element

The gameobject with InputField component

Validation

The validation type for this input, see Form Validation for more information.

Required

Check it if the input must be filled

Submit Events

On Submit

A list with all events that you want to trigger when your inputs are validated and submited.

Last updated