We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
I have a dropdown with multiple choices, and each choice has its own value text used to calculate an answer in another field, but I need to return the display text in a different field. Can anyone help, please?
Hope this information will help
The event.value property, accessed in the drop-down's own Validation event, will return the display value of the selected item.
As custom calculation script of field where you want to show display text use this and rename dropdown field name to your actual field name:
var f = this.getField("Dropdown1");
var a = f.currentValueIndices;
var x = f.getItemAt(a, false);
event.value = x;
You are now my most favorite person on the planet! It is exactly what I was looking for, Thank You so much and I hope you have a wonderful day!