Note: Optimizely Forms is supported by MVC-based websites only.
This topic describes the breaking changes for Optimizely Forms 4.0 in relation to the previous major version (3). To view the complete list of changes (marked with BREAKING in the title), see the release notes.
This release implements a feature request to support validation of multiple elements at once.
In non-JS mode, all elements are validated at once. New behaviors in this release:
Validation messages displayed on each failed element
Input data on the forms is not cleared
On server side, this function:
processes all elements at once, and returns the array of ValidationInfo.
Breaking changes in Forms 4.0
ValidateFormData(NameValueCollection formData, out ValidationInfo validationFailInfo) is marked with [Obsolete].
Add ValidateFormData(NameValueCollection formData, out IEnumerable<ValidationInfo> validationFailInfo).
Last updated: Nov 02, 2016