User Tools

Site Tools


en:template:checkbox

Differences

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]
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.txt · Last modified: 2017/06/22 11:17 by Nicolas Ronvel