Fix structure of form.layoutOptions.
Config for submitText and confirmationMessage.