Skip to main content
Question

Toggle a checkbox in Pipelines

  • November 10, 2021
  • 0 replies
  • 62 views

Forum|alt.badge.img+14
Currently if I want to toggle a checkbox with a pipeline, i use an if condition. If checkbox=true, set checkbox to false, else set to true.

Is there a way to toggle a checkbox without an if statement? Something that tells QB, set the checkbox to the opposite of what it's current state is?

------------------------------
Michael Tamoush
------------------------------

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • November 10, 2021
I'm sure that there is a way with Jinja code, but if you want to cheat you can just make a formula checkbox in native Quickbase and use that. 

not [My checkbox field]

------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------

SSNJeffP
Forum|alt.badge.img+11
  • Quickbase Alumni
  • November 10, 2021

I'm using something like this in a pipeline to control a checkbox. 

{% if a.checkbox_field == FALSE%}
TRUE
{% else %}
FALSE
{% endif %}



------------------------------
Jeff Peterson
------------------------------