Form Responses

This provides a form responses component from Form Builder (https://form-builder.shoplineapp.com), displaying a list of responses submitted.

Form Response Attributes

  • limit: 24, Number of items to be shown per page
  • page: 1, Starting from page
  • required_customer: true or false, Restrict customer to see his own responses
  • mode: pagination or scroll, Use scroll for infinite scrolling and pagination with a paginator

Remarks

  • Calling load_context block with the FORM_ID got from the url of a form will assign the variable form in the current context
  • Use form_response block for displaying the form
{% load_context { resource: 'FormResponse', id: 'FORM_ID', limit: 10 } %}
    {% form_response { mode: 'pagination' } %}
    {% end_form_response %}
{% end_load_context %}