Hi all,
I'm trying to retrieve data to fill the autocomplete dropdown in Orbeon
Forms, but I'm receiving a json file in the response.
In the Form Builder, I'm supposed to add Items, Label and Value for the
autocomplete.
The response I'm getting is something like
{"status":"success","code":200,"data":{"streets":[{"name":"Street
One","id":"1"},{"name":"Street Two","id":"2"},{"name":"Street
Three","id":"3"}]}}
How can I parse this data and fill the autocomplete?
I've seen this
https://doc.orbeon.com/xforms/submission-json.html and tried
to use it as a reference, but without any luck. Can someone help me with
this?
Thanks in advance!
Kind regards,
Masa
--
Sent from:
http://discuss.orbeon.com/--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].