Project

General

Profile

Feature #1768

Forms: improved validations

Added by Alexander Watzinger 2 months ago. Updated 2 months 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

Related to Feature #1734: Forms: refactor functionsClosed2022-06-06Actions

History

#1

Updated by Alexander Watzinger 2 months ago

#2

Updated by Alexander Watzinger 2 months ago

  • Description updated (diff)

Also available in: Atom PDF