This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:template:advanced_string_variables [2016/08/17 13:36] Nicolas Ronvel [Dropdown Menu] |
en:template:advanced_string_variables [2017/06/22 11:20] (current) Nicolas Ronvel [Color Picker Field] |
||
---|---|---|---|
Line 29: | Line 29: | ||
* [[Choice Input|Dropdown Menu]] (get the text displayed for the selected item) | * [[Choice Input|Dropdown Menu]] (get the text displayed for the selected item) | ||
* [[Rich Text Field|Rich Text Field]] (get the displayed text, without the formatting) | * [[Rich Text Field|Rich Text Field]] (get the displayed text, without the formatting) | ||
+ | * [[color_picker|Color Picker]] (get the RGB color, and manipulate the color) | ||
+ | * [[en:template:numeric_input_field|Numeric Input]] (get the numeric as a string) | ||
===== Formatting ===== | ===== Formatting ===== | ||
Line 58: | Line 59: | ||
As you can see, we have added the ''value'' attribute to the ''age'' variable by using a dot between the variable & the attribute. The existing attributes are listed below. | As you can see, we have added the ''value'' attribute to the ''age'' variable by using a dot between the variable & the attribute. The existing attributes are listed below. | ||
+ | |||
+ | ==== Text Input ==== | ||
+ | |||
+ | Text Input fields have 3 special values : | ||
+ | |||
+ | * ''text'' is the text displayed in the field, that the user selected (default value if none is indicated) | ||
+ | * ''upper'' is the text displayed in the field, in upper case | ||
+ | * ''lower'' is the text displayed in the field, in lower case | ||
+ | |||
+ | ==== Multiline Text Input ==== | ||
+ | |||
+ | Multiline Text Input fields have 3 special values : | ||
+ | |||
+ | * ''text'' is the text displayed in the field, that the user selected (default value if none is indicated) | ||
+ | * ''upper'' is the text displayed in the field, in upper case | ||
+ | * ''lower'' is the text displayed in the field, in lower case | ||
==== Dropdown Menu ==== | ==== Dropdown Menu ==== | ||
- | Dropdown Menus have 4 special values : | + | Dropdown Menus have 6 special values : |
* ''text'' is the text displayed in the field, that the user selected | * ''text'' is the text displayed in the field, that the user selected | ||
Line 80: | Line 97: | ||
Color Picker Fields have several special values. See the [[Color_Picker#special_values|main page]] of this type of field. | Color Picker Fields have several special values. See the [[Color_Picker#special_values|main page]] of this type of field. | ||
+ | |||
+ | ==== Numeric Input Field ==== | ||
+ | |||
+ | The Numeric Input fields return the numeric value as a string when getting it with an advanced string variable. It can be useful to display a value through a textbox on the canvas. |