Last updated: Nov 02 2016
Forms 4 - Breaking changes
Note: Episerver Forms is supported by MVC-based websites only.
This topic describes the breaking changes for Episerver 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).