Saltar navegación

[Resuelto] Change "no file chosen" text

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Minesh 1 year, 10 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2705655
1.PNG

Hi,
I've made a custom form and added image field upload.
I need to change the text of the field, that is currently showing "No file chosen".

Not using WordPress Media Library manager. I've tried placeholder and description, but no luck. I've also tried Translate Press, but it's not locating it as a translatable text.
Link to view - enlace oculto

#2705668

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Actually - the input type file captions are managed by the browser you are using.

Each browser has it's own rendition of the control and as such you can't change either the text or the orientation of the control.

Please check the following article:
- enlace oculto
- https://stackoverflow.com/a/16001704
- https://stackoverflow.com/questions/5138719/change-default-text-in-input-type-file

#2705739

I see, so it was not something easy.
When I do that, the repeating field disappears too, so I'll just have to drop that idea off.
Thank you!