Link Text to File field

Right now its not possible to give a default name to the file link as you can do in normal link field. So if a user upload a file with long names it looks really bad.

I was thinking if knack can give similar functionality to file links like it has in link field.

![](upload://9KAxHDh1r4R74HoacE8AGLFw2Jn.png)

I agree it would be great to treat the FILE field similar to the LINK field with a way to set the SAME TEXT for all files. For now, I'll review the JS workaround from Stephen... thanks!

1 Like

Stephen

Thank You very much

Hi Ajay,
I've just addressed this issue with some Javascript code:
https://support.knack.com/hc/en-us/community/posts/115001024271-Changing-File-Hyperlink-Text

Enjoy!

1 Like

Hi - would love to see the solution - unfortunately the link doesnt work any longer. Does anyone have the updated link?

Hey @Kenneth - here’s the updated link for you:

Hope that helps!

1 Like