Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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