# survey\_result\_column\_values

Source: https://zotonic.com/docs/2371/survey_result_column_values

URI: https://zotonic.com/id/2371

Language: en



Used by the survey module to add extra column values to the result editor.

Example usage:

```erlang
{% with id|survey_result_column_values:answer:columns:"html" as vs %}
    {% for col,_ in columns %}
        <td>
            {{ vs[col] }}
        </td>
    {% endfor %}
{% endwith %}
```

Where columns has been returned by the `#survey_result_columns{}` notification.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2371?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2371?language=en>)
