Mandatory CheckBox on Form

odinx16
Kilo Contributor

I need a Mandatory Checkbox as Acknowledgement on a form. The checkbox appears in certain conditions and has to be mandatory if it appears.
Currently I have the checkbox appearing correctly and when i have g_form.setDisplay('MyCheckbox',true), I also set:

g_form.setMandatory'MyCheckbox',true).

The asterisk appears next to the checkbox, but it is always grey. I can obtain the functionality I need with a Business Rule (before update), but my requirement is to actually make the asterisk red so that it is obvious.

Does anyone know a simple solution for this?

1 ACCEPTED SOLUTION

Rick Seiden
Mega Sage

I know this is an old post, so things have changed.  In London, at least, there is a "Selection required" checkbox on the variable form.  If you check that off, the user MUST check the checkbox.  No scripting required.

 

Rick Seiden

Linium

A Ness Digital Engineering Company

View solution in original post

10 REPLIES 10

If you have multiple checkboxes., Only Selection required for the first checkbox should be enough to be marked as true