Q:

Populate FilteringSelect from a json file

I have a json object(say dobject) returning data from a json file
Here is snippet of the json:  
"FormR": [
            {
                "limit": 2,
                "no": "One"
            }, {
                "limit": 2,
                "no": "Two"
            }
        ], 

now i want to create a FilteringSelect which should have One and Two when the dropdown is selected. Any ideas please?
Thanks in advance.

A:

First, you need to tell the select which field to use as an identifier. Second you need set value for the filtering select.
In your case, the code is something like:
 var rs1 = new dojo.store.JsonRest({
    target:"form2/",
    idProperty: "no"
 });
 ...
 var fs = new dijit.form.FilteringSelect({
    value: 'One'
    name: "FormR", 
    placeHolder: "Select a number", 
    store: ds1
 });

