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.

  • I've edited your question for clarity, I hope I didn't misunderstand what the formatting was meant to convey. BTW it seems you can solve your question through Rules trim: drupal.stackexchange.com/questions/81311/… – prkos Sep 19 '19 at 15:43

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.