# survey\_prepare\_narrative

Source: https://zotonic.com/docs/1610/survey_prepare_narrative

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

Language: en



Parse a survey narrative question into renderable text and input parts.

Text outside square brackets is HTML escaped and retained as text. A bracketed name such as `[age]` becomes a text input; `[color=red|green|blue]` becomes a select input. The result is a map containing the parsed `parts` list.

License: 

Attribution: 

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