Subject: Bureaucracy + struct: filter data in form
I am trying for days to find a solution about this:
I have two lookup schemas as following:
SchemaA has is a Text Type column (A1) and a dropdown with values OK, NOT OK (A2)
SchemaB has a Text column (B1) and Lookup column (B2) which is using schemaA and the A1 field.
In this example I would like to create a form using bureaucracy plugin with schemaB, but limit the A1 items only to the ones that have an OK value.
Any help would be greatly appreciated.
I have two lookup schemas as following:
SchemaA has is a Text Type column (A1) and a dropdown with values OK, NOT OK (A2)
SchemaB has a Text column (B1) and Lookup column (B2) which is using schemaA and the A1 field.
In this example I would like to create a form using bureaucracy plugin with schemaB, but limit the A1 items only to the ones that have an OK value.
Any help would be greatly appreciated.