Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Choices URL

The choices URL property allows you to use a web service to return your choice options and values by passing them using JSON formatting. A PHP script would be one example of a service used to pass the values to your application. When using the choices url property, all database-driven auto-complete properties are ignored.

Good JSON Syntax Example

...

JSON Error Example

Code Block
 {
    "success": false,
    "errorId": "08001",
    "errorText": "Authorization failure on distributed database connection attempt. SQLCODE=-30082"
}

If you are unable to get any information to display on your choice URL script you can use the showErrors() API to try and debug the reason the auto-complete is unable to display results.
showErrors() API Documentation

Image Added