Changes between Initial Version and Version 2 of Ticket #35243


Ignore:
Timestamp:
Feb 21, 2024, 7:25:03 AM (9 months ago)
Author:
Christophe Henry
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35243

    • Property Component UncategorizedForms
    • Property Type UncategorizedNew 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:
     1The ``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:
    22
    33{{{#!python
Back to Top