Skip to content

FormsLabels

Describes@ebitex/forms-sdk 1.xSee the changelog:@ebitex/forms-sdk

Every string this package writes itself, so a site in another language can supply its own. Pass any subset as the labels prop of <EbitexForm>; the rest stay English. A value may hold {name} markers, which are filled in where the text says so below.

Your field labels, option labels, button labels and the server’s own error messages come from the form and are not in this list.

back: string

The button that returns to the previous step.


complete: string

Shown in place of the form after a successful submission.


errorSummary: string

The heading of the error summary, shown when two or more fields need fixing. {count} is how many.


failure: string

Shown when the answers could not be sent at all (a network failure, a server error).


lookupFound: string

The note on a type-ahead answer that was picked from the suggestions.


lookupNew: string

The note on a type-ahead answer that was typed.


lookupUnavailable: string

A type-ahead field whose suggestions could not be loaded.


lookupUseNew: string

The last suggestion, offering what was typed. {text} is what was typed.


next: string

The button that saves a step and moves on.


preview: string

Shown above a form that is not accepting responses. {status} is the form’s status, lower case.


progress: string

The accessible name of the step progress indicator.


required: string

The message under a required field that was left empty.


requiredHint: string

Read aloud after a required field’s label, in place of the visual asterisk.


select: string

The empty first option of a drop-down.


stepIndicator: string

The step progress text. {n} is the current step and {total} the number of steps.


submit: string

The final button when the form defines none of its own.