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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...