> ## Documentation Index
> Fetch the complete documentation index at: https://support.servicem8.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to create Form questions and add the fields into a document template

> Learn how to create Form questions and add the fields into a document template in ServiceM8.

<iframe src="https://www.youtube-nocookie.com/embed/NydPJSxzXJY?rel=0" width="100%" height="400" frameBorder="0" allowFullScreen />

This lesson will show you how to create a simple form with questions that will appear on the generated form. Please note this is for advanced users only, if you're not comfortable with MS Word, you can get in contact with a ServiceM8 Partner to discuss having a form built to your requirements. You can find a list of Partners here: [https://servicem8.com/partner-directory](https://servicem8.com/partner-directory)

## Go to Settings > Forms > Add Form, and enter the Form Details

<img src="https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-532-1899ce47-cc9d-4c28-a3ee-7ac20bcee8f8.png?fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=5a332398776b0acb6c4f5ce8f4e89538" alt="Enter the form details" width="745" height="184" data-path="images/000-506-532-1899ce47-cc9d-4c28-a3ee-7ac20bcee8f8.png" />

**Form Name:** Enter the name of the form.

**Badge Name:** Is what the badge will be called that links to this job. All forms have an associated Badge. Applying the form's badge to a job is how you tell your staff that the form needs to be completed.

**Badge Requirement:** Set form as mandatory or optional. For mandatory form, you can choose whether the form must be completed on check-in or on check-out.

**Form Template:** This is the document template that the answers will be populated into. This can be set up now, or you can link the document template in at a later time.

## Create questions and details

<img src="https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-528-f09331af-90ec-4c25-b378-2c841fb4086d.png?fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=ec6c05c2d74a85f29437b1e37e446ef2" alt="Create questions and details" width="766" height="467" data-path="images/000-506-528-f09331af-90ec-4c25-b378-2c841fb4086d.png" />

**1.** Click **New Question**

**2.** Enter the question name

**3.** In this exercise, select **Text** as question type

**4**. Repeat adding a question for the following fields:

\- Question: Site Contact Mobile

Question Type: **Text**

\- Question: Signed

Question Type: **Signature**

**5.** Take note the form's **Template Field Code**s generated for each question

\- "form\_site\_contact"

\- "form\_site\_contact\_mobile"

\- "image\_form\_signed"

**6.** Once finished click **Save**

**Note:** Only use letters and numbers in your form questions. Including symbols such as " / \ ( ) #& - : ' " in your Question names may cause problems when ServiceM8 generates the completed form PDF.

## Using MS Word, open the document template that you want to link with the form

<img src="https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-526-0b6139b5-8f79-482f-8860-9ab554edd499.png?fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=bd16bb29195e63650df06e687f3e24b9" alt="Using MS Word, open the document template that you want to link with the form" width="117" height="127" data-path="images/000-506-526-0b6139b5-8f79-482f-8860-9ab554edd499.png" />

## Position the field name where you want it and select it. Then click Insert > Quick Parts > Field

[<img src="https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-522-medium-5922920b-c236-4cf5-b3cf-59c9329981b6.png?fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=59edebc6285238a00cd1d79448db0dd4" alt="Position the field name where you want it and select it. Then click Insert > Quick Parts > Field" data-og-width="855" width="855" data-og-height="483" height="483" data-path="images/000-506-522-medium-5922920b-c236-4cf5-b3cf-59c9329981b6.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-522-medium-5922920b-c236-4cf5-b3cf-59c9329981b6.png?w=280&fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=a73ce4045232e9dc4eef5f5eb7837d01 280w, https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-522-medium-5922920b-c236-4cf5-b3cf-59c9329981b6.png?w=560&fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=27e24072e381489f3dea8748ba301a61 560w, https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-522-medium-5922920b-c236-4cf5-b3cf-59c9329981b6.png?w=840&fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=65ed8f1355852d033ce8c6750f706d24 840w, https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-522-medium-5922920b-c236-4cf5-b3cf-59c9329981b6.png?w=1100&fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=8d0b63959bca19d7efe70dc0dfd613e7 1100w, https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-522-medium-5922920b-c236-4cf5-b3cf-59c9329981b6.png?w=1650&fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=fb6dc9246ea365a71179f5c87f984b7d 1650w, https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-522-medium-5922920b-c236-4cf5-b3cf-59c9329981b6.png?w=2500&fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=75b96f727fd66c6b8cd854155da46550 2500w" />](/images/000-506-522-5922920b-c236-4cf5-b3cf-59c9329981b6.png)

## Select MergeField, enter the Field Name which is the form's "Template Field Code" (highlighted previously). Click OK

<img src="https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-520-33c151c2-902e-41c0-b8d8-b808b17e0507.png?fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=464ee1011c72fa574ab0375e2421c32f" alt="Select MergeField, enter the Field Name which is the form's &#x22;Template Field Code&#x22; (highlighted previously). Click OK" width="641" height="386" data-path="images/000-506-520-33c151c2-902e-41c0-b8d8-b808b17e0507.png" />

If you're using a Mac, please refer to [How to create a merge field on Mac](/help-center/servicem8-add-ons/forms/how-to-create-a-merge-field-on-mac)

## Once done that, it should have changed the field name into this.

<img src="https://mintcdn.com/servicem8/JnGmmc-k5V9vZ-k9/images/000-506-524-0cf104bb-c822-41d2-8760-545100f69efd.png?fit=max&auto=format&n=JnGmmc-k5V9vZ-k9&q=85&s=0540c2cfe822d689e384435c1eedd3ed" alt="Once done that, it should have changed the field name into this." width="192" height="57" data-path="images/000-506-524-0cf104bb-c822-41d2-8760-545100f69efd.png" />

Repeat the same process for the remaining form's template field codes and save the document template.

## Link your document template to the form

Please refer to [Forms - How to link the Contract Variation form to the Contract Variation document template](/help-center/servicem8-add-ons/forms/forms-how-to-link-the-contract-variation-form-to-the-contract-variation-document-template)

You can also watch the complete video tutorial that explains about creating a form from MAC and PC computers, click **[here](https://youtu.be/NydPJSxzXJY)**.
