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
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...