I'm trying to get a pageinit function to run on an online form. All that is in my code is alert('test') which runs on the custom form for the cust record, but not the online form. It returns ReferenceError pageInit is not defined. Any ideas? Update: Solved - the script file had to be available without login in file cabinet.