Show specific properties in Survey Creator SurveyJS

Posted on January 23, 2022 By

SurveyJS is a new library which allow to create surveys and stylist form with different lot of options for take input and many other things. Survey Creator is allow to create a stylist forms. You can show specific properties in Survey Creator/Form Builder – SurveyJS

Add the feature-rich and customizable online Survey Creator and Form Builder into your Web Application.

Follow below steps one by one for SurveyJS survey creator and form builder and you can choose specific properties in Survey allow to show.

Take one survey.php or survey.html file and put below code in it.

<!DOCTYPE html>
<html lang="en">
        <title>Show specific properties in Survey Creator SurveyJS
, Survey Creator Example</title><meta name="viewport" content="width=device-width"/>
        <script src=""></script>
        <script src=""></script>
        <script src="" type="text/javascript" charset="utf-8"></script>
        <script src="" type="text/javascript" charset="utf-8"></script>
        <!-- Uncomment to enable Select2 <script src=""></script> <link href="" rel="stylesheet" /> <script src=""></script> -->
        <script src=""></script>
        <link href="" type="text/css" rel="stylesheet"/>
        <link rel="stylesheet" href="">
        <link rel="stylesheet" href="./index.css"></head>
        <div id="surveyContainer">
            <div id="creatorElement"></div>
        <script type="text/javascript" src="./script.js"></script>

Take a new file script.js and put below code in it.

var creatorOptions = {
    showLogicTab: true
var creator = new SurveyCreator.SurveyCreator("creatorElement", creatorOptions);
creator.showToolbox = "right";
creator.showPropertyGrid = "right";

    .add(function (sender, options) {
            var myWhitePropertiesList = ["name", "description","isRequired","visible","startWithNewLine","visibleIf","enableIf"]; //the list of properties you want to show
. Remove properties which you don't want to show.
            options.canShow = myWhitePropertiesList.indexOf( > -1;   

Leave a Reply

Your email address will not be published. Required fields are marked *