Hi Everyone,
is it possible to access a form's string Field's method
from another form's string Field's method.
i need an idea to proceed.Any suggestions are appreciated.
*This post is locked for comments
Thank you for the quick reply.
element.args().caller(); can only access the methods under Form>>methods, not the methods behind design/datasource controls.
If you move the Code to the table/class, it can be accessed everywhere, easier, and it is a best practice too
You can access one forms method on another form using object.
Object myForm = element.args().caller();
myForm.myMethod(); //Here myMethod is your parent forms method
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156