Adding UI action info message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2016 12:34 PM
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?
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2016 01:14 PM
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.