Custom Keystroke Code is not work on pdf form when using Google Chrome
I created a form in Adobe Acrobat Pro that uses the code below. It works great when the form is open in Adobe but when users open the form in Chrome it does not work.
var Itemlist = this.getField("Sub-Phase_Description1");
if(event.willCommit)
{
switch(event.value){
case "ARC":
Itemlist.setItems(["Architecture"]);
break;
case "CIV":
Itemlist.setItems(["Civil Engineering"]);
break;
case "CON":
Itemlist.setItems(["Construction Services"]);
break;
case "DIG":
Itemlist.setItems(["Digital Solutions"]);
break;
case "ELE":
Itemlist.setItems(["Electrical Engineering"]);
break;
case "MEC":
Itemlist.setItems(["Mechanical Engineering"]);
break;
case "STR":
Itemlist.setItems(["Structural Engineering"]);
break;
case "SUR":
Itemlist.setItems(["Land Surveying"]);
break;
default:
Itemlist.setItems([""]);
break;
}
}
