{exp:freeform_next:form form="{embed:form}" submit_class="btn btn-success" return_url="{path='demo/foundation/{embed:form}'}" } {if form:is_submitted_successfully} {/if}

{form:name}

{if form:page_count > 1} {/if} {if form:has_errors}
There was an error submitting this form
{/if} {rows}
{fields}
{if field:type == 'checkbox_group'} {field:render_label label_class="{if field:required}required{/if}"} {field:options}
{/field:options} {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'radio_group'} {field:render_label label_class="{if field:required}required{/if}"} {field:options}
{/field:options} {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'dynamic_recipients' AND field:show_as_radio} {field:render_label label_class="{if field:required}required{/if}"} {field:options}
{/field:options} {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'dynamic_recipients' AND field:show_as_checkboxes} {field:render_label label_class="{if field:required}required{/if}"} {field:options}
{/field:options} {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'table'} {field:render_label label_class="{if field:required}required{/if}"} {field:render_input class="table" add_button_label="Add +" add_button_class="button" remove_button_label="x" remove_button_class="button" table_text_input_class="form-control" table_select_input_class="form-control" table_checkbox_input_class="form-check-input" } {field:render_instructions instructions_class="help-block"} {field:render_errors error_class="help-block"} {if:elseif field:type == 'submit'} {field:render class="button"} {if:else} {field:render class="{if field:type == 'checkbox' OR field:type == 'mailing_list'}checkbox{if:else}form-control{/if}" label_class="{if field:required}required{/if}" instructions_class="help-text" instructions_below_field="yes" } {/if}
{/fields}
{/rows} {if form:no_results}
Form with the handle '{segment_3}' does not exist
{/if} {/exp:freeform_next:form}