# Wired text\_field and text\_area

**URL:** <https://rubytalk.org/t/wired-text-field-and-text-area/25533>\
**Category:** ruby-talk\
**Created:** [7 March 2006 21:18 UTC](https://rubytalk.org/t/wired-text-field-and-text-area/25533 "2006-03-07T21:18:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![misiek](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@misiek](https://rubytalk.org/u/misiek)\
**Post date:** [7 March 2006 21:18 UTC](https://rubytalk.org/t/wired-text-field-and-text-area/25533/1 "2006-03-07T21:18:41Z")

</div>

I need to return some values to the form  
so I do  
\<%= text\_field 'property', 'name' , :value =\> session[:property][:name] %\>Name\<br\>

and the same fo text area  
\<%= text\_area 'property', 'description', :value =\> session[:property][:description] , "cols" =\> 30,"rows" =\> 6 %\>Description\<br\> \<= but here does not work ? why if I switch on text\_field is OK
