# How to make file\_field tag readonly?

**URL:** <https://www.ruby-forum.com/t/how-to-make-file-field-tag-readonly/122072>\
**Category:** Ruby\
**Created:** [December 4, 2007, 10:50am UTC](https://www.ruby-forum.com/t/how-to-make-file-field-tag-readonly/122072 "2007-12-04T10:50:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anilbhat21](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/77aa72/32.png) [@anilbhat21](https://www.ruby-forum.com/u/anilbhat21)\
**Post date:** [December 4, 2007, 10:50am UTC](https://www.ruby-forum.com/t/how-to-make-file-field-tag-readonly/122072/1 "2007-12-04T10:50:47Z")

</div>

Hi,

I have provided the file upload option in a form and have to make the  
file\_field tag readonly. Can anybody hlp me in this?

Thanks,  
Anil B.
