Forum: Ruby on Rails text_field_with_auto_complete

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B5a793b425c4db1f45c3cdfec5697047?d=identicon&s=25 scott (Guest)
on 2006-06-08 10:58
Hi,

I have a autocomplete text field working usign the code below
<%= text_field_with_auto_complete :paymentname, :name , :skip_style =>
true %>


I tell this where to save the data entered?


ie in the old text field it was <%= text_field 'payment',
'payment_stage'  %>
B5a793b425c4db1f45c3cdfec5697047?d=identicon&s=25 scott (Guest)
on 2006-06-08 11:32
A hack to get this tow work is

@payment.payment_stage = params['paymentname']['name']

however im not really happy with this as validation does not highlight
the required text field, any suggestions would be good?
This topic is locked and can not be replied to.