auto populate problem

auto populate problem

i know a lot of people has discussed it earlier but i have problems with my auto populate fields
i want to share my problems with the developers so they can fix it for me as i am very new to zoho and programming bits
i can give links to my app if they wanna have a look into it

the code i am using is this

if (Quote_Info[Quote_No == input.Quote_No1])

{
temp=Quote_Info[Quote_No==input.Quote_No1];
input.Date_of_Issue1=temp.Date_of_Issue;
input.Acceptance_Date1=temp.Acceptance_Date;
}

quote info is the form where quote no is stored
quote no 1 is the look up field for the quote no

thanks