JavaScript Form Component

JavaScript Form

dhtmlxForm is a JavaScript form component with lots of interactive form elements and controls. You can use dhtmlxForm as an individual component or as a part of dhtmlxSuite

Product Features

  • Input field, select box, radio button, checkbox, etc.
  • Built-in file upload control
  • Form validation
  • Complex forms with dependencies
  • Ability to save user input to the backend database
  • Full control with JavaScript API
  • Cross-browser support
  • Integration with other DHTMLX components
  • Fully customizable
  • XML, JSON support
  • Easy initialization

Live Demo

Form control with lots of features
dhtmlxForm is a JavaScript component that helps you quickly generate and process Ajax-based web forms with a standard set of elements: input field, select box, radio button, checkbox, etc. The form component provides built-in file upload control, form validation and the ability to save user input to the backend database.
JavaScript Form Validation
To validate data that is put to the form, you can enable form validation mode. Also, dhtmlxForm provides support for the Live Validation mode - a mode when validation is invoked just after an input goes out of focus.
Different ways of data loading
This html/js form supports different data sources and can be generated from a JSON object, XML, or HTML. The data in the form can be loaded automatically from the server and updated dynamically on the page.
The main advantages of using our Ajax form script:
  • It's an easy and convenient way to build and manage web-based dynamic forms.
  • It simplifies data-loading into the form and provides a ready-to-use mechanism for saving data on the server (through dhtmlxConnector).
  • It provides a simple way to perform JavaScript form validation.
  • Cross-browser support: IE, FF, Safari, Opera, and Chrome.
  • dhtmlxForm matches the skin design of other DHTMLX components, so it can be easily integrated into a DHTMLX-based interface.
Create your own custom controls
In addition to the standard form elements supported by dhtmlxForm, you can also create and use your own custom controls. The component provides a flexible JavaScript form elements on the fly, to process events, and to validate input data.
Complex forms with dependencies
To create complex forms with dependencies, dhtmlxForm is the tool you need. It can manage the activity of form elements, making some fields active or inactive according to the rules you define. Even complex form generation and processing is easy with dhtmlxForm.
Different form types
With our JavaScript/html form component and its easy customization, you can build javascript login forms, contact forms, submission forms and so on. You can also use our JavaScript form builder to create forms faster with untuitive drag-and-drop interface.

Editions and Licenses

Standard GNU GPL v2
Free under GPL
  • Use in unlimited projects
  • Forum support
  • Minor and Major updates
Standard Commercial license
up to 5 developers
  • Use in one project
  • Standard ticket support
  • 1 month of updates (minor, major, bugfixes)
Favorable terms
for companies
Standard Enterprise license
per company
  • Use in unlimited projects
  • Premium ticket support
  • 12 months of updates (minor, major, bugfixes)

Support & Learning Resources

Technical samples

All Form features are accompanied by an online sample

Ticket support

Create a support request and get fast and qualified help from our support/development team.


Our detailed documentation can learn how to use Form and effectively implement it in your own applications. It provides the detailed information regarding each aspect of the widget.

Community forum

If you don't have an active support subscription, you are welcome to post your technical questions to our forum. It's moderated by our official support team.

Need help with dhtmlxForm integration into your app? Contact us