/survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.

Primary LanguageTypeScriptMIT LicenseMIT

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

  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 v6.0.0 or later and npm v2.7.0 or later installed.

    npm install -g karma-cli
    npm install
  3. Build the library

    npm run build_prod
    

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

  4. Run test examples

    npm start
    

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

  5. Run unit tests

    npm run test
    

    The unit tests use Karma.

Licensing

SurveyJS Form Library is distributed under the MIT license.