Dashboards & Visualizations

How to determine form is in submitted state or not?

conikhil
New Member

I have a need where user is allowed to perform certain action (onclick of button) only when current form/dashboard is in submitted state through Splunk Web Framework / JavaScript.

Current approach I am taking is - by comparing default and submitted tokens, if they are equal form is in sumitted state & v.v. Can there be a better approach/mvc api?

  • Should return correct state indepedent of searchWhenChaged, autorun etc settings in form/inputs.
  • it should work indepedent of submit button present or not.
0 Karma
Get Updates on the Splunk Community!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...