Project

General

Profile

Actions

Feature #1768

closed

Forms: improved validations

Added by Alexander Watzinger over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Backend
Target version:
Start date:
2022-07-26
Estimated time:

Description

With the new form functions some validations that were done in views were moved to form validation.
Beside better structured code now instead of losing form data and having a error message displayed on top, form data now persists and the error is shown at the specific field.

Following validations were moved:
  • Type validations
  • Hierarchy validations
Other improvements:
  • Event: added validation to check if selected super event isn't already a sub event
  • Forms now aren't re-populated if there were form errors so that changes made are persistent when validation fails

Related issues 1 (0 open1 closed)

Related to OpenAtlas - Feature #1734: Forms: refactor functionsClosedAlexander Watzinger2022-06-06Actions
Actions #1

Updated by Alexander Watzinger over 2 years ago

Actions #2

Updated by Alexander Watzinger over 2 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF