Announcements
No record found.
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
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
If you move the Code to the table/class, it can be accessed everywhere, easier, and it is a best practice too
element.args().caller(); can only access the methods under Form>>methods, not the methods behind design/datasource controls.
Thank you for the quick reply.
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.