Getting Data In

Can an input be enabled or disabled based on another input?

jmc82
Explorer

I have a dashboard containing a checkbox with some values. These values are OR'd together in my search string. For example:

Checkbox Input:
A
B
C

translates to: search MY_FIELD= A OR B OR C

If the user selects value C I would like another input field to either appear or to become enabled on my dashboard. Specifically I want two radio buttons to become available with values of Yes and No.

So the search should become:

search MY_FIELD= A OR B OR (C AND MY_OTHER_FIELD=Yes/No)

Is this possible?

markthompson
Builder

Yes, take a look on the Splunk 6.x dashboard examples - under Cascading Form Input or Post Process Search.

Hope this helps - please rate if it does.

Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...