Forum: Ruby on Rails text_field_with_auto_complete

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
scott (Guest)
on 2006-06-08 10:58

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'  %>
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.