How to use JavaScript and CSS snippets
Adding JavaScript and CSS is powerful way customize the look and functionality of your survey. You can, for example, changing button text on a certain form page, or [another snippet example](-url to another snippet example-).
How to add JavaScript to your survey
- Open your survey, navigate to Build view and click Settings
- Click Snippets tab in Settings popup
- Write your script and click Save
jQueryjQuery is available for the snippets. It's a good practice put your script inside a ready handler to ensure that the document has fully loaded before the script is run.
jQuery(document).ready(function() { //Your code here });or
$(function() { //Your code here });
- Navigate to Preview and verify that your script works
How to add CSS to your survey
- Navigate to Design view and click Custom CSS (</>)
- Add your styles to the bottom of the CSS. Changes will be applied immediately.
- Save the survey and you're good to go!

