How do you access user defined scripts within a form script? Is it possible?
By "user defined scripts" are you referring to global scripts?
If so, then yes you can call those from form script using ThisForm.CallGlobalScript() - docs.infor.com/.../default.html
...as well as form events using the Run Script response type - https://docs.infor.com/mg/2024.x/en-us/mongooseolh/default.html?helpcontent=mgwsolh_mg/lsm1454148024306.html&hl=run%2Cscript
If you need to call the script from formscript code, I would recommend setting up a custom form event with a Run Script handler and fire that in code using ThisForm.GenerateEvent().