Conditionally Show Checkbox if there is validation triggered

A Score Level 2

Hi,

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

Parents
  • Why not fire the validation whilst the form is being filled in (i.e. not defer until the 'Submit' button is selected)? That way the checkbox visibility can be fired by the same rule that is sued to conduct the visibility. And, in fact, the 'Submit' button's disabled status could also be controlled by the same rule, so it becomes very clear that you can't Submit until you've addressed the condition that the validation rule is setting.

Reply
  • Why not fire the validation whilst the form is being filled in (i.e. not defer until the 'Submit' button is selected)? That way the checkbox visibility can be fired by the same rule that is sued to conduct the visibility. And, in fact, the 'Submit' button's disabled status could also be controlled by the same rule, so it becomes very clear that you can't Submit until you've addressed the condition that the validation rule is setting.

Children