Dissabled text field but still post its value on submit



I have a text field that gets its updated value from a javascript
function. So I don’t want the user to enter anything into the field. But
I want the value to be part of the parameters when the form is

The problem is that when I use :dissable => “true” on the text field its
value is not sent on submit.

How can I fix that, any idea?



In this case, you’ll have to use :readonly => true, not disabled.

Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/

On Fri, Feb 27, 2009 at 6:07 PM, comopasta Gr


Yeah thanks a lot Maurício!