#Texts

You may need to override the default text displayed to your visitors.

Each text key modified using the .texts function is added to the default locale.

ℹ️ These configuration values are overridden by your Dashboard configuration.

#Usage

func texts(_ texts: [String: String], _ readOnly: Bool = false)

#Available text keys

#Forms

#form_optional
Default text: (Optional)

#form_no_options
Default text: No options

#form_error
Default text: An unknown error has occured. Please try again.

#form_error_required_field
Default text: This field is required.

#form_error_invalid_field
Default text: This field is not valid.

#form_error_invalid_email_field
Default text: The email address provided is not valid.

#form_error_invalid_phone_field
Default text: The phone number provided is not valid.

#form_error_invalid_date_field
Default text: The date format must be {format}.

#form_error_invalid_credit_card_field
Default text: The credit card informations provided are not valid.

#form_error_non_existent_email
Default text: The provided email address doesn't exist.