I have a text_field that stores an invoice due date. It's value is
updated by JQuery when the user specifies the terms of the invoice.
So, the value would become the Invoice Date + Terms.

The text_field should be disabled so that the user can't put it a
random date without regard to the terms or invoice date.

However, adding the :disabled attribute to the text_field, or adding
the disabled attribute via JQuery results in the value not being saved
when the invoice is created.

How can I make the value of the disabled text_field be recorded during
the @invoice.save?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to