> For the complete documentation index, see [llms.txt](https://docs.quantumbyte.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quantumbyte.ai/home/quantumbyte-v2.0/2.builder/1.frontend/6.formulir/1.started.md).

# Widget Form

The form widget in the application builder allows you to easily create custom forms for your app without any programming skills.

Creating a form involves three main stages:

1. **Form:** This section contains the list of all your different forms.

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2015.00.35.jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-aa984ab7ef606c9eba9c511d7dcf503651ad959e%2Fimage%20(48)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
2. **Validation**: This is where you set up rules to validate user input.

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2015.01.58.jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-bd5d175c44cc15d6a43357cbfee6ce0ffb43fedd%2Fimage%20(1)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
3. **Data Process**: This is where you configure how the submitted data is handled.

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2015.03.06.jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-6c6d202a85ac7741f5a40cadec3f09195de7908d%2Fimage%20(2)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Using Form Widget

First, make sure you have created a new service and are on the frontend builder page, as shown in the image below.

1. **Drag and drop** the form widget from the menu onto your page.

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2013.24.19.jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-c81e7ee9cc336e30123234d41f4223c62c80bc34%2Fimage%20(3)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
2. Click the "**gear**" icon on the form widget to open its settings.

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2013.26.28.jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-a807f799f11df21937667122db35b82a32ba74a2%2Fimage%20(4)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
3. A pop-up window will appear. Click "**Tambah Formulir**" (Add Form).

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2013.27.22%20(1).jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-a11d112785668fd4629d939a673caf6f5a2d682c%2Fimage%20(5)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
4. The display will change to the form builder view (as shown in the image below).

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2013.29.34.jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-e95bf4ab063cb3579d5bdf07d4e795730d443684%2Fimage%20(6)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
5. To add a field, click "**Tambah Bidang**" (Add Field). A new field will appear.

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2014.46.27.jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-38c758fb9fb425d686d8c3cb216af61b7a6ca884%2Fimage%20(7)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
6. Configure this new field by clicking on the "**Bidang**" (Field) that you just added.

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2014.48.10%20(1).jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-66333dbd7939b05214090dadad3f2e787767ca3b%2Fimage%20(8)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
7. In the "**Label**" column, enter the name for your field (e.g., "Full Name", "Email").

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2014.51.18.jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-4d50c42b0eb0f7d19106e137ebab9a4b06e26018%2Fimage%20(9)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
8. Once done, click the **"Setup Komponen" (Setup Component)** button.
9. A setup panel will appear, allowing you to configure the type and behavior of the form field.

   <div><figure><img src="https://github.com/QTN-DEV/quantumbyte-doc/blob/main/.gitbook/assets/Screen%20Shot%202024-05-30%20at%2014.54.06.jpg" alt=""><figcaption></figcaption></figure> <figure><img src="https://3956894092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEWmc9IGdzSxwzSIEHL6y%2Fuploads%2Fgit-blob-446054fbd7984085dc1a3f7351e311f2f40de734%2Fimage%20(10)%20(1)%20(1)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>
10. Select and choose the appropriate form type for your needs (e.g., standard form, time, media, camera, location, dynamic, built-in, or external/internal data).
