Skip to content

Templates Text input

Nicolas Ronvel edited this page Jun 5, 2016 · 3 revisions

Text Input fields

Text Input fields are the basic ones. It creates a text input in which the user can type anything he wants. This text can then be passed to the card to be displayed.

"fields": [
    { "name": "myfieldname", "label":"My field", "default": "Default value" } 
]

Using the variable

With each Text input field created, a variable is created. To use it in the canvasFields, have the value of a property set to the string $myfieldname. It will be replaced by the value set in the field.