# survey\_is\_history\_back

Source: https://zotonic.com/docs/2535/survey_is_history_back

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

Language: en



Test whether a survey respondent may return to the previous page in a history.

The first value is the survey resource. The argument can be a previous page number or a history list whose first two entries are the current and previous page numbers.

For example:

```django
{% if id|survey_is_history_back:history %}
    <button name="back">Back</button>
{% endif %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2535?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/2535?language=en>)
