vaishalik
16th October 2014, 11:21
I have designed a form in which I have 2 fields. out of them one is checkbox. My requirement is to disable another field when checkbox is checked. I have used disable.fields() but it does'nt greyed out the label as well as the field. How to do that?

mark_h
16th October 2014, 21:25
What is your BaaN version? Your profile say IV and V. Your version will probably make a difference. Maybe you can make the label a field on the form also - then use disable on it. See if it greys out both.

I have baan 4c4 so just speculating here. So no disable fields that I am aware of.

sachinbaan
17th October 2014, 06:04
Hi,

write disable.fields() on when.field.changes: of your checkbox field.

vamsi_gujjula
17th October 2014, 15:53
As mark said...disable.fields() is not on baan iv and i have no idea abt baan V


IF BAAN IV :

but one can use inputfield.invisible (string field_name(18),...) or attr.input = false on baan iv