Skip to content
This repository was archived by the owner on Jul 1, 2020. It is now read-only.
This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Validation Summary and preValidateFormElements #101

@mwagnurr

Description

@mwagnurr

Because I want to display my validation messages summarized on the top of my page, instead of at the input field, I am trying to use Validation Summary for this purpose.

The problem is that the Validation Summary is already filled on page load, even though it should be deactivated in the global options:
// pre-validate all form elements (False by default)
preValidateFormElements: false

And of course I don't want to present the user with a huge list of Validation errors before he even started to type anything.

Is it intended that this preValidate option doesn't affect ValidationSummary?
Or maybe I am missing something?

Another approach for me would be to write my own summarization with DisplayErrorTo.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions