RE: Cannot add Client Script 2.1 to a Transaction Form
I am unable to wrap my head around why this won’t work. We are currently using a V2.0 client script to capture signatures on our invoices. An update to Chrome broke that function a while ago and was fixed before I finished an updated version. Now that it is finished and working flawlessly from a User Event Script button, I am trying to replace the script file under Custom Code and I keep getting the error message “SuiteScript version 2 file used for form scripts must implement client script type”. This obviously is already a Client Script. I have even tried removing the existing script, saving, and then edit and adding the new one, and I still get the error message.
Hi there
Without seeing any of the code it’s bit hard to troubleshoot. First and foremost, are you defining the script type at the beginning of your script?