updating records from other forms

updating records from other forms

Hi I have finally been getting my head around Deluge and using it to drag info from one form to another. I have managed to do the following but come what may it will not update the field. I have used info to check the correct data exists.
I then spend along time looking at my automation calls to make sure that was correct. I have it on edit of create form.

Here is the code i have used. Any ideas before i go completely mad.

x = zoho.crm.getRecordById("Contacts",input.customer);
smsnumber=x.get("Mobile");
info smsnumber;

 I thought i might need input before smsnumber but it will not stick in the code.

Any help would be great.
Happy Christmas