By default, the PDF document summarises and organises your information on an impersonal form sheet. This is the standard PDF.
However, it is possible to customise this document with the header, layout, font, style ... that YOU want. Kizeo Forms gives you total freedom to write YOUR own final report. To do this, you will have to deal with some technical terms… but nothing serious! The 3 steps below will help you create a custom-made report that looks like you!
You are going to create what we call a custom-made Word. You will use Microsoft Word software, 2007 or newer. If you do not have the Microsoft Office suite, you can download the trial version or buy the full version on our partner's site.
To customise your report, you will also need to know the item tags of your form. The item tags represent the reference code for each element (ex. ##customer##
). For more information on item tags, you may consult our tutorial on Tags Help.
Open a blank Word page or download and take inspiration from the Word example provided by Kizeo. We strongly advise you to proceed that way. The advantage of this example is that it includes all the item tags for your properly written form.
##_last_name##
: User’s last name.##_first_name##
: User’s first name.##_phone##
: User’s phone.##_email##
: User’s email address.##_login##
: User’s login.##_answer_time##
: Date of response to the form.##_update_time##
: Date of last change to the form.##_id##
: Unique identifier.##_record_number##
: No. of response to this form (ID).##audio##
: Allows you to obtain a link that returns to the audio.##attachment##
: Allows you to obtain a link that returns to the attachment.##list:code##
: Allows you to increase the code (especially for the custom-made Word that displays the label by default).##field_id[n]##
: allows you to retrieve the entry of an element of a specified row (n) in a table. If you have a checkbox in your table, for example, and want to retrieve its value on line 3, you can now use the ##checkbox[3]##
tag.##field:caption##
: allows you to retrieves the title of a field.##datetime##
: Numeric format (01/01/2016).##datetime:short##
: Short text format (1 Jan. 2016).##datetime:medium##
: Medium text format (1 January 2016).##datetime:long##
: Long text format (Friday 1 January 2016).##datetime:iso##
: ISO format (2016-01-01)."datetime" corresponds to the tag of your date and time field.
Various geolocation displays in Word/PDF.
##geoloc##
allows you to obtain the coordinates.##geoloc:link##
allows you to obtain a link that returns to a map when clicked.##geoloc:map-z12-200×200##
allows you to display a map on your customised export. Please note that this is the letter "x" and not the multiplication sign.-200×200
" corresponds to the dimension of the image. "z12"
corresponds to zoom in/out on the world map. So that you have an idea: 1 displays the world map and 18 displays the corresponding street. 12 will display more or less the neighbourhood. « satellite »
map type. The following map types are available: roadmap
(the default road map view), satellite
(Google earth satellite images), hybrid
(a mixture of normal and satellite views) and terrain
(displays a physical map based on terrain information).Fields that can be geolocalised and automatic timestamps.
"Photo", "Signature", "NFC Tag" and "Bar code" fields can automatically take the geolocation during their entry if the option 'Automatically take the location' is enabled on the field. You will find the option in the "Advanced" tab for each of the fields mentioned above.
This geolocation can be displayed in your custom-made Word/PDF document. To do this, simply place these item tags on your custom-made document:
##element_tag:latitude##
and ##element_tag:longitude##
. For example: Using tags: ##photo_store:latitude##
and ##photo_store:longitude##
, you can display the geolocation when taking a picture for the Photo store field of the purchase order form.Note: please, tick the "Get the location automatically" checkbox in the options of your field in the Advanced tab. These fields can also be marked by the date and time when the information was taken:
##element_tag:time##
You may also combine this item tag with various date formats by adding ":iso". For example: ##element_tag:time:iso##
.
Bar Code tags in custom-made Word/PDF.
Bar code display in 128B format:
##barcode:128##
if you do not want to worry about the size.##barcode:128-width##
if you want to set the width.##barcode:128-height##
if you want to define the height.Bar code display in QR code format:
##barcode:qrcode##
if you do not want to worry about the size.##barcode:qrcode-widthxheight##
if you want to set the width and height.Dislay your fields in 128B bar code or QR Code formats:
The following fields are compatible with the bar code format: Text field, text area, slider, NFC tag, calculation, reference and counter.
##Field:qrcode##
to make its field in QR Code format.##field:128##
to make its field in 128B bar code format.Single media:
Single photo, drawing, signature:##id_element##
if you do not want to worry about the size.##id_element-widthxheight##
if you want to set the width and height.##id_element-widthx##
if you want to set only the width.##id_element-xheight##
if you want to set only the height.Multiple media:
Multiple photos, drawings:
##id_element:n##
if you do not want to worry about the size.##id_element:n-widthxheight##
if you want to set the width and height.##id_element:n-widthx##
if you want to set only the width.##id_element:n-xheight##
if you want to set only the height.To integrate the data into a Kizeo Forms table in Word, you have 3 options.
For example:
Item tag rows will display as many times as the entry rows.
You can include multiple photos or drawings in Kizeo Forms tables.
To do this, simply enter as many photos/drawings in this tag: ##tag:n##
(“n” being the number of the photo/ drawing) in the custom-made Word.
You have several options: To insert the item tags in the same box, separate them or put them in a row. See the example below. ##tag:1##
or ##tag##
both displays the first element.
You can display the row numbers of a table with the item tag ##_line_number##
. This item tag only works if there is a single table. ##_line_number:table1##
where "table1" is the item tag for that table.
Let us imagine a list or a "Category” choice list, containing items such as "Airplane" and "Train".
##category##
##category:code##
##category:break##
##category-airplane:x:##
NB: If your list items are word groups, such as "Tourist airplane", "High-speed train" and "Race car", it is essential to define a Code to be able to use certain item tags. To define a Code, go to the options of your field list or choices and enter the items under the Code:element format.
For instance ( Code:Item):
A
: Tourist airplaneT
: High-speed trainC
: Race carFor more details, you may consult our tutorial: How to display checkboxes in your reports Therefore, the syntax to make a cross (x) when the value = "Tourist airplane" will be: ##category-A:x:##
For more details, you may consult our tutorial: List with code
You can define the display colour of each item. For example, you have a list with codes containing the three following items (Code:Item):
The following syntaxes will allow you to set a colour for each item:
##list-T:Train:##
: If you want the Train item to appear in green when selected.##list-V:Car:##
: If you want the Car item to appear in red when selected.##list-A:Airplane:##
: If you want the Airplane item to appear in blue when selected.You can also make Unicode characters appear in response. The Unicode Table website offers you the characters compatible with our system.
Important Information: For Macs, so that these images appear in Word, the corresponding item tag must be in a specific font, which is "MS Reference Sans Serif". Otherwise, they work properly in Word and PDF on PCs and in PDF on Macs. The syntax to make ✈︎ appear when the value = Airplane:
##category-Airplane:✈︎:##
The principle is the same as above.
##check_box:☑︎:☒##
##check_box:Yes:No.##
New: You can now define the display colour of your check box depending on the response!
##check_box:Yes:##
: Check box is checked Yes in the colour orange.##check_box:No:##
: Check box is checked No in the colour green.The syntax to make ☑︎ or ☐ appear before various list or field choice items, depending on whether they are selected or not is: ##list-Element:☑:☐##
/i\ If the elements of your list or field choice are word groups, it is essential to assign them a code so that the tag works. For more information, please do not hesitate to consult the tutorial: List with codes. The item tag syntax will then be as follows: ##list-Code:☑:☐##
You can use these following item tags with a list or choice field: ##list:break##
and ##choice:break##
to duplicate the row and maintain the chip format used.
You want to display all or part of your hierarchical list's path in your custom-made Word/PDF report, the following tags allow you to do so:
As an example, let's take the following hierarchical list:
FR-fr:France\83:Var\83700:Saint-Raphaël
##liste:path##
In our example, « France / Var » will be displayed on the report.##liste:fullpath##
You will have the following displayed on your report: « France / Var / Saint-Raphaël »##liste:path-1##, ##liste:path-2##, etc…
In your custom-made Word/PDF : ##liste:path-1##
will display « France », ##liste:path-2##
will display « Var ».##liste:pathcode-1##
/ ##liste:fullpathcode##
It is possible to display the label in all exports by using the following tags: ##liste:pathlabel-1##
/ ##liste:fullpathlabel##
If a field is empty (no mobile entry) or invisible (due to visibility conditions), you may choose to delete an entire paragraph from your Word document.
One option is to be checked in each field or each field that may potentially be deleted from the customised document if the data is empty or invisible. Under the Advanced tab, check: ‘Delete unwanted paragraph on custom-made Word/PDF if missing or hidden data'.
Once the option is checked, you still have to write your Word template well so that empty or invisible ‘paragraphs’ do not appear in your final export. Tip: To check what Word considers to be a change of paragraph, use the ¶ option!
Parameters:
Here is a preview in Word with the ¶ option using various possible entries:
If a field is empty (no mobile entry) or invisible (due to visibility conditions), you can choose to delete an entire part in your Word document or table with the block tag. For example, you have a table in your form. You do not want it to appear in your Word document if it is not completed during mobile or tablet entry. You must build your block tag in two parts, one before the table, to make it disappear if empty and one, after this same table to frame it. The item tag block syntax is: ##_block:field##
Make part of the Word document disappear. ##_block:field##
General rules:
The block tag allows you to determine the visibility of a table or a block of paragraphs in your Word document based on a field list or choice. For example, you have a field list with the following items (Code:Elément):
You want your block of paragraphs or table in your Word document to appear only if you selected "Airplane" in your list. You must build your block tag in the following manner: ##_block:list-A##
Make part of the Word document appear if “Airplane” is selected. ##_block:list-A##
If you have selected "Train" or "Car" in your field list, your table or block of paragraphs will not appear in your Word document. General rules:
The block tag allows you to determine the visibility of a table or a block of paragraphs in your Word document based on the results of a check box.
You want your block of paragraphs or table in your Word document to appear only if you have checked Yes in the check box. You must build your block tag in the following manner:
##_block:check_box##
Make part of the Word document appear.
##_block:check_box##
You want your block of paragraphs or table in your Word document to appear only if you have checked No in the check box. You must build your block tag in the following manner:
##_block:check_box-0##
(-zero)
Make part of the Word document appear.
##_block:check_box-0##
Now, watch the results. Go to the History page of your menu and click on Custom-made Word or PDF if needed.
You can also rename your export files. For more information, refer to our tutorial.