Adds missing description of second client side form validation function parameter#593
Conversation
Review Summary by QodoDocument second parameter in custom form validation functions
WalkthroughsDescription• Documents the element parameter in custom validation functions • Updates code example to show both value and element parameters • Clarifies that HTML element is passed as second parameter Diagramflowchart LR
A["Custom Validation Function"] -->|receives| B["value parameter"]
A -->|receives| C["element parameter"]
D["Documentation"] -->|updated to explain| C
E["Code Example"] -->|updated to show| C
File Changes1. docs/general-concepts/forms/client-side-validation.md
|
Code Review by Qodo
1. Versioned docs not updated
|
|
Thanks for fixing this. Could you please include these changes in the other versions as well, then we can merge this. That is, in the equivalent Those are the other versions we're also maintaining at the moment. |
A custom client side form validation routine receives two parameters. Only the first one, the field
valuewas documented. This PR documents the HTMLelementwhich is passed as the second parameter to the validation function.