-
Notifications
You must be signed in to change notification settings - Fork 147
PFC Checkbox
AP Orlebeke edited this page Jan 24, 2019
·
1 revision
To use checkboxes as input for a string value in an array, the payload key dictionary must have the following settings:
-
pfm_type
=array
-
pfm_type_input
=boolean
-
pfm_subkeys
-
pfm_type
=string
-
Example below:
<dict>
<key>pfm_name</key>
<string>test</string>
<key>pfm_subkeys</key>
<array>
<dict>
<key>pfm_range_list</key>
<array>
<string>stringoption1</string>
<string>stringoption2</string>
<string>stringoption3</string>
</array>
<key>pfm_range_list_titles</key>
<array>
<string>String Option Label 1</string>
<string>String Option Label 2</string>
<string>String Option Label 3</string>
</array>
<key>pfm_type</key>
<string>string</string>
</dict>
</array>
<key>pfm_type</key>
<string>array</string>
<key>pfm_type_input</key>
<string>boolean</string>
</dict>