How to have layout compare two different fields
I have a layout with a portal that contains data for fields from different dates consisting of, Weight, Chest, Waist, Hips, Arms and Thighs.
I want to be able to have a script run to compare these fields on another layout. I would like to be able to choose between 2 different dates and have those data appear in the Link 1 picture down below. I have been struggling with this for the longest time. Please any help would be appreciated.