It seems you are facing issue while creating Script object(js).To create a new script object, right-click on the order object at the top of your form hierarchy. Select Insert Script Object from the pop-up menu. A new script object appears below the Validation script object.Thanks,Vipin