Hi,
I have six custom fields to get the total of six pairs of other fields. So, the logic is same to get the total. So I want to write the condition where
- if the script is running inside a scripted field with name 'Total Field X', get the total of respective fields belonging to X
- if the script is running inside a scripted field with name 'Total Field Y', get the total of respective fields belonging to Y
- This will help me to maintain one script and load the same in six different fields
For this, inside the script I need to get the name of the (self) field where the script is running, like 'self name'
I tried searching through posts but mostly I found to get by already known name.
Can anyone help me with this please?
Thanks in advance
regards
ramki