Update form text_field on collection_select selection

I have form and a collection_select control. I would like to update
form fields (text box) when I select an item from the collection_select
box.

It’s like selecting template from the collection_select and the template
automatically loads to text boxes.

Any help?

On 30 August 2010 12:53, Ahmed A. removed_email_addres[email protected] wrote:

I have form and a collection_select control. I would like to update
form fields (text box) when I select an item from the collection_select
box.

It’s like selecting template from the collection_select and the template
automatically loads to text boxes.

You will either have to use javascript or ajax for this. If you don’t
know about them then start with google.

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs