User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:template:checkbox [2017/06/22 11:10]
Nicolas Ronvel [Using the variable]
en:template:checkbox [2017/06/22 11:17] (current)
Nicolas Ronvel [Using the variable]
Line 14: Line 14:
 ===== Using the variable ===== ===== Using the variable =====
-Inside the canvas, some properties are set to boolean (for example, ''​visible''​). Set such a field to the text value ''"?​trueornot"''​ (using your field name), and it will be converted to the boolean value corresponding to the state of the checkbox. +The Checkbox generates ​[[en:​template:​boolean_variables|Boolean Variable]].
- +
-Useful to hide / show a field on a card. +
- +
-==== Not ==== +
- +
-What if you need to get the inverse result of the checkbox ? Then, you can add the code ''?​!variable''​ to get the inverse result. If your checkbox ''​variable''​ is checked, it will return ''​false''​.+
en/template/checkbox.1498122627.txt.gz · Last modified: 2017/06/22 11:10 by Nicolas Ronvel