Answers.Body: <p>Unfortunately this is currently a limitation of Freeform. It expects that the option values are predefined for the field, and not dynamically loaded at template level.</p>
  
  <p>It's on our feature requests list to come up with a way to let users override this functionality. :)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-06T15:43:26.650Z
Answers.LastActivityDate: 2017-10-06T15:43:26.650Z
Answers.UserDisplayName: Solspace
Body: <p>I am populating a select drop down with custom options in the template, but those options are not being displayed in the individual Form submission page.</p>
  
  <p>Example code below:</p>
  
  <pre><code>{% if field.handle == "country" %}            
  &lt;div class="fe {{ columnClass }}"&gt;
     &lt;label class="select-label"&gt;
        &lt;select name="{{ field.handle }}" id="form-input-{{ field.handle }}" required&gt;
            &lt;option value=""&gt;Country *&lt;/option&gt;
            &lt;option value="AF"&gt;Afghanistan&lt;/option&gt;
            &lt;option value="xx"&gt;another country...&lt;/option&gt;
      &lt;/label&gt;
  &lt;/div&gt;
  {% endif %}
  </code></pre>
  
  <p>The Country field handle is <code>country</code> </p>
  
  <p>Outputted html is:</p>
  
  <pre><code>&lt;div class="fe freeform-column  freeform-column-6"&gt;
      &lt;label class="select-label"&gt;
          &lt;select name="country" id="form-input-country" required&gt;
              &lt;option value=""&gt;Country *&lt;/option&gt;
              &lt;option value="AF"&gt;Afghanistan&lt;/option&gt;
              &lt;option value="xx"&gt;Another country...&lt;/option&gt;
          &lt;/select&gt;
      &lt;/label&gt;
  &lt;/div&gt; 
  </code></pre>
  
  <p>When I view the individual submission in admin I see the below:
  <a href="https://i.sstatic.net/Q11Ya.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Q11Ya.png" alt="Form submission page"></a></p>
  
  <p>But in the submission list page the value does appear:</p>
  
  <p><a href="https://i.sstatic.net/a8ZF5.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/a8ZF5.png" alt="Submissions List"></a></p>
  
  <p>Thanks</p>
  
Tags: <plugin-freeform><solspace><freeform>
Title: Solspace select options not being stored
ThreadText: # Solspace select options not being stored
  
  (Asked by: username_0 on 2017-10-06)
  
  I am populating a select drop down with custom options in the template, but those options are not being displayed in the individual Form submission page.
  
  Example code below:
  
  ```
  {% if field.handle == "country" %}            
  <div class="fe {{ columnClass }}">
     <label class="select-label">
        <select name="{{ field.handle }}" id="form-input-{{ field.handle }}" required>
            <option value="">Country *</option>
            <option value="AF">Afghanistan</option>
            <option value="xx">another country...</option>
      </label>
  </div>
  {% endif %}
  
  ```
  
  The Country field handle is `country`
  
  Outputted html is:
  
  ```
  <div class="fe freeform-column  freeform-column-6">
      <label class="select-label">
          <select name="country" id="form-input-country" required>
              <option value="">Country *</option>
              <option value="AF">Afghanistan</option>
              <option value="xx">Another country...</option>
          </select>
      </label>
  </div> 
  
  ```
  
  When I view the individual submission in admin I see the below:
  [![Form submission page](https://i.sstatic.net/Q11Ya.png)](https://i.sstatic.net/Q11Ya.png)
  
  But in the submission list page the value does appear:
  
  [![Submissions List](https://i.sstatic.net/a8ZF5.png)](https://i.sstatic.net/a8ZF5.png)
  
  Thanks
  
  **Tags:** plugin-freeform, solspace, freeform
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-10-06. Score: 1
  
  Unfortunately this is currently a limitation of Freeform. It expects that the option values are predefined for the field, and not dynamically loaded at template level.
  
  It's on our feature requests list to come up with a way to let users override this functionality. :)
  
  
  ---
  
  