Step Type: Web View
- Updated
The web view step allows for embedding any HTML, CSS, or JavaScript inside a survey. It allows for extreme flexibility in creating custom experiences, but requires the user to be able to code in HTML, CSS, and JavaScript.
Property | Function | Examples |
---|---|---|
Content Type |
Specify the type of web view step you wish to have. |
|
Web Content | HTML, including CSS or JavaScript, for the step. | Sample content is provided when you create a web view step. |
Developing Web View Steps
Web View steps can use HTML and CSS for styling and JavaScript for behavior. The default step contains some basic styles, as well as the minimal JavaScript necessary to handle the "Next" button and submit your answer.
For more help developing Web View steps, see our Developer Site.
Using Web View Step Templates
Sometimes you will have several different steps within a survey utilizing the same custom web view design. Perhaps you have a unique style for your instruction steps, or several different mood questions that have the participant choose from a range of emoji. Web view step templates allow you to have multiple steps with similar looks and functionality, but individualized message prompts.
Your developers will create your custom template(s) using the instructions on our Developer Site. Once created, these templates will appear in the "Web View Step Templates" section of the survey.
The template will also appear in the step types list when creating a new step.
Any template-specific fields will appear in the step editor. This allows you to customize the message prompts every time you use the template.
The specific list of fields and their data types is determined by the template developer. In the example above, the developer has allowed the title, text, and next button prompt to be customized.
Importing Web View Step Templates
Templates can be imported from other surveys within the same workspace by clicking the "import" icon, and selecting one or more templates to import. Once imported, changes to Web View Step Templates are not synchronized across surveys so they can be modified to suit each distinct survey.
Was this article helpful?