Validation in Dynamic Container
Status
Release Available | Status | Framework Name |
---|---|---|
4.3 | Current |
General
A Portal administrator can configure a dynamic container to handle the validation of its child Actors on performing a normal, save, and submit action at the dynamic container level, and display the error messages to the user.
On user action, all the child actors that are configured are validated, all the error fields and accordions are highlighted, and based on the accordion state, the user is auto-scrolled to one of the following places:
If the accordion is in the expanded state, the user is scrolled to the first error field in the accordion.
If the accordion is in the collapsed state, the user is scrolled to the accordion and can expand the accordion to look for the specific error fields.
Code JSON
Copy
{"name": "submitData",
"actionType": "submit",
"validation": ["contactListAsPicklist"],
........
},
"appearance" : {
"validationErrorSuffixIcon": "warning",
"showValidationError": true,
…....
}