{exp:freeform_next:form form="{embed:form}"
submit_class="btn btn-success"
return_url="{path='demo/foundation/{embed:form}'}"
}
{if form:is_submitted_successfully}
Form submitted successfully!
{/if}
{form:name}
{if form:page_count > 1}
{/if}
{if form:has_errors}
There was an error submitting this form
{/if}
{rows}
{/rows}
{if form:no_results}
Form with the handle '{segment_3}' does not exist
{/if}
{/exp:freeform_next:form}