Answers.Body: <p>To pull an individual field from a form, use the <code>form.get("myFieldHandle")</code> method.</p>
  
  <p>Simple example using the <a href="http://docs.solspace.com/craft/freeform/v2/template-objects/field.html#methods" rel="nofollow noreferrer">field.render()</a> method:</p>
  
  <pre><code>{% set form = craft.freeform.form("myFormHandle") %}
  
  {{ form.get("firstName").render() }}
  </code></pre>
  
  <p>Or a more custom example:</p>
  
  <pre><code>{% set form = craft.freeform.form("myFormHandle") %}
  {% set firstName = form.get("firstName") %}
  
  &lt;label&gt;{{ firstName.label }}&lt;/label&gt;
  &lt;input name="{{ firstName.handle }}" value="{{ firstName.value }}" /&gt;
  {{ firstName.renderErrors() }}
  </code></pre>
  
  <p><a href="http://docs.solspace.com/craft/freeform/v2/template-functions/freeform.form.html#usage-in-templates" rel="nofollow noreferrer">Examples from Freeform documentation</a></p>
  
  <p>Note from the Freeform's docs:</p>
  
  <blockquote>
    <p>When using with HTML blocks or Submit buttons, use the hash value provided in property editor in Composer as the handle. Example code would look like:
    {{ form.get('Ajx7jNxXL').render }}</p>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-18T06:29:42.947Z
Answers.LastActivityDate: 2019-06-18T06:29:42.947Z
Answers.UserDisplayName: Alex Roper
Body: <p>Can we render some particular field from our FreeForm plugin ?</p>
  
  <p>If yes, how can we achieve it ?</p>
  
Tags: <craft3><plugin-freeform><freeform>
Title: Render Field from FieldHandler in FreeForm Craft CMS
ThreadText: # Render Field from FieldHandler in FreeForm Craft CMS
  
  (Asked by: username_0 on 2019-06-17)
  
  Can we render some particular field from our FreeForm plugin ?
  
  If yes, how can we achieve it ?
  
  **Tags:** craft3, plugin-freeform, freeform
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-06-18. Score: 1
  
  To pull an individual field from a form, use the `form.get("myFieldHandle")` method.
  
  Simple example using the [field.render()](http://docs.solspace.com/craft/freeform/v2/template-objects/field.html#methods) method:
  
  ```
  {% set form = craft.freeform.form("myFormHandle") %}
  
  {{ form.get("firstName").render() }}
  
  ```
  
  Or a more custom example:
  
  ```
  {% set form = craft.freeform.form("myFormHandle") %}
  {% set firstName = form.get("firstName") %}
  
  <label>{{ firstName.label }}</label>
  <input name="{{ firstName.handle }}" value="{{ firstName.value }}" />
  {{ firstName.renderErrors() }}
  
  ```
  
  [Examples from Freeform documentation](http://docs.solspace.com/craft/freeform/v2/template-functions/freeform.form.html#usage-in-templates)
  
  Note from the Freeform's docs:
  
  > When using with HTML blocks or Submit buttons, use the hash value provided in property editor in Composer as the handle. Example code would look like:
  > {{ form.get('Ajx7jNxXL').render }}
  
  
  ---
  
  