if scripts to fill a form field

if scripts to fill a form field

Hi,

I use Creator to list customers and clients. I am not familiar with Deluge and have been trying to write a script to use a "yes/no" radio button field to copy address components. So far i've gotten the following script to successfully save but not to work in the form.

if (input.Address_Change = "no")
{
    New_Address = Address;
    New_Apt = Apt;
    New_City = City;
    New_State = State;
}

Please help me!

Thanks you