All Apps and Add-ons

How to increase textfield size in formsearch

splunkatl
Path Finder

I am using module=textfield in formsearch. I lookslike text box is smaller to enter full our search string. How do I increase the textbox size when used module=textfield .I tried giving width=100 but didnot helped.
is there any way we can increase the size to textbox?
Here is code in XML.




<module name="Message" layoutPanel="messaging">
    <param name="filter">*</param>
    <param name="clearOnJobDispatch">False</param>
    <param name="maxSize">2</param>
</module>

<module name="TitleBar" layoutPanel="navigationHeader">
    <param name="actionsMenuFilter">dashboard</param>
    <!-- <param name="showActionsMenu">False</param> -->
</module>



user
Enter UserID
user="$value$"
left
0

0 Karma
1 Solution

splunkatl
Path Finder

this has fixed after changing the code as below

    <module name="TextField" >
        <param name="name">user</param>
        <param name="label">Enter UserID</param>
        <param name="template">user="$value$"</param>
        <param name="float">left</param>
        <param name="default">0</param>
    <param name="width">70%</param>

View solution in original post

0 Karma

splunkatl
Path Finder

this has fixed after changing the code as below

    <module name="TextField" >
        <param name="name">user</param>
        <param name="label">Enter UserID</param>
        <param name="template">user="$value$"</param>
        <param name="float">left</param>
        <param name="default">0</param>
    <param name="width">70%</param>
0 Karma

nabeel652
Builder

is this answer in some code word?

0 Karma

ppablo
Retired

Hi @nabeel652

The post wasn't properly formatted. I just edited it to render the code properly. Do keep in mind though that this post is almost 4 years old and the solution might not be relevant to more current Splunk versions

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...