Notifications
Announcements
No record found.
Hi,
I am using the extension to extend the run method of a form please, guide me how I will use the element, thanks. Please find the screenshot.
Use keyword "this" instead.
By the way, don't use form names hard-coded as strings. Such as:
formRun.name() == "ProjTransEmpl"
Use formStr() instead:
formRun.name() == formStr(ProjTransEmpl)
If you use formStr(), the compiler will check if such a form exists and it'll also include the reference in cross-references.
Hi Muhammad,
Yes, You should change "element" to "this".
The ‘this’ object in your extension contains the element object (FormRun) of the extended form, so you can query for elements and data sources easily from here.
If you still have problems, please share with us in time.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader