How can I loop through a field and print each value individually? I have a field isotope.  It's a dropdown field with a single word text input.   Only one value (out of 6) can be assigned to an entry.  It is not a tag.  It is not a category.  

I want to create a button for each value within the isotope field. 

{% for button in entry.isotope %}  

    &lt;button class="button" data-filter="{{button.title}}"&gt;{{button.title}}&lt;/button&gt;

{% endear %}


This is wrong and generates the error Variable "entry" does not exist.  I know this is basic, but I am obviously missing something.
Variable "entry" does not exist


This error is being caused by the first line of your code:

... in entry.isotope %}

You are either using this template code on an element that isn't an entry or haven't defined a variable called entry anywhere.

So we can help you more, what type of element is this field being used on?