Skip to content

Options JSON Format

noahcampbell edited this page Nov 26, 2010 · 2 revisions

#Overview

The following document describes the JSON format when creating option drop down lists using the valuesUrl.

#Simple List

[
"Value 1",
"Value 2",
"Value 3",
]

The above will present a drop down list where the value of each element is name of each element.

#Name Value List

[
  {"name":"Name 1", "value":"Value 1"},
  {"name":"Name 2", "value":"Value 2"}
]

The above will present, in order, the element name. Upon selecting a value from the drop down list, the value will be supplied to the