User Tools

Site Tools

Translations of this page?:

en:template:text_input

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 as a 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.

You can use specific Advanced Variables to access and edit the text of that field (upperCase, lowerCase, …).

en/template/text_input.txt · Last modified: 2016/08/17 13:40 by Nicolas Ronvel