Changes between Initial Version and Version 2 of Ticket #35243
- Timestamp:
- Feb 21, 2024, 7:25:03 AM (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35243
- Property Component Uncategorized → Forms
- Property Type Uncategorized → New feature
-
Ticket #35243 – Description
initial v2 1 The `` `ValidationError`` has a ``code`` field that can be used in views to determined what exactly failed during form validation. Unfortunately, the list of error codes in not easily accessible from form. Actually, if I want to recover the ``ValidationError.code``s for a form's particular field, I must write the following:1 The ``ValidationError`` has a ``code`` field that can be used in views to determined what exactly failed during form validation. Unfortunately, the list of error codes in not easily accessible from form. Actually, if I want to recover the ``ValidationError.code``s for a form's particular field, I must write the following: 2 2 3 3 {{{#!python