How To Coda a Check Box?
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.
Below a simple table I use to show the power of True(). We start with the If statement using a checkbox:
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 same inside a filter, see below:
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.
The options on the canvas I wrote :
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.
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.