November Happy Hour will be moved to Thursday December 5th.

Form field dependencies are not imported correctly

Fixed in

EPiServer.Forms 4.30.3

(Or a related package)

Created

Dec 15, 2020

Updated

Jul 20, 2021

State

Closed, Cannot Reproduce


Description

Steps to reproduce:

  1. Create a form with 2 elements and make the second element show if the condition is met on the first element.
  2. Export the page with the form to a file.
  3. Change the name of the first element in the form.
  4. Import the form without updating existing content.
  5. Go to the dependencies tab in the second element of the imported form.
  6. The dependency has a crisscrossed background and the name of the dependent form element is the name of the changed element from the first form. 

Expected result:

Form field dependencies should work.

Actual result:

Dependencies for form elements do not get imported correctly and do not work. In the Dependencies tab in the imported form, the second text element's dependency points to the first text element in the original form.