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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...