@forms.js/core
v1.1.12
Published
Javascript form generator that streamlines web forms
Downloads
339
Maintainers
Readme
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.
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