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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...