...
These are values returned from an auto-complete select box in a successful response from the external program:
Code Block |
---|
{ "success": true, "responsesuccess": [ new Option("Black", "Black"), new Option("Red", "Red"), new Option("Aqua", "Aqua"), new Option("Blue", "Blue"), true, "response":[ new Option("Green",Dishes and Cups"Green"), new Option("Silver", "Silver"18"), new Option("Yellow", "Yellow"), new Option("Fuchsia", "Fuchsia"), new Option("LawnGreenSoaps", "LawnGreen"), new Option("Maroon", "Maroon"), new Option("Tomato", "Tomato") "14") ] } |
In the successful response you can see the colors choices are being set by the values returned. Also in the example above the first value returned is the choice text, and the second returned value is the numeric value associated with the corresponding choice.
JSON Error Response Example
...