text field default width - Post ID...

User 53507 Photo


Registered User
31 posts

I need to be able to add a text block for middle initial on a form I am doing for a large organization.
I can certainly use the smallest width = 20% but it sure would be handy to have something smaller . . . like in the 5-10% range (as the input will only be one charecter).

Is this do-able in any fashion?

Thanks.
User 187934 Photo


Senior Advisor
20,271 posts

Alter the code manually.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 53507 Photo


Registered User
31 posts

I thought about that but didn't know where (which file) to look . . .
User 187934 Photo


Senior Advisor
20,271 posts

Look for something similar to this on the formname.html
<div class="fb-input-box">
<input id="item2_text_1" name="FirstName" maxlength="20" required data-hint=""
autocomplete="off" placeholder="" autofocus type="text" />
</div>

And tweak it by adding this to it. style='width:10%;'
Change the 10% to your needs.

<div class="fb-input-box">
<input id="item2_text_1" style='width:10%;' name="FirstName" maxlength="20" required data-hint=""
autocomplete="off" placeholder="" autofocus type="text" />
</div>






I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.