SurveyJS

Free JavaScript form builder library with integration for React, Angular, V...

README

SurveyJS Form Library

Build Status Software License
Tested with TestCafeIssuesClosed 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


- Vue

Resources



Build the SurveyJS Form Library from Sources


1. Clone the repo

  1. ```cmd
  2.     git clone https://github.com/surveyjs/survey-library.git
  3.     cd survey-library
  4. ```

1. Install dependencies          
Make sure that you have Node.js v6.0.0 or later and npm v2.7.0 or later installed.

  1. ```cmd
  2.     npm install -g karma-cli
  3.     npm install
  4. ```

1. Build the library

  1. ```
  2.     npm run build_prod
  3. ```

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

1. Run test examples

  1. ```
  2.     npm start
  3. ```

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

1. Run unit tests

  1. ```
  2.     npm run test
  3. ```

    The unit tests use Karma.

Licensing


SurveyJS Form Library is distributed under the MIT license.