Skip to Content
0
Former Member
Apr 24, 2007 at 12:42 PM

onBoundAttributeChanged

25 Views

Hello,

I got a checkbox, when this gets checked another field should become mandatory, when unchecked the field should be normal.

So i use this code in the onBoundAttributeChanged of the checkbox:

If ctrlctrlChkDel.value <> "" Then

ctrlctrlContact.editmode = cemmandatory

else

ctrlctrlContact.editmode = cemnormal

End If

But something is not right yet, when i check the checkbox the field gets mandatory so this is ok, but when i uncheck it again the field stays mandatory.

Can anyone tell me what im doin wrong?

Thx!

Maarten