Splunk Search

Form input - Difference between default and initial value

sylbaea
Communicator

Hello,

Could you somebody please help me to understand the difference and pros/cons between default value and initial value in dashboard form inputs ?

Regards.

1 Solution

gokadroid
Motivator

Picked up str8 from the docs:

Default
Use a default value for an input when users do not make a selection.

Initial
Use an initial value for text inputs only. The initial value appears only when the form page loads. If a user clears the text field, the initial value does not reappear and the token value is set to an empty string.
If you specify both an initial and default value for a text input, only the default value applies

Not sure about any pros or cons though but more on inputs can be found here:
http://docs.splunk.com/Documentation/Splunk/6.5.0/Viz/FormEditor
http://docs.splunk.com/Documentation/Splunk/6.5.0/Viz/FormEditor#Specify_initial_and_default_input_v...

View solution in original post

gokadroid
Motivator

Picked up str8 from the docs:

Default
Use a default value for an input when users do not make a selection.

Initial
Use an initial value for text inputs only. The initial value appears only when the form page loads. If a user clears the text field, the initial value does not reappear and the token value is set to an empty string.
If you specify both an initial and default value for a text input, only the default value applies

Not sure about any pros or cons though but more on inputs can be found here:
http://docs.splunk.com/Documentation/Splunk/6.5.0/Viz/FormEditor
http://docs.splunk.com/Documentation/Splunk/6.5.0/Viz/FormEditor#Specify_initial_and_default_input_v...

sylbaea
Communicator

I see, thanks for clarification, I missed that in the official documentation.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...