{exp:freeform_next:form form="{embed:form}" submit_class="btn btn-success" submission_token="{segment_5}" return_url="{path='demo/bootstrap/{embed:form}/submissions/SUBMISSION_ID'}" } {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="btn btn-small btn-primary" remove_button_label="x" remove_button_class="btn btn-small btn-danger" 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} {if:else} {field:render class="{if field:type == 'checkbox' OR field:type == 'mailing_list'}checkbox{if:elseif field:type == 'table'}table{if:else}form-control{/if}" label_class="{if field:required}required{/if}" error_class="help-block" instructions_class="help-block" 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}