Photo by Henry McIntosh on Unsplash | How to Coda a Check Box

How To Coda a Check Box?

Using a check box to simplify conditions

Although a check box can have three states as explained in this blog , see screenshot below, I focus in this blog on true and false.

in this blog I focus on two options instead of three

TRUE()

Below a simple table I use to show the power of True(). We start with the If statement using a checkbox:

Checkbox inside an If-statement

The only thing we wrote was the name of the column: ‘CheckBox’ and this works.

No need to write :

Nor to write:

Nor this option:

The filter

The same inside a filter, see below:

the check box inside a filter

Here likewise, all the other options would work as well, but the simple check box does the job.

The mains lesson is that a checkbox is True() by default and this insight you can apply elsewhere as well, like in setting up automation rules. Below a last example related to check boxes living on the canvas:

Check Boxes on the Canvas

Below two buttons that together result in 4 options.

basic options

The options on the canvas I wrote :

check boxes on the canvas

When a check box is checked, you simply note the default state (true) and if not, you add .Not() . It is as easy as this and fast in writing. This logic permits for setting up a schema really fast.

While templating I make use of this logic to keep track of options users make in the doc. The named formulas help me to see what I am doing.

Conclusion

I hope you enjoyed this article. If you have questions feel free to reach out. Though this article is for free, my work (including advice) won’t be, but there is always room for a chat to see what can be done. Besides you find my (for free) contributions to the Coda Community and on Twitter

My name is Christiaan Huizer and I am the owner of Huizer Automation. A company specialized in serving SME in harvesting data and keeping it aligned. I am a Coda Consultant & Expert and rely mainly on Coda, Mailjet, Zapier & Paperform to get the job done.

Huizer Automation — Coda Expert and Coda Consultant on “How To Coda a Check Box?”

--

--

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