Capture field contents by name
I have a number of fields called week 1 notes , week 2 notes etc , on a layout which are also labelled in the same manner. I am trying to write a script such that if I specify week 7, then the contents of week 7 are returned a global variable.
I enclose a couple of screenshots. The first one shows my script