Forms 2 - Breaking changes
Describes the breaking changes from Optimizely Forms version 1 to version 2.
NoteOptimizely Forms is supported by MVC-based websites only.
Some changes are binary breaking but do not necessarily require code changes but rather just a project recompilation.
- AFORM-455
Forms.DLLis now signed. - AFORM-540 Actor can now run sync or async with the submission process. With sync-Actor, a developer can modify the response return to the Visitor. See also Implement a customized Actor.
- AFORM-551 Autofill API
- Introduce
IAutofillProviderandAutofillService. - Change
IFormElement.GetDefaultValue().
- Introduce
- AFORM-472] The intention of
RichTextWithPlaceholderis Recall field value in previous-step. With this feature,RichTextWithPlaceholderelement works like a normal XHTML block (even when no placeholder exists). - AFORM-418 Progressive Profiling for Forms BETA.
- AFORM-480 Built-in Submit button now has a Progressive Profiling feature.
- AFORM-526 Option to not load the default style sheet (
EPiServerForms.css).
API changes
Changed
IFormElementinterface has a method:IFormElement.GetDefaultValue().- AFORM-533
IPostSubmissionActorinterface has properties to provide information about Field mapping to external systems.- Actor can be sync or async
- Only sync-actor can have/modify the
ResponseBaseobject - If a third-party developer uses
PostSubmissionActorBase, their class is not affected.
- AFORM-534 Feed API should be for internal use only.
- AFORM-541 Renamed
IElementTittletoIElementTitle, (fixing a typographical error in naming). - AFORM-488 Refactored static functions of validation, moved to
ValidationService.
Marked as obsolete
- Method of
FormsExtensionsshould be treated as Internal use only. They are helper functions and are not critical to providing services to third-party developers. - Properties
FieldMapping.NameFormElement.CodeFormElement.AttributesStringIFormElement.CodeIFormElement.AttributesString
- Methods
ElementBlockBase.FindParentFormFormsExtensions.GetSelectedDatasourceFormsExtensions.GetMatchedValidator
- Types
EPiServer.Forms.Core.FieldMappingEPiServer.Forms.Implementation.DataSubmissionEngineEPiServer.Forms.Implementation.FileSaveItemEPiServer.Forms.Implementation.ProgressiveSubmitInfoServiceEPiServer.Forms.Implementation.ProgressiveSubmitInfoService
Updated about 2 months ago