//Secondary Custom code - START
function cstmMemberInfo() 
{ 
if (this.getField("FIELDS_HAVE_CHANGED").value == '0')
  {
    this.getField("CSTM_A_NAME").value = this.getField("A_NAME").value;
    this.getField("CSTM_A_ADDR_1").value = this.getField("A_ADDRESS_LINES_1").value;

    if (this.getField("A_ADDRESS_LINES_2").value == ""){
    this.getField("CSTM_A_ADDR_2").value = this.getField("A_ADDRESS_CSZ").value;
  }
  else
  {
    this.getField("CSTM_A_ADDR_2").value = this.getField("A_ADDRESS_LINES_2").value;
    this.getField("CSTM_A_CSZ").value = this.getField("A_ADDRESS_CSZ").value;
  }

    this.getField("FIELDS_HAVE_CHANGED").value = '1';
  }
}
//Secondary Custom code - End