I am helping a team build out a tracker for their ideas using Confiforms. They would like the option to vote to Approve, Reject, or Defer (basically a 3 choice vote per record in the form).
I tried to accomplish this by using 3 voter controls fields (one for each choice), then inside the TableView macro I used the Confiforms Fields macro to hide the other choices after a vote was made (Hide field when stored data (for given record) matches this criteria: Approved.asList:[entry._user] OR Deferred.asList:[entry._user]).
However this approach does not hide the other voter control fields in realtime. There's nothing stopping a user from clicking all 3 vote buttons. It's only after refreshing the page that the other vote buttons are hidden.
Is there another way to allow a 3-way vote for each record that captures who has voted, and restricts each user to one choice per record?