Solved Text box requires completion after check box ticked (1 Viewer)

Mahall906

New member
Local time
Today, 13:54
Joined
Apr 11, 2014
Messages
29
Afternoon all,

Would someone be able to guide me on the type of code I would need to ensure a text box is not left blank when someone ticks a check box?

I have a check box called "complete" and once this is ticked I need the user to complete a box called "NAFN" before the form can be closed.

I know how to do mandatory items etc but not sure how when it depends on another item.

Always appreciate your help ;-)
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 06:54
Joined
Aug 30, 2003
Messages
36,118
I'd use the before update event of the form:


In your case the code would test the checkbox being true as well.
 

Users who are viewing this thread

Top Bottom