# Toggling between readonly and writeable text\_field\_tag

**URL:** <https://www.ruby-forum.com/t/toggling-between-readonly-and-writeable-text-field-tag/103261>\
**Category:** Rails\
**Created:** [May 3, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/toggling-between-readonly-and-writeable-text-field-tag/103261 "2007-05-03T16:44:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Javier\_CH](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@Javier\_CH](https://www.ruby-forum.com/u/Javier_CH)\
**Post date:** [May 3, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/toggling-between-readonly-and-writeable-text-field-tag/103261/1 "2007-05-03T16:44:47Z")

</div>

What is the opposite of page[:text\_field\_tag\_dom\_id].readonly =  
“true”?

page[:text\_field\_tag\_dom\_id].readonly = “false” doesn’t seem to  
work…and .writeable doesn’t seem to exist.
