Trigger panel error message

Hey All,

I’m wondering if it’s possible to trigger the panel’s error popup using JS?

I know it can be done in PHP but needing this in JS :slight_smile:

Thanks!

I’m guessing if not it may have to be an AJAX call to a script which then will output the notification/error. Looking for a simpler way though.

Well, if you really want to trigger the $panel->notify() then I don’t think you could do that without an Ajax call. But why not inject an error message with JavaScript without calling notify?