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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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