@mg2017 that looks like you're trying to add a message to a user event script, messages can only be displayed using a client script
m
mg2017
12/05/2017, 2:18 PM
we can use the UserEventType on UE scripts but how do we check the event type in clientscript? basically i just want to display a message only when a record is created
j
jmacdonald
12/05/2017, 2:34 PM
in the pageinit there should be a value in the context called mode I think, it should be either create, copy or edit so in your case create I guess
m
mg2017
12/06/2017, 10:29 AM
yeah there's the context.mode - thanks for that. going through SS1 to SS2 - fun times! sorry for the obvious questions btw!