Hi ella, thanks for your reply, but my question is more related to how to fetch data from the folder by some key like ID or UserKey inside template.
For example:
1. I create content type named Hotel.
2. Inside content type Hotel I create dropdownlist named Country and fill it with the data from folder Country.
3. When I look at the code I see that the Value and Text have the same values - just text name of the country and not id and value:
<select>
<option value="England">England<option>
<option value="Russia">Russia<option>
<select>
But actually I would like to have something like:
<select>
<option value="1">England<option>
<option value="2">Russia<option>
<select>
Is it possible? Or I should use Text value as a key to fetch data from other folder.
So, here I would like to implement change event and fetch some data from City folder through ajax and then to fill with this data the other one dropdownlist named City.
It's not a problem to implement some javascript and fill dropdownlist, but It would be nice to have an example on - how to get data by ID from some specific folder in the CMS system?
Thanks