Login

Converting old forms to xforms

Versions: 4.50 - 4.70, FAQ number: 138, Old FAQ number: 4054

This article describes how to convert your existing forms on a site to use with the new form functionallity introduced in EPiServer 4.50. Follow the steps below and you should be able to use the content of the existing forms with the new functionallity:

  1. Convert the forms you want to use in admin->Config->Tool Settings->Convert Form.
  2. Add a new property of the type xform to your form page type(s) (The example template uses the property named MainXForm).
  3. Change template for your form page type(s) to [virtual directory]/templates/xform.aspx.
  4. Open any pages that want's to use the converted forms and set the value for the xform property to the form the page should use.

WARNING. Do not change type of your existing form property. As the property value only is an identifier to a form and the old form has an integer as identifier and the new forms has a guid as identifier these will lose it's values if changed.

 

EPiTrace logger