Avatar

Level 10

Hi,

In the exit event of the checkbox you would have javascript similar to this:

If (this.rawValue == 1) // use double == to test equality

{

     InstallationAddress.rawValue = InvoiceAddress.rawValue;

}

else

{

     InstallationAddress.rawValue = ""; // this will reset the installation address

}

By default a checkbox has a default on value = 1 and off = 0.

Hope that helps,

Niall