Announcements
No record found.
I have a Enum Types of Goods with value (Input /Capital Goods) now, I have a lookup field Production order if I chose input Enum value (Input) lookup should be disabled and for Enum value (capital goods) it should be enabled.
Hi Sachin, You can refer these articles
theaxapta.blogspot.com/.../how-to-enabledisable-fields-in-dialog.html
https://wp.me/p1bEiG-go
First make these controls auto declaration to yes if it's custom form. Then create a new method making the said condition and get the datasource by
Table table = table_ds.cursor();
Then simply call this new method in active and modified of that enum.
Hi Sachin,
For your scenario - You can add the code on the modified method of the Enum control and based on the current Enum value you can enable disable the other control.
Similarly you need to add this on active method also.
Look to the below syntax.
//check for the enum value if(enumvalue = input) { control.enabled(false); } else { control.enabled(true); ]
Thanks,
Girish S.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 536 Most Valuable Professional
André Arnaud de Cal... 363 Super User 2026 Season 2
CU-1234529-002 188