How to opulate a dropdownlist with values from a json file?
How to opulate a dropdownlist with values from a json file?
What does the data look like in the JSON format?
json_decode it and if it’s an array, you may use it directly on the CHtml::form(), else you might have to do some converting.