User Tools

Site Tools

Translations of this page?:

en:template:text_input

This is an old revision of the document!


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

====== 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. <code javascript> "fields": [ { "name": "myfieldname", "label":"My field", "default": "Default value" } ] </code> ===== 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.

en/template/text_input.1470841621.txt.gz · Last modified: 2016/08/10 17:07 by Nicolas Ronvel