onSubmit script error: TypeError: GlideRecord is not a constructor: function () { [native code] } ?
I am trying to run the following line in the onSubmit() filed in the client script. var target = new GlideRecord('some_table'); target.addQuery('table_field');target.query(); // Issue the query to the database to get all records while (target.next())...