Upload File

User 2180165 Photo


Registered User
7 posts

In the Upload File element, there is a square grey box with the text “Choose File” and a text “No file chosen” which is later replaced by the filename chosen.

Is there a way to control the look and feel of the parts of this element ? Font, text, and box colour ?
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Yes there is.
You can add this to an html element on your form to see it working in form builder.:cool:
<style>#docContainer input[type="file"] {
padding: 3px 2px;
font-weight:bold;
font-size:large;
color:red;
background-color:yellow;
}
</style>
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 2180165 Photo


Registered User
7 posts

Can you be a bit more specific, Eric ?

This style should be used to control the look of the Upload File element, but where to put it ?

Thanks.
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Eric Rohloff wrote:
Yes there is.
You can add this to an html element on your form to see it working in form builder.
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 2180165 Photo


Registered User
7 posts

Thank you, Eric. Very helpful.

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.