# Forms

Forms are one of the most versatile tools for data collection in a project.&#x20;

Please note that a table or multiple tables must be created before a form is created to capture data. A form cannot capture and send information to a non-existent table. You must specify where the data a form collects is supposed to go in your project.&#x20;

There is [offline form](https://docs.informationhub.io/forms/offline-forms) functionality for remote data collection.

{% content-ref url="forms/create-form" %}
[create-form](https://docs.informationhub.io/forms/create-form)
{% endcontent-ref %}

{% content-ref url="forms/offline-forms" %}
[offline-forms](https://docs.informationhub.io/forms/offline-forms)
{% endcontent-ref %}

{% content-ref url="forms/access-forms" %}
[access-forms](https://docs.informationhub.io/forms/access-forms)
{% endcontent-ref %}

{% content-ref url="forms/delete-forms" %}
[delete-forms](https://docs.informationhub.io/forms/delete-forms)
{% endcontent-ref %}

##

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-c0981e250758e4afb836ca63271e0a38c4fe8c6f%2Ffigure_73.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

#### Add Sections

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-b81109e75ae18152c9dd2d8ca3842364f1053ceb%2Ffigure_78.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

If one views the content of a newly created one should see the buttons to edit the form or to create new sections in the form. Questions are organised into sections.

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-0e9f9294233f27a28333a014207000f107199d01%2Ffigure_79.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

One can add a section by selecting the appropriate button.

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-dc1f5a72b7e5dbc125ab68161850e0de0aa76fdc%2Ffigure_80.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

To create and save a section a name must be provided.

One can delete a section by selecting the delete button for the relevant section.

#### Add Questions

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-fb558eeee2cb1a0f08d5194b4424022ea03dbcd2%2Ffigure_81.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

After a named section has been created one can add a question.

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-05ee8a7d4a8446e848cb45653e82b6fa15f09638%2Ffigure_82.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

One can edit the newly created question by selecting the drop down menu. Alternatively one can create another question or add another question.

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-49f650782524bb29679f81bda150d7d91f37cb66%2Ffigure_83.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

One can specify the question with a limited number of characters.

The description allows one to add more detail if necessary. The description length limit is much larger than the question itself.

One must specify the type of data that the question is supposed to collect. Examples include

One can specify if an answer for the question is required to submit the form.

One can also opt to make a question hidden or not visible to a submitter. This is useful for capturing data like the date of submission and other information without any mistakes or meddling from a form submitter.

One can specify the maximum and minimum length of a text based question.

One can optionally add an icon for the question and test for the icon.

One must specify a table and column with the appropriate data type wherein a submitted answer should be placed. The platform automatically filters to show only columns with the same data type as the question. Without a link to a table, one cannot add a question.

The drop down menu to edit the question also presents the option to delete the question and remove it.

#### Settings

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-a29e8c547533bae8b207242c0b37c897593c2035%2Ffigure_84.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

If one views the contents of a form and select the gear icon for the form settings.

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-245cd70594bae6106694a6e03384ea648bfc66f2%2Ffigure_85.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

One can modify the name of the form.

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-245cd70594bae6106694a6e03384ea648bfc66f2%2Ffigure_86.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

One can customise the layout or appearance of a form.

It is possible to specify colours for the form. This is especially useful for collecting field data in challenging lighting conditions. Accessibility for vision-impaired persons or colour blindness is also a consideration.

One can restrict a form to require a user to be logged into the Information Hub to submit a form.

The choice to delete a form is also available.

Sharing

<figure><img src="https://1809992964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMJzjCgkNvy1LoumVjYBp%2Fuploads%2Fgit-blob-c1d671d7d33eeafb91822a86cb4c59ab03da2e8d%2Ffigure_87.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

One can share created forms with a URL link by selecting the share button. Simply copy and paste the URL to share the link with collaborators or submitters.
