Adding UI action info message

nealp_
Tera Contributor

Hello experts,

How do I add an info message on a UI action button 'Submit'?   I want a message to show on top of the page which says "Your request has been submitted" once the 'Submit' button is clicked?

5 REPLIES 5

j3d1
Giga Contributor

Hi Neal,



have you tried putting a log statement inside of your if statement to make sure the code is getting into the if statement code?   I've seen this if(typeof window == 'undefined') used before but most comments I've seen say it's not necessary in most cases (i've never used it personally).   Since your message isn't displaying I'd assume the action isn't getting to that part of the code.