# Form Designer guides Three short guides for Form Designer, the ServiceM8 add-on that designs a form and its printed PDF in one place: find your way around, build your first form, and bring in a form you already use. Source: https://workm8consulting.com/help/form-designer/ ## 1. Find your way around _The parts of the Form Designer window: the top bar, the view dock and its menus, the panels on each side, and the toolbar on the item you pick._ Form Designer opens from the **Add-ons** menu in ServiceM8 on the web. It fills the window, and it has six parts. 1. **The top bar**: the form's name, and the buttons to open, save and download it. 2. **The list of items** on the left: everything you can put on the page. 3. **The view dock**: three views of the same form. 4. **The page**: your form as it prints. 5. **The settings panel** on the right: the settings of the form, or of the item you pick. 6. **The footer**: the number of questions, and where the form is saved. ### The top bar 1. **Form name**: the name of the form in ServiceM8. 2. **Badge**: up to 10 letters or numbers. ServiceM8 shows the badge on the job. Short badges are easier to read. 3. **Undo** and **Redo**. 4. **New** starts a form. **Open** opens a form from My forms, or a file from this computer. **Save** keeps the design in My forms, in your own ServiceM8 account. 5. **Your plan**, for example **Standard**. 6. **Light or dark**. 7. **Download** makes the form file (.sm8f) to import into ServiceM8. The Form Designer icon on the far left shows the version and your plan. ### The view dock The dock is the pill that floats over the page. It switches between three views of the same form. Nothing is lost when you switch. 1. **Layout**: arrange what prints on the page. 2. **Questions**: every question, in the order the technician answers it. 3. **Preview**: the finished form, filled in with sample answers. 4. **More options**: more controls for the view you are in. #### Click the view you are in Click **Layout** or **Questions** again to show more or less on the screen. A short note says which level you are on. - **Layout** steps through **All markup**, **Simple markup** and **No markup**. Markup is what Form Designer draws over the page to help you, such as frames and labels. **No markup** is the closest to the printed page. - **Questions** steps through **Names only**, **All details** and **Names and rules**. #### More options Click the arrow at the end of the dock. What you see depends on the view. In **Layout**: - **−**, **100%** and **+** zoom the page. Click the percentage to go back to 100%. - **Off the page** shows the question items that do not print, such as hidden questions. The number says how many. - **Field codes** shows every field as its Word field code. - **Grid** steps through a 5 mm grid, the margins, both, and off. Use it to line things up. In **Questions**: **Names**, **Rules** and **All details** set how much each question shows. In **Preview**: zoom only. Click the arrow again to close the options. #### Move the dock Drag the dock to any edge of the window: top, bottom, left or right. At the left or right it shows icons only. It stays where you put it. To zoom without the dock: hold **Ctrl** (Windows) or **Cmd** (Mac) and press **+**, **−** or **0**. Ctrl and the mouse wheel, or a pinch on a trackpad, also work. Zoom works in Layout and Preview. ### The list of items In **Layout** the list has three groups: - **Layout**: Heading, Text, Answer sentences, Columns, Table, Section, Logo or image, Divider line, Shape (box behind), Space and New page. - **Questions**: the eight ServiceM8 question types, plus three shortcuts: **Yes / No**, **Photo gallery** and **Proceed step**. - **ServiceM8**: details that ServiceM8 fills in from the job, such as the client, the job address, the staff member and your business. **Click** an item to add it after the item you picked, or at the end of the page. **Drag** an item to put it exactly where you want it. Click a group's name to fold it away. In **Questions** the list shows the question types only. In **Preview** it turns into the sample answers (see Preview, below). The button at the top right of the list hides it, so you get more room for the page. ### The settings panel When nothing is picked, the panel shows **Form settings**: the settings of the whole form. - **Apply a look…** copies the colours, fonts, header and footer of another form onto this one. - **Tidy a converted form…** cleans up the page of a form opened from ServiceM8. - **Badge requirement**: none, or the form must be completed on Check-In or Check-Out. - **Page**: page size, orientation, margins, font and text size. - **Tables**: the style of every table, and the form's two colours. - **Header and footer**: what repeats on every page, and colour bands. - **Document details**: the author and company stored in the file. - **Test job details**: sample job values for the Preview. They never go into the form. Click a heading to open it. The grey words on the right show its setting now. **Click an item on the page** and the panel shows the settings of that item, for example **Question** or **Table**. Click an empty part of the page, or press **Esc**, to go back to Form settings. Drag the left edge of the panel to make it wider. Double-click the edge to reset it. The button at the top right hides the panel. ### The item you pick Click an item on the page to pick it. A small toolbar shows on its top edge. From left to right: quick changes for that kind of item, then **Drag to move**, **Move up**, **Move down**, **Duplicate** and **Delete**. For a question, the quick changes put the label beside or above the answer, and hide the question from the printed page. Double-click any text on the page to type in it. The **Delete** key removes the picked item straight away; **Undo** brings it back. ### The Questions view - **List** shows every question in the order it is asked. **Logic map** draws a line from each question to the questions it decides. - The line under the title counts the questions, the hidden ones and the ones with rules. - The **Logic check** line finds rules that break, never match or do nothing. Click it to see the list. - Click a question to change it. Double-click its name to change the wording. ### Preview The page in the middle is built from the real Word template, filled in with the answers on the left. - **Sample answers**: pick answers and watch the page change. Nothing here is saved in the form. - **Run the form**: answer one question at a time, as the technician will. Questions that your rules skip are skipped here too. - The **play** buttons answer each question for you, one after another. The slider sets the pause. The tabs on the right: - **Workflow** shows the path through the form with these answers: what was asked and what was skipped. - **Navigator** shows every page, and has **Download PDF**: a PDF of this preview with these answers. ServiceM8 makes its own PDF from the form on each job. The Preview is very close, but a line can wrap a little differently. Always try a new form on a real job. ### The footer The footer shows the number of questions, then **Draft saved on this computer** and the last time the form was saved to My forms. The draft on this computer is a safety net only: use **Save** to keep a form. ### Keyboard shortcuts | Keys | What they do | | --- | --- | | Ctrl or Cmd + Z | Undo | | Ctrl or Cmd + Shift + Z, or Ctrl + Y | Redo | | Delete or Backspace | Delete the picked item | | Esc | Close a box, or stop picking an item | | Ctrl or Cmd with + − 0 | Zoom in, zoom out, back to 100% | | Alt + F9 | Show or hide the field codes (Layout) | | Double-click | Type in text on the page | | Ctrl or Cmd + B, I, U | Bold, italic, underline while you type | ## 2. Build your first form _Build a short Site Visit Report from a blank page: job details, a section, six questions with two rules, a test run, then save, download and import it into ServiceM8._ This guide builds a short **Site Visit Report** from a blank page. It takes about 15 minutes. Each step uses a part of the window from [Find your way around](https://workm8consulting.com/help/form-designer/find-your-way-around). Want a head start? Press **New**, then **Starter templates**, and pick one of the eight ready-made forms. Each one is complete, and you can change any part of it. ### 1. Start a blank page Press **New** in the top bar. Form Designer asks how to start. Pick **Blank page**. The page says **Your page is empty**. ### 2. Name the form In the top bar, type the **Form name**: `Site Visit Report`. Then type a short **Badge**: `SVR`. ### 3. Add a heading and the job details 1. In the list on the left, click **Heading** (in the Layout group). On the right, type `Site Visit Report` in **Text**. 2. Open the **ServiceM8** group and click these details, one after another: **Client name** (under Client), **Job address (one line)** and **Job number** (under Jobs), and **Today's date** (under Job dates). 3. Each detail shows a label and a field in «» marks. On the right, change the **Label** to a short word, for example `Client`. ServiceM8 fills these in from the job. Nobody has to type them. ### 4. Add a section Click **Section** in the Layout group. On the right, type `The work` in **Title**. The title prints as a coloured bar. A section holds items together. While the section is picked, the questions you click go inside it. Their names then start with the section's name, for example **The work - Work carried out**. ### 5. Add your questions Click the section to pick it. Then, in the **Questions** group, click **Text (Multi-Line)**. On the right, type the question: `Work carried out`. Tick **Mandatory**, so it must be answered. The parts of a question: - **Question**: what the technician is asked. The same words print on the PDF. - **Field code**: where ServiceM8 puts the answer. Form Designer makes it for you. - **Additional details**: a line shown under the question while the form is filled in. - **Mandatory**: the question must be answered. - **Question type**: change the type at any time. - **Hidden (not printed)**: asked, but left off the PDF. - **Ask only when**: the rules for this question (step 6). - **Layout on the page**: the label beside the answer, above it, or no label. The question on the page has a toolbar on its top edge, to move, duplicate or delete it. Now pick the section again and add two more questions: 1. **Yes / No (Multiple Choice)**: `Job fully completed`. Its answers are already **YES** and **NO**. 2. **Multiple Choice**: `Reason not finished`. Under **Choices**, change **Option 1** to `Waiting on parts` and **Option 2** to `Client not home`. Press **Add** and type `Other`. A choice question holds up to 10 answers. That is the most ServiceM8 takes. ### 6. Ask a question only when it applies **Reason not finished** only makes sense when the job is not finished. Give it a rule. 1. Pick **Reason not finished**. On the right, open **Ask only when**. 2. Press **Add a rule**. 3. Set **Question** to **The work - Job fully completed**, then **is**, then **NO**. The grey line shows how ServiceM8 stores the rule: **Skip Question If**. You don't need to think about it: write the rule as "show this when". Add one more question in the section, **Text**: `Please describe`, with the rule **Reason not finished** **is** **Other**. Good to know: - A rule can only use a question **above** it. - A question holds up to 3 rules. With two or more, choose **All rules are true** or **Any rule is true**. - A section, and a row of a table, can have rules too. Then everything inside follows the rule. ### 7. Add a photo and a signature Pick the section and add **Photo**: `Photo of the work`. Then press **Esc**, so nothing is picked, and add **Signature**: `Customer signature`. It goes at the end of the page, outside the section. ### 8. Check the logic Click **Questions** in the dock. Every question shows in the order it is asked. The **Logic check** line looks at every rule. Click it to see what it found. Here it says that **Reason not finished** still prints its label when it is skipped. That is fine for this form. To hide the label too, put the question in a section or a table row with the same rule, or make it **Hidden (not printed)**. ### 9. Try it, as the technician Click **Preview** in the dock, then **Run the form** on the left. Answer each question as the technician would. Answer **YES** to **Job fully completed**, and **Reason not finished** is skipped. The page in the middle fills in as you go. The **Workflow** tab on the right shows the path: what was asked and what was skipped. ### 10. Save it Press **Save** in the top bar, then **Save** in the box. The design is kept in **My forms**, in your own ServiceM8 account, with its earlier versions. Open it again any time with **Open**. ### 11. Download it and import it into ServiceM8 Press **Download** in the top bar. Form Designer builds the form file. Press **Download** to save the file on your computer. Then import it into ServiceM8: 1. In ServiceM8, go to **Settings**, then **Forms**. 2. Press **Import Form**. 3. Press **Select**, pick the file, then press **Import Form**. The file name ends in **.locked.sm8f**. On the Standard plan every form is protected: it can't be changed or exported inside ServiceM8, and it prints only in your own ServiceM8 account. To change it, open it in Form Designer, change it, download it and import it again. **Before you use it for real**, fill in the form on a test job and look at the PDF. ServiceM8 makes its own PDF, and a line can wrap a little differently from the Preview. Next: [Bring in a form you already use](https://workm8consulting.com/help/form-designer/bring-in-your-form). ## 3. Bring in a form you already use _Open a form you already use in ServiceM8: what comes in, how to compare it, Tidy a converted form and Apply a look, then download it and import it again._ You don't have to start again. Open a form you already use, and its questions, its rules and its Word layout come in. Then tidy the page, give it a new look, and import it again. The questions keep their names, so their field codes stay the same. ### 1. Export the form from ServiceM8 1. In ServiceM8, go to **Settings**, then **Forms**. 2. Press **Open Form** on the form you want. 3. In the **Modify Form** box, press **Export Form** at the bottom left, and save the file on your computer. 4. Press **Close**. Don't press Save: nothing in ServiceM8 needs to change. A form from the ServiceM8 Form Store can't be opened in Form Designer. See the end of this guide. ### 2. Open it in Form Designer Press **Open** in the top bar. The **My forms** box shows the forms you saved, and an **Open…** button for a file on your computer. Press **Open…** and pick the .sm8f file. If a form is on the page already, Form Designer asks first. Press **Save** before, if you want to keep the form on the page. Press **Open it**. ### 3. Read what came in The **Form opened** box says what came in, and what to check. - A form made in Form Designer comes back complete: the layout, the questions, the rules and the pictures. - Any other form: the questions and their rules come in, and the page is rebuilt from the old Word file **as well as it could be**. - The **Please check** list names anything that needs a look. In this example, the old Word file had field codes that no question fills. They always printed empty, so they were left out. ### 4. Compare it in Preview Look at the page in **Layout**, then click **Preview** in the dock. Put the old PDF beside it and compare them. ### 5. Tidy the page On the right, under **Form settings**, press **Tidy a converted form…**. It offers up to five changes. Each one says how many items it would change: - **Job details table**: job detail lines become one tidy table. - **Add a job details table**: when the form has none, it adds Client, Site address, Job number, Completed by and Date under the title. - **Questions into tables**: labels and answers become table rows. - **Yes / No into ticks**: Yes/No and Pass/Fail answers print as a tick, a cross or a dash. - **Section title bars**: groups of questions become sections with a coloured title bar. A change with **Nothing to change** is greyed out. Only the printed page changes: the questions, their order and their rules stay as they are. **Undo** takes it all back. Press **Tidy**. ### 6. Give it a look Press **Apply a look…** and pick one of the eight starter looks. Form Designer asks what to copy: **Colours and table style**, **Font, text size and margins**, and **Header and footer**. The questions, the rules and the body of the page stay as they are. Use the same look on all your forms, and they all match. ### 7. Save, download and import it As in [Build your first form](https://workm8consulting.com/help/form-designer/your-first-form), steps 10 and 11: 1. Press **Save** to keep the design in My forms. 2. Press **Download**, then **Download** in the box. 3. In ServiceM8, go to **Settings**, then **Forms**, press **Import Form** and pick the file. 4. Fill in the new form on a test job and check the PDF before you use it for real. ### Forms that can't be opened Some forms are locked so that only the business that made them can change them. Form Designer can't open those. - A form locked outside Form Designer, for example a form from the ServiceM8 Form Store. - A form that another business made in Form Designer. - A file over 4 MB. If a form you need won't open, ask the business that made it for a copy you can change.