Hi,
Here is an example: https://acrobat.com/#d=hLhn-RXP6B25gY*zz2ykLQ
If you set the following script in the change event of the dropdown:
var vName = this.name.toString();
if (xfa.event.newText == "Apples")
{
xfa.resolveNode(vName + ".ui.choiceList").textEntry = "1";
}
else
{
xfa.resolveNode(vName + ".ui.choiceList").textEntry = "0";
}
You will be able to edit the "Apples" selection.
Hope that helps,
Niall