Try this one in Script Editor:Set code in SameAsStreet(CheckBox)::change
eventif (this.rawValue == "1") {
this.resolveNode("MailingAddress").rawValue =
this.resolveNode("StreetAddress").rawValue;}else {
this.resolveNode("MailingAddress").rawValue = "";}Let me know your
comments for the same.Thanks,Rahul Pathak