Update other fields on form based on a value in one column - Duplication of Addresses -  copying a physical to a postal address

Discussion created by ArdeviaForum on Aug 19, 2016
Latest reply on Aug 19, 2016 by ArdeviaForum

Original Post by Sandy (Imported from Ardevia Forum)



I have a list that has the following columns:


Postal Address Same As Physical - Checkbox with a Yes/No value
Postal Street
Postal Suburb
Postal Country
Postal Postcode
Physical Street
Physical Suburb
Physical Country
Physical Postcode


When I click Yes on the Postal Address Same As Physical, the Physical Street should be copied to the Postal Street, the Physical Suburb copied to the Postal Suburb, the Physical Country copied to the Postal Country and the Physical Postcode copied to the Postal Postcode.


Conversely, when I click No on the Postal Address Same As Physical, the Postal Street should be cleared, the Postal Suburb cleared, the Postal Country cleared and the Physical Postcode cleared.