Field1:
Field2:

A function is triggered when the button is clicked. The function copies the text from Field1 into Field2, and also changes the background colour