Thank you, I am completely novice to JS and front end development in general; so please bear with me for very fundamental questions.
Do I need to replace InsertRecordfield_1 with my calculated field name such as Virtual 1 or Virtual2? Or are there specific ids for the value placeholders that I need to use?
// here you may define the list of the selectors to choose calculated fields you may use in condition
let elementsSelectors = ['span[id^="InsertRecordfield_1"]', 'span[id^="InsertRecordfield_2"]', 'span[id^="InsertRecordfield_3"]'];