[MGNLUI-3240] UI Form: Add cross field validation feature Created: 04/Nov/14  Updated: 03/Mar/16  Resolved: 03/Mar/16

Status: Closed
Project: Magnolia UI
Component/s: forms
Affects Version/s: 5.3.5
Fix Version/s: None

Type: New Feature Priority: Neutral
Reporter: Christian Ringele Assignee: Unassigned
Resolution: Obsolete Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
supersession
is superseded by MGNLUI-2542 Dynamic forms & cross-field interaction Accepted
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Cross field validation would be a helpful feature in many use cases.

Here three examples:
1. If you enter a value for an asset field, you also must provide a value for the asset description field that is present in the dialog.
2. In the Composite field "Point of interest", you must always fill in a longitude and a latitude, or leave both empty.
3. Two fields, age & parents names: If age < 18 one must enter a parents name.

This would be a very helpful feature to make the usage of forms more flexible.

I have created an issue where I tried a cross field validation on a CompositeField (constrained scope) as a POC, the POC would be usable: MGNLUI-3241



 Comments   
Comment by Mikaël Geljić [ 03/Mar/16 ]

While we acknowledge the importance of this feature, we intend to address it from this higher-level issue: MGNLUI-2542 (just rephrased it to "dynamic forms & cross-field validation").
Therefore I'm closing this issue, feel free to watch MGNLUI-2542.

Generated at Mon Feb 12 09:04:37 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.