How copy a field value into another field of the same form

Dear all,

I’ve a form and within it I’ve a select type field. User choose a value and then go to next field.
I need to copy the id code behind the select type field into another field that is i.e. a read only field that user can’t edit. I need to do it every time I change the first one.
Please, I’m not a programmer, and so if you post some line with a sample it will be better for me.
Thanks
Giovannino

Re: How copy a field value into another field of the same form

create a new ajax event on your select field on the event onChange …

Edit the event that you created with this code:

{the_field_you_want_filled} = {your_select_field};

Re: How copy a field value into another field of the same form

I’ve tried and it works !!!
Thanks
Giovannino