form-js / forms.js

Fully featured javascript form builder

Home Page:https://formsjs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forms.js

WebsiteDocumentation

Npm package total downloads Code Coverage GitHub issues License GitHub stars
PRs Welcome Node.js Version Maintenance TypeScript Supported

Forms.js - Streamline web forms

Forms.js is an advanced, lightweight JavaScript library designed to ease form creation and management. Utilizing JSON for data input, it generates dynamic, user-centric forms, offering an unparalleled development experience.

Get Started with Forms.js ⚡️

Features at a Glance

  • Rapid Development: Create complex, interactive forms in minutes.
  • Comprehensive Field Types: Includes text, file, date/time, rich text, and more.
  • Conditional Logic & Validation: Tailor form behavior and validation to user input.
  • Event Handling: Simplified event management for dynamic user experiences.
  • Extensibility: Designed for customization and extension.
  • Accessibility & Clean API: Ensures ease of use for developers and accessibility for users.

Installation

Via NPM

npm i @forms.js/core

JS DELIVR

<link href="https://cdn.jsdelivr.net/npm/@forms.js/core/css/index.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/@forms.js/core/lib/index.js"></script>

Quick start

import { Form } from '@forms.js/core';

const options = {
    id: "form",
    schema: [
        ...
    ],
}

const form = new Form("form-element", options);

Requires css

@import '@forms.js/core/css/index.css';

Dive deeper into Forms.js with the official documentation

Support Forms.js Development:

Purchase an software license.

Contributing

If you want to contribute look at CONTRIBUTING.md.

License

Core bundle released under MIT license. This license permits a wide range of use, including free use in commercial projects, assuming all copyright headers are preserved. Read the license terms

About

Fully featured javascript form builder

https://formsjs.io/


Languages

Language:TypeScript 91.2%Language:CSS 8.2%Language:JavaScript 0.6%