Penstock

Guide / Every rule

Two fields write the same variable

The check form/key-clash, in the group Forms.

Error

Why it matters

Tasklist and the form editor refuse to open a form in which two fields, or a field and a group, use the same key.

How to fix it

Give each field its own key.

Where you see it

Press Check in the form editor. The Problems tab of the sidebar lists it. In a terminal, penstock check reports it as KEY-CLASH for every form. The form check is lint, so it is free.

Rule details

Idform/key-clash
GroupForms
LevelError: the diagram or the process is wrong
Name in penstock checkKEY-CLASH

Read more: The form editor. All rules: Every rule.