Working with forms#
A form opens via přidat (add) above the table or editovat (edit) on a row. It looks the same everywhere, whether you are editing a user or an invoice.
Parts of the form#
Toggles in the top right. Record states — typically Aktivní (active), plus Zabanován (banned) on a user. They switch on click and take effect on save.
The "Zpět na výpis" button returns to the list. It does not save — unsaved changes are discarded.
Section cards. The form is split into logical blocks (Přihlašovací údaje, Osobní a adresní údaje, Firemní údaje). Longer forms simply have more sections stacked.
The save button sits at the end of the form, below the last section.
Field types#
| Field | How it works |
|---|---|
| Text | ordinary typing |
| Dropdown | pick from values; empty reads — vyberte — |
| Checkbox | on/off; often reveals further fields |
| Toggle | two-state, coloured by state |
| Date | opens a calendar, or can be typed |
| Record picker | a button opens a window with a searchable list |
| Rich text editor | formatted text, see below |
A checkbox can reveal further fields
For example Firma (company) in the Firemní údaje section enables company name, registration number and VAT ID.
Hiding a field does not clear its value
Unticking the box just hides the field — whatever is still typed in it gets submitted and saved. To actually clear a record's company details, delete their content by hand; unticking Firma alone is not enough.
Picking a record instead of a long dropdown#
Where a dropdown would hold hundreds of items, there is a button instead that opens a searchable window. Pick a record, the window closes and the name fills the field.
A selected record is cleared with the cross next to the field.
Repeatable groups of fields#
Some forms let you add rows (contacts, document lines, prices). An přidat button inside the section adds one; each row has its own remove button.
A removed row disappears only on save
Until then the change exists only on screen. Leaving the form without saving keeps the row.
Rich text editor#
Formatted-text fields carry a toolbar. The editor sanitises pasted content — pasting from Word or another website drops part of the formatting. This is deliberate: foreign formatting would break the site's design.
To preserve structure, paste as plain text and re-apply formatting with the toolbar.
Saving and errors#
After saving you either return to the list or stay in the form, depending on the area. A result message appears at the top.
When a form cannot be saved, the system reports an error at the specific field plus a summary at the top. Nothing is saved — not even the fields that were fine.
The most common causes:
- a required field left empty that is hidden in another section or under a collapsed language tab,
- an unfilled foreign language on a multilingual field that is required,
- a value in the wrong format (date, email, number).
Look for the error in sections you cannot see
Error messages sit at the fields, not only at the top. If the top says the save failed but the visible part of the form shows no error, go through the other sections and language tabs.
Leaving without saving#
The administration does not warn about unsaved changes. Navigating away, the Zpět na výpis button and closing the window all discard them without asking.
