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!

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...