Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to make a checkbox mandatory

Avatar

Former Community Member

Hello,

I created  a checkbox where I want the user to check that they have read and acknowledged a privacy statement.

I am curious how I make the checkbox mandatory, as I dont see an option in the Object Pallete.


Thanks in advance!

Nik

1 Accepted Solution

Avatar

Correct answer by
Level 10

Write the following line code on initialize event of the CheckBox to make it mandatory.

Nith

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Write the following line code on initialize event of the CheckBox to make it mandatory.

Nith