Add support for forms

Fixed in

EPiServer.ContentDeliveryApi 2.6.0

Created

Apr 24, 2018

Updated

Sep 10, 2019

State

Closed, Acceptance tests pass


Description

The ContentDeliveryApi.Forms – CD.Forms supports form rendering in SPA site with Vue or React. Basically, form template along with required resources such as jQuery, CSS, external JavaScript is returned by CD.Forms in the Json format and clients can use that information to render Forms as in normal alloy site.

Forms rendered in Single Page Application should behave the same as in Alloy site

  • Rendering elements properly in ViewMode
  • Forms validation
  • Forms dependencies
  • Forms submission
  • Forms multiple steps… and so on

Note:

  • OPE for Forms is not allowed If you're using Music Festival.
  • Forms does not support CORS, so rendering and submitting Form from different domain are not allowed.