1. dropdown1 is populated from a field1 in a collection1 referenced into the main collection2
2. dropdown2 is populated from a field the main collection2 and needs to submit data
I need to filter dropdown2 to a limited set of items from the dropdown1 item choice
collection1 has the field1 and field2 that correlate with a field2r in collection2, field2r is also the referencing field, so no subfields are required.
I managed to get the code queens conditional filtering with two unique dropdowns to work fine. However this will not allow me to submit data as i need to add the reference field and not the collection1 field.
Can this work with the wix code framework or should i not use reference fields and use some other paradigm?
If it can work how can this be achieved is there a guide on how to do this?