Question
Reset section properties
I have multiple sections on a single page, and I have to display only one based on dropdown selection on the top.
But if the user has some validation/required field errors on one section, and he switched to another section, the validation errors remains there.
I want to remove or reset all that data in that previous section, so that the newly displayed section is not impacted because of previous errors.
Is there any activity or flow which I can use to reset that section? or any other straightforward solution.
Like in JavaScript you have form reset functionality.
Hi Tariq,
I assume in your top drop down, you would have configured onchange refresh section and thus below sections would have been rendered as per the value of the dropdown.
So you can try calling a preactivity for the onchange refresh of dropdown where you can do Page-Clear-Messages to remove the validation messages.