Home

Awesome

Low Freeform Field

An ExpressionEngine add-on that creates a custom field type to select any of the available Freeform fields. Includes Low Variables, Matrix and Grid support.

Requirements

Installation EE1

Installation EE2

Example

{exp:channel:entries channel="forms" url_title="my_form"}

  {exp:freeform:form collection="{title}" required="{form_fields search:field_required="=y" backspace="1"}{field_name}|{/form_fields}"}

    {form_fields}
      <div>
        <label for="row_{row_count}">
          {field_label}{if field_required == 'y'} <span class="required">*</span>{/if}
        </label>
        {if field_type == 'text'}
          <input type="text" class="{field_class}{if field_required == 'y'} required{/if}" name="{field_name}" id="row_{row_count}" />
        {if:elseif field_type == 'textarea'}
          <textarea name="{field_name}" id="row_{row_count}" class="{field_class}{if field_required == 'y'} required{/if}" rows="10" cols="40"></textarea>
        {/if}
      </div>
    {/form_fields}

  {/exp:freeform:form}

{/exp:channel:entries}