Text_field_with_auto_complete

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’ %>

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?