Maximiliano
06/24/2023, 6:30 PMMaximiliano
06/24/2023, 6:31 PMdefine([], function () {
function pageLoad(context) {
var record = context.currentRecord;
var field = record.getField({
fieldId: 'custpage_temp_organic'
});
field.isDisplay = false;
}
return {
pageLoad: pageLoad
};
});
MGBC
06/24/2023, 6:41 PMSitaram upadhya
06/24/2023, 6:41 PMSitaram upadhya
06/24/2023, 6:42 PMAnthony OConnor
06/24/2023, 6:56 PMpageLoad
isn't a thing
pageInit
is a Client Script entry point
beforeLoad
is a User Event Script entry pointAnthony OConnor
06/24/2023, 6:59 PMcontext.form
and then get the field from that FORM, your code is trying to get the field from the record, which doesn't have an isDisplay
to referenceShawn Talbert
06/26/2023, 7:41 PMpageLoad
?