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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...