User Tools

Site Tools

Translations of this page?:

en:template:boolean_variables

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Boolean Variables ====== A boolean variable can only be two values : ''true'' or ''false''. Generally, such a variable is associated with a Checkbox field. It can be used with boolean properties inside the canvas, such as the ''visible'' one. To use a **Boolean Variable**, use the text ''?myVariable'', with the name corresponding to the field defined. <code javascript> "canvasFields": [ {"type":"rect", "visible": "?isDisplayed", "width": 330, "height":40, "left":5, "top":450, "fill":"#B1E29E", "stroke":"#000000"}, ] </code>

en/template/boolean_variables.1470901682.txt.gz · Last modified: 2016/08/11 09:48 by Nicolas Ronvel