Checkbox

Checkbox can’t be made required in Pega. For this either you will have to put the validation in the action set but that is not ideal since the needed prompt will appear as soon as the user clicks in the screen. The best way is too handle it in the post DT and set the message. And for asteric you can put the icon in the advanced presentation in the read write classes.

1 Like

In Pega, do not try to make the checkbox required through the action set, because the error message shows too early when the user clicks on the screen. The correct solution is to handle the validation in the post-processing data transform. In that data transform, check whether the checkbox is selected and set the validation message there. This makes the validation appear at the right time, after the user submits the form. For the required asterisk, add the icon in the Advanced Presentation settings of the read-write control. This gives you both proper validation behavior and the expected required-field display.