# Introduction

MobX Forms is a collection of loosely-coupled components for managing, rendering and validating forms in MobX-based apps.

## Components:

| Component                                                                                                                      | Description                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [**FormStore**](https://alexhisen.gitbook.io/mobx-forms/formstore/formstore-overview)                                          | Instances of FormStore (models) store the data entered by the user into form fields and provide observables for managing validation error messages. They also track changes and provide facilities for (auto-)saving the (changed) data.                                                                                                         |
| <[**MobxSchemaForm**](https://alexhisen.gitbook.io/mobx-forms/mobx-schema-form/schemaform-overview)**>, etc React components** | Renders form widgets (by default using [React-Toolbox](http://react-toolbox.io/) (Material Design)) based on schema and form definition in [json-schema-form](https://github.com/json-schema-form/json-schema-form/wiki/Documentation) format. Includes intelligent real-time validation and display of validation error message in each widget. |
| [**validateForm**](https://alexhisen.gitbook.io/mobx-forms/mobx-schema-form/validation)**()**                                  | Should be used in an afterRefresh hook provided by FormStore to populate the model with defaults if they are defined in the schema.                                                                                                                                                                                                              |
| [**modules-values-extract**](https://alexhisen.gitbook.io/mobx-forms/mobx-schema-form/styling#modulevalues)                    | Build-time utility for managing React-Toolbox 2.x theme variables                                                                                                                                                                                                                                                                                |

## Features:

* Lightweight with minimal API surface
* Model data is in plain object which makes it easy to manipulate and integrate with other code
* Form rendering and validation is declarative
* Focus on high usability and excellent end-user experience
* Very little code is needed for a complete implementation
* Low-level facilities are available for easy implementation of custom widgets, custom validation, etc.

See each of the main components above for more detailed features of each component.

## Demo

[**https://am.net/mobx-forms-demo/**](https://am.net/mobx-forms-demo/)

Source for demo is at <https://github.com/alexhisen/mobx-forms-demo>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alexhisen.gitbook.io/mobx-forms/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
