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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...