Getting Data In

Labels not working on forms

timmy13
Communicator

I am creating a criteria form for a report. When I use "text" fields, the labels work fine. But if I use radio or drop downs, the Label does not display.

I wanted to post an example but can't get the Markdown to display the code not the form.

But, if I use "input type="dropdown" token="myfield1"
the label never displays.

But if I use "input type="textbox" token="myfield2"
the label works fine.

Any ideas?

Tags (3)
0 Karma

RicoSuave
Builder

Have you tried using the label option? Try this

<input type="dropdown" token="myfield1">
    <label>MY_LABEL</label>
    <populatingSearch><your populating search</populatingSearch>
    <other options>
</input>

Also reference this documenatation.
http://www.splunk.com/base/Documentation/latest/Developer/AddDropDowns

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...