{% set form = guest.formbuilder_get({"id":order.form_id}) %} {% set config = order.config %}
{% for field in form.fields %}
{% if field.hide_label!=1 %}{% endif %}
{% if field.type == "text" %} {% elseif field.type == "select" %} {% elseif field.type == "checkbox" %} {% for k,v in field.options %} {% endfor %} {% elseif field.type == "radio" %} {% for k,v in field.options %} {% endfor %} {% elseif field.type == "textarea" %}
{% endif %}
{% endfor %}