Conditionally Show Checkbox if there is validation triggered

Certified Associate Developer


I need to show a check box in UI on click of Submit button, if there is a validation triggered on Submit.

The check box should not be visible otherwise.

If there is no validation getting triggered in UI then the form should just submit.

How can we achieve this.

Thanks in advance.

  Discussion posts and replies are publicly visible