|
Possibility to configure several types of answer validation logic for the order and registration forms in web shop. Those are e-mail format validation, length and white list validation.
For configuring questions:
- Go to Customer->Settings->Questions->Questions and choose question you want to validate.
- E-mail format validation can be enabled for E-mail, E-invoice address and Custom Question(text, textarea). the answer must conform to the e-mail address format as specified in the RFC 2822(with exception : validation does not accept the liberal way of specifying the local part using double quotes). So, it is impossible now for customer to insert wrong email, if e-mail format validation is enabled.

- White list validation: the answer must be composed using only the specified set of "whitelisted" characters.
- Length validation: the length of the answer must be in the specified allowed length range.
For example you can specify phone number to be 6-8 numbers length.
If the validation logic is enabled for a question in the question editor, then it is used for validating the order and registration forms in the web shop. If check for valid answer value for question fails, then customer see appropriate notifications.
|