Splunk Search

SubmitButton allowSoftSubmit

Sriram
Communicator

I have 2 questions on the submitbutton module.

  1. Is the behavior allowSoftSubmit = False applicable only after the view is loaded. Here is my scenario, I have a pulldown modules with submitbutton and several search modules nested.
    My submitbutton has the follow parms

    .......

    Generate Dashboard
    False
    It appears when the view is loaded in the beginning, all the search are executing irrespective of allowSoftSubmit False. After initial load, it appears fine as the searches are invoked only after i click the button. Is it the expected behaviour or am I missing something. I would really like the search initiated only after user click the search button as rightnow the initial page load is slow as it takes time to finish the search and render.

    1. I would like to change the label of the search button from 'search' to 'searching' when the search is in progress and then revert it back to 'search' after it is done. Any pointer would be helpful.
Tags (1)
0 Karma

MHibbin
Influencer

Sriram,

In the "Search" modules you mention have tried explicitly turning autorun off in the search. For example

Not sure about the second request, but you'd probably need to use custom Javescript and CSS.

Regards,

MHibbin

0 Karma

Sriram
Communicator

Regarding 2nd question, can you give me some examples on how to do this in custom javascript.

0 Karma

Sriram
Communicator

autorun="false" did not help that much when nested thru pulldown module. I am able to somewhat make it work by replacing SubmitButton to Button.

Generate

False
False
However this is only working in firefox, but not in IE. Unfortunately since we are stuck with IE8, I am not able to make much progress. Although not 100% sure, I don't see this behaviour in IE8 when textfield module is nested.

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, ...