Still validate fields on the hidden step

Found in

EPiServer.Forms 4.11.0

Fixed in

EPiServer.Forms 4.14.0

Created

May 24, 2018

Updated

Jun 12, 2018

Area

Core

State

Closed, Fixed and tested


Description

Steps to reproduce

1. Create a multi step form:

  • FormStep1
  • Textbox
  • FormStep2 (displays if Textbox = 12 )
  • TextArea (checked Required validator / OR any validator)
  • FormStep3
  • Submit

2. Open FormStep1 in View Mode.
3. Enter Text =12 then go to the next step.
4. Leave TextArea blank then go to the next step--> Validation message is shown.
5. Go back to previous step and enter Text = 55.
6. Click Submit on Step3.

Expected:
Can submit successfully.

Actual:
Cannot submit, and validation message says Text area: This field is required.