Skip to main content
Question

Toggle a checkbox in Pipelines

  • Nov 10, 2021 4:34 PM UTC
  • 0 replies
  • 71 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
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
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
  • Qrew Colonel
  • Nov 10, 2021 6:03 PM UTC

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

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



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