Get Field name of button when clicked
I have a field formatted as a button. How can I get the field name for a script, when the button is clicked?
(The reason for doing this, is that I have 24 similar fields on a layout and would like to create a single script that can be applied to all of these fields. When clicked the script should get the field's name, so that the rest of the script is applied to the correct field)