I'm using a Form (Form B) within another Form (Form A).
Form B is used to capture the entry of new line items for a purchase into a table used to summarize information relevant to Form A.
Form B has validation requirements for entering a new line.
Form A should ignore Form B validation requirements when it's submitting since the fields in Form B aren't part of Form A data. It's odd that the validation of Form B is interfering since the State of Forma A data doesn't include these fields. How can I get around this?
-
Is there a way to skip the validation of Form B during submission of Form A through the component settings/JS script?
-
I could carve out Form B and the Table from Form A so it's sitting outside the Form A component, but Form B fields and settings are directly influenced by other fields in Form A, and Form A calculates totals based on the Table being updated by Form B. Since they are interrelated like this I would prefer to keep nested if possible.
Thank you.