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 | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

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 ...