Chapter 19 · 19.5
A form that several people fill in one after another
An employee fills in a leave request first, then the manager adds a tick and a signature. A landlord and a tenant each fill in their own part of a rental agreement. You want everyone to see which part is theirs, and you want it done in the right order.
Euro-Office helps you with the first part: with recipient roles you specify for each field who needs to fill it in, each with its own colour. The second part, enforcing the order and automatically notifying the next person, isn't something Euro-Office does in your WebOké Nextcloud. You handle that with sharing. Below are both steps, using the leave request of Bakkerij De Korenaar as an example.
Step 1: create a form with roles
You create roles in a form that you start in Euro-Office itself:
- In your files, click New and choose New PDF form.
- Choose Blank (1) for an empty form, or select a text document and choose From text document (2) to use that document as the basis.
- The form opens in an editor that looks like the word processor. Type the fixed text, such as "Employee name" and "Manager approval".
- Go to the Forms tab.

This is a different editor from the one for an ordinary PDF: it looks like the word processor and has extra buttons on the Forms tab, such as Signature, Insert fields for, Manage Recipient Roles and Preview. A PDF you receive from someone else opens in the PDF editor, which has no roles.
Create the roles
- Click Manage Recipient Roles. There's already one role: Anyone.
- Click New, type a name under Recipient name, for example Medewerker (employee), and click OK.
- Create the role Leidinggevende (manager) in the same way. Each role gets its own colour. Use the arrows at the top right to put the roles in the order in which it's their turn (1).
- Click Close.

Link fields to a role
- Under Insert fields for (1), choose the role, for example Medewerker, and then add the fields for that role to the form: name, and the first and last day of leave.
- Then choose the role Leidinggevende under Insert fields for and add the manager's fields: a Checkbox for approval and a Signature.
- Is a field linked to the wrong role? Click it and choose the correct role on the right under Who needs to fill this out? (2).

With Preview and the arrow below it, you choose a role and see the form as that person sees it.
Please note: the Preview view also has a button for submitting the form. In your WebOké Nextcloud, this doesn't send the form to the next person and nothing is collected: in our test nothing visible happened and no file was added. The form simply remains the file in your Nextcloud.
Step 2: set the order with sharing
Please note: Euro-Office only saves what you fill in on a PDF when you press Ctrl + S or click Save (see Filling in a PDF form). Make sure everyone who fills in the form does this before closing the PDF, and have the first person open the form again afterwards to check that their answers are in it, before it's the next person's turn.
- First share the form only with the employee, with permission to edit (see Sharing a document with a colleague).
- Once the employee is done, remove their share or set it to View only, and share the form with the manager.
- Want to be sure the employee's part doesn't change any more? Save a copy first and have the manager fill in that copy. See also Locking a completed form so no one can change it.
Tip: post in the Talk chat or in an email whose turn it is now. Nextcloud doesn't send the next person an automatic message telling them to fill in the form.
Pitfalls
- Roles aren't a lock: anyone who can edit the form can also fill in the fields of the other role. The colours help, but the protection comes from sharing.
- Signature: a drawn signature in a form is an ordinary electronic signature. If you need a signature with a certificate, read Signing a PDF with a certificate so it is legally valid.
- Forgetting the order: if you share the form with everyone at once, the manager can approve it before the employee has filled anything in.
