Am I missing something when adding a script to an ...
# suitescript
d
Am I missing something when adding a script to an address form? I've stripped this down completely and it still doesn't work. When I click Save on the address form, it just sits there. I see my console.log output, but the form never submits. If I click save again, it says that I've already submitted the form.
Copy code
...
    function saveRecord(scriptContext) {
        console.log('----about to return TRUE')
        return true;
    }
    return {
        saveRecord: saveRecord
    };
...