JavaScripting

The definitive source of the best
JavaScript libraries, frameworks, and plugins.


  • ×

    JavaScript Survey and Form Library
    Filed under 

    • 🔾75%Overall
    • 3,868
    • 5 hours
    • 🕩759
    • 👥12

    SurveyJS Form Library

    Build Status Software License Tested with TestCafe Issues Closed issues

    A free and open-source MIT-licensed JavaScript form builder library that allows you to design dynamic, data-driven, multi-language survey forms and run them in your web applications.

    Features

    • Dynamic forms, surveys, polls, and quizzes for your JavaScript application
    • Integration with React, Angular, Vue, jQuery, and Knockout
    • 20+ built-in question types and support for custom question types
    • Built-in themes and CSS customization
    • Answer validation
    • TypeScript support
    • Community-supported UI localization to 50+ languages
    • Integration with any backend framework (examples for PHP, NodeJS, and ASP.NET included)
    • Compatibility with any server + database combination
    • Third-party component integration

    Get Started

    Resources

    Build the SurveyJS Form Library from Sources

    The instructions below apply to SurveyJS Form Library for React, Knockout, jQuery, and Vue 2. If you are looking for instructions on how to build the library for Angular or Vue 3, refer to README files within the survey-angular-ui or survey-vue3-ui packages.

    1. Clone the repo

       git clone https://github.com/surveyjs/survey-library.git
       cd survey-library
      
    2. Install dependencies
      Make sure that you have Node.js v14 or later and a compatible npm version installed.

       npm install -g karma-cli
       npm install
      
    3. Build the platform-independent part and plugins

       npm run build_core
       npm run build-plugins
      
    4. Build the library

       npm run build
      

      You can find the built scripts and style sheets in folders under the build directory.

    5. Run test examples

       npm run serve
      

      This command runs a local HTTP server at http://localhost:7777/.

    6. Run unit tests

       npm run test
      

      The unit tests use Karma.

    Licensing

    SurveyJS Form Library is distributed under the MIT license.

    Show All