To make a form or docket print in your own layout, you build a Word, Excel or PowerPoint template with placeholders and upload it to the form or docket template on the Assignar dashboard. After that, Download PDF, Print and emailed copies of every result use your layout. You need the Forms permission for forms, or Timesheets and Dockets for dockets.
Get the placeholders for a form on the dashboard
To see the placeholders for a form on the Assignar dashboard:
Go to Field Data > Forms > Templates and open the form.
Save the form if it's new. Until then the tab shows "You need to save the Form first to see the custom printing options."
Click Settings and tick what each result should show under Associate with (for example Project and Asset) and Activate Geolocation if you want the location. Placeholders for these only appear when they are ticked.
In the preview panel, click Custom Printing.
The tab lists the placeholders. Click a line to copy it ("Field placeholder has been copied to clipboard!").
The placeholders on the Custom Printing tab are:
Result ID
{$id}, Form ID{$form_id}, Title{$title}, Description{$description}, Date of Submission{$date}, Submitted By Fullname{$submitted_by}, Submission Origin (Dashboard/Mobile){$origin}, Current Form Status{$status}Order ID
{$orderId}, Order PO{$orderPo}, Order WO{$orderWo}, Order Location 1{$orderLocation1}, Order Location 2{$orderLocation2}When ticked: Client Name
{$client}, Project Name{$project}, Project ID{$projectId}, Asset Name{$asset}, Worker Name{$worker}, Supplier Name{$supplier}, and the geolocation latitude, longitude and Google map linkOne line per question, labelled Q1, Q2 and so on, for example
{$id5}. Questions inside a question group look like{$id3.id4}.
Build and upload the template for a form on the dashboard
To build and upload a custom print template for a form on the Assignar dashboard:
In Word (or Excel or PowerPoint), lay out the document: your logo, headings and a table for the answers.
Paste each placeholder where its answer should appear. Keep the curly brackets and the
$.Save the file as DOCX, XLSX or PPTX with a lower-case extension.
On the form's Custom Printing tab, drag the file into the upload area or click select a file. The limit is 25 MB.
Tick Export as PDF if results should print as PDFs. Leave it off to get a file of the same type as your template.
Click Save.
The Properties column on the Templates tab then shows Custom Printing. Download a result as a PDF to check the layout. To change the layout, edit your file and upload it again.
Set up a custom print for a docket template on the dashboard
To add a custom print to a docket template on the Assignar dashboard:
Go to Field Data > Dockets, click the Templates tab and open the template.
Click Custom Printing.
Click a line to copy its placeholder, for example Docket ID:
{$id}, Client Name:, Order PO: or Signature Image:. Q1. Workers gives the table of workers, tasks, assets and times.Build your document with the placeholders and save it as DOCX, XLSX or PPTX.
Click Upload Template (or drag the file in) and save the template.
Dockets printed together in bulk must all have a custom print: the Dockets page shows "Can't print Dockets without a merge template" otherwise.
Print the order's site contacts on a docket custom print on the dashboard
Yes, a docket's custom print can show the contacts from the docket's order, for example the site contact. On the Assignar dashboard, the docket template's Custom Printing tab lists Order Contacts: with four lines. Copy all four into one table row of your template, in this order:
{tablerow from=$order.contacts item=_contact}starts the row.{$_contact.name}prints each contact's name.{$_contact.mobile_number}prints each contact's mobile number.{/tablerow}ends the row.
The table gets one row for each contact added to the order. Other order details on the same tab include Order ID:, Order Comments:, Order Start Date:, Order End Date:, Order Job description:, Order Location 1:, Order Location 2:, Order Supplier Name:, Order PO: and Order WO:. A form's custom print and a Site Diary's custom print have no placeholder for the order's contacts.
Copy a form with its custom print on the dashboard
When you copy a form on the Assignar dashboard, turn on Include custom template? to copy the custom print too. The placeholders still match because the copy keeps the same question codes. See How do I copy, unpublish, archive or delete a form template on the dashboard?.

