On this page

Dynamic forms ​

Purpose ​

You design a dynamic form once, then fill it in on any record in the system: an equipment inspection, a site handover, a visit report (OP11). Dynamic forms replace the old production and operations forms (IV13). Each record's values are saved for that record alone, along with the form version used to fill them in, so one record's values never overwrite another's.

Open the screen ​

Go to Tasks & forms → Dynamic forms, or open /work/forms. Select a form to open the Form designer (/work/forms/<id>).

Required permissions ​

ActionKeyLabel
View formswork.form.viewDynamic forms - View
Create a formwork.form.createDynamic forms - Create
Design, publish, create a new version and retirework.form.updateDynamic forms - Design / publish
Fill in a form on a taskwork.task.updateTasks - Update

Filling in and reading a form on a record follow that record's own permissions, so on a task the task permissions apply (WK7).

Design a form ​

  1. Select New form. Enter the Code (lower-case English letters, digits, - and _), the Arabic name and the English name, then select Create. Version 1 is created as a draft with one section.
  2. For each section, enter the Key and both titles, and choose the Layout: Fields; Grid (repeating rows), with the Fewest rows and Most rows; or Banded (fixed rows) with set row names.
  3. Select Add field and enter the Key and both labels. Choose the Type: Text, Number, Date, Choice, Several choices, Yes / no, User, Business partner, Item, Attachment or Signature. Select Required where needed.
  4. Set the validation rules for the type:
    • Number: Minimum, Maximum, Decimal places and Unit.
    • Text: Longest text and Pattern (regular expression).
    • Choice: Options.
  5. Under Show only when, make the field appear only for a given value of an earlier field in the same section.
  6. Try the form in Preview, then select Check the entries. This runs the same validation as saving does.
  7. Select Save, then Publish.

When filling in the form, you pick the value of a Business partner or Item field from the current company's parties and items (the first 500, sorted by code, within your master data permissions). The value is shown as code and name, and the record's ID is saved. If the list isn't available, you type the ID as before (WK9).

A published version is frozen. To change the form, select New version; records already filled in keep their version. Retire stops the form from being attached to new records.

Attach and fill in a form ​

  1. In the forms section of the task page, pick the form from Choose a form…, then select Attach form. The latest published version is attached. A form can be attached to a record only once.
  2. Fill in the fields and select Save.
  3. If you see Correct the {count} highlighted entries., correct the highlighted fields and save again. The server validates the values a second time.

Values in fields hidden by a display condition aren't saved. A required Yes / no field must be given a value, and empty rows in a grid are ignored (WK8).

Error messages ​

  • Some entries of the form are invalid.
  • Only a draft can be changed or published.