Photo by John Tuesday on Unsplash

Checkbox alternative in Coda

Replace a checkbox with counted values via a lookup

The Problem I try to solve

In a permission system you ask users to push a button to make a choice. One this choice is made, you archive it and you relate it to other possible choices. In my approach is about giving the permission for time off. The decision of the Manager and the HRM department are needed.

solution I did not like

The alternatieve for a checkbox

Instead of using a checkbox per button and thus per user, I propose a lookup field that permits for multiple options, like below.

status logic
  • Two times approved is approved, email goes out.
  • No or one vote — we count via statusArchive — means we wait
  • One rejection results in a ‘sorry we cannot honor your request’ email

The 4 main benefits

First we have less columns, that always helps to keep the tables understandable. Second we can read the choices made, as opposed to the scenario we have to deduct meaning based on columnName and status. Third the calculations we need to define next steps are easier to set up. In our scenario we only have two people, but would it be that we have a team of 7 people, the logic would be very much alike, we would count the statusArchive input and compare the count with the team count (7 in our example) to check for a go if there is no Rejected. The last benefit you see below. We disable the button based on the content of the statusArchive instead of relating to a checked box or a resultColumn. The code snippits are concrete and tell us a story. This helps to create and maintain docs.

benefit 4 — disable based on the choices made
Christiaan — Coda Expert — on: “Checkbox alternative in Coda”

--

--

I use Coda mainly for (HR) planning & (budget) calculations. Follow me to learn how to Coda with numbers. I blog at least once per week.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Christiaan Huizer

I use Coda mainly for (HR) planning & (budget) calculations. Follow me to learn how to Coda with numbers. I blog at least once per week.