Calculated Field that return two values
-
Good afternoon,
I would like to know if it is possible, in a calculated field, which has a function that returns two values eg:
(function () { var info = {}; switch(fieldname21){ case 1: info.price = 10; info.txt = 'A'; break; case 2: info.price = 20; info.txt = 'B'; break; case 3: info.price = 30; info.txt = 'C'; break; default: info.price = 0; info.txt = 'no selection'; break; } return info['price'] + info['txt']; })();Isolate each of these values (price and txt) in another calculated field.
Best Regards.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Calculated Field that return two values’ is closed to new replies.