0

I have a view that allows users to flag nodes directly through the view, I'd like to limit it so that can only flag one item per category at a time.

For example:

VIEW

Category 1

        Node A    Node B
Flagged: [X]        []               


Category 2

        Node C    Node D
Flagged: []         []                  

but NOT

Category 1

        Node A    Node B
Flagged: [X]        [X]                 


Category 2

        Node C    Node D
Flagged: [X]        [X]                 

Node from Category one is flagged, others from same category is unflagged.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.