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.
Properties
Section titled “Properties”back:
string
The button that returns to the previous step.
complete
Section titled “complete”complete:
string
Shown in place of the form after a successful submission.
errorSummary
Section titled “errorSummary”errorSummary:
string
The heading of the error summary, shown when two or more fields need fixing. {count} is how many.
failure
Section titled “failure”failure:
string
Shown when the answers could not be sent at all (a network failure, a server error).
lookupFound
Section titled “lookupFound”lookupFound:
string
The note on a type-ahead answer that was picked from the suggestions.
lookupNew
Section titled “lookupNew”lookupNew:
string
The note on a type-ahead answer that was typed.
lookupUnavailable
Section titled “lookupUnavailable”lookupUnavailable:
string
A type-ahead field whose suggestions could not be loaded.
lookupUseNew
Section titled “lookupUseNew”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
Section titled “preview”preview:
string
Shown above a form that is not accepting responses. {status} is the form’s status, lower case.
progress
Section titled “progress”progress:
string
The accessible name of the step progress indicator.
required
Section titled “required”required:
string
The message under a required field that was left empty.
requiredHint
Section titled “requiredHint”requiredHint:
string
Read aloud after a required field’s label, in place of the visual asterisk.
select
Section titled “select”select:
string
The empty first option of a drop-down.
stepIndicator
Section titled “stepIndicator”stepIndicator:
string
The step progress text. {n} is the current step and {total} the number of steps.
submit
Section titled “submit”submit:
string
The final button when the form defines none of its own.