[MGNLUI-3617] Cross/Conditional Field Validation for Multi-Value and Composite Fields Created: 05/Oct/15  Updated: 03/Mar/16  Resolved: 03/Mar/16

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

Type: Improvement Priority: Critical
Reporter: Avinash Palayadi Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-3241 Composite Field: Add cross field vali... Closed
supersession
is superseded by MGNLUI-2542 Dynamic forms & cross-field interaction Accepted
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

We would need Cross/Conditional field validation of fields within a
1. Composite Field
For example
CompositeField.Field1
CompositeField.Field2

We would like to have capability of validating Field1 and Field2 based on custom conditions - one use case is either both fields should present or absent.

2. Composite Fields within a Multi-Value Field

If we have a multi value field or a composite field within a multivalue field we would like to have conditional validations.

MultiValueField.AddedSelectField1 (Drop-down field or Select field)
MultiValueField.AddedSelectField2 (Drop-down field or Select field)

We would like to validation MultiValueField.AddedSelectField2 not have the same value as MultiValueField.AddedSelectField1

Other Use case is
MultiValueField.CompositeField.AddedField11
MultiValueField.CompositeField.AddedSelectField12

MultiValueField.CompositeField.AddedField21
MultiValueField.CompositeField.AddedSelectField22

We would like to validation MultiValueField.CompositeField.AddedSelectField22 does not have the same value as MultiValueField.CompositeField.AddedSelectField12



 Comments   
Comment by Richard Gange [ 07/Oct/15 ]

Hi Avinash-

Most likely this won't make in into the 5.4 product. However, on MGNLUI-3241 there is some donated code there that could be utilized in the mean time, i think. If you need assistance with it please open a support request and we can explore the option.

Cheers
Rich

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", I collected similar requirements there too).
Therefore I'm closing this issue, feel free to watch MGNLUI-2542.

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