Problem with fields in Tabs (bottom Forms)

We have a form with some childforms this forms are showed in the tabs on the bottom.

In the onRecordSelection event i set some field to enabled =false depending on the data.

But if I go to edit the disabled fields change to enabled = true.

I found that the switch hapens in the file svy_nav_navigation/globals.js on line 389 where the tab is set enabled, it seams that all fields on that tab are set to anabled too.

Any ideas about that problem?

Another question, is it better to use readOnly for such fields?

Regard jonpaul

Any information about this Problem?

Hi Jon Paul,

Could you use the property editable instead?

Regards Sanneke

Hi Sanneke
That works but then i don’t have the grey out effekt from the enabled = false property.
Is there any other possibility?
Regard jonpaul

Hi Sanneke
I just found a workaround.
If i set the fields also in the onShowForm method everything works as expected.