Load data into form

Hi, I’m new to DHTMLX and I’m trying to load data into a form using a JSON string via load function [form.load(URL,“json”)], but it seems I used a wrong JSON format, anyone got an example?
Above the JSON returned from the server (JSON keys=name of form fields)

[data:{“name”:“Pluto”,“id”:7,“user”:“Pluto”,…}]

Thx!!!

Hi
Here is a sa,ple of loading form via json:
dhtmlx.com/docs/products/dht … bject.html

Thanks, but it’s not what I was looking for. I’m tryong to fill values of form fields with values from a JSON array returned by the server via the form load method -form.load(URL,“json”)…

Try to use method setFormData and put there your json, but in correc described format
docs.dhtmlx.com/doku.php?id=dhtm … etformdata