...
In the successful response you can see the colors are being set by the values returned.
JSON Error Response Example
This example is JSON information returned when the script encounters an error with an extrenal program driven auto-complete.
Code Block |
---|
{
success:false,
"errorId":"-204",
"errorText":"CATEG in *LIBL type *FILE not found.",
"errorText2":"SQLPrepare()"
}
|
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 results are unable to display.
showErrors() API Documentation
Example of the showErrors() API displaying JSON error response example:
PHP Script Example: