I'm using dependencies to hide/show certain fields in a shipping/billing information form.

In the form, I have 1 "List (text), select list" field which is used to select the dependees for 3 dependents. The dependents are 2 "List (text), select list" fields and 1 "Text" field. All fields are set to be required in their field settings.

I have each dependent set to be invisible unless its' dependency is triggered. My problem is that after triggering one dependency, the 2 remaining dependents, which are hidden, are still required even though they are hidden. When submitting a form, this causes an error message to display saying:

"x field is required
y field is required"

My settings for each dependent are as follows:

Condition: Value
Values input mode: None of these values (NOT)
Set of values: "My selected value(s) that trigger(s) the dependency"
Interaction with other dependencies: XOR
Form state: Invisible
Effect: Show/Hide
✓ Hide the dependent if the dependee is not in the form
✓ Hide the dependent if the dependency is not triggered
✓ Hide the dependent if the dependee is not viewable by the user

Comments

ace1235’s picture

Issue summary: View changes
ace1235’s picture

Issue summary: View changes
ace1235’s picture

Issue summary: View changes
ace1235’s picture

Issue summary: View changes
wolfshine’s picture

same issue :(

yannickoo’s picture

Status: Active » Closed (duplicate)