Copy link to clipboard
Copied
Hello
I have designed and generated my PDF from Adobe Acrobat XI Pro.My PDF javascripts works fine in Desktop with Adobe Reader and also in IOS with PDFExpert.But Acroform javascript is not working in Android Mobile or Tablet.I am using below script to load a Dropdown field by splitting values from a text field "EXPENSESTYPE" and setting those items into Dropdown "ExpensesTypeUDL" using below Script in I have put this in Document Javascript section and i have tried this in Form load to but nothing works in Android.
Expenses type has value ="Labor:OT:Admin:Travel:Miles:Airfare:Lodging:Car Rental"
Script is :
if (this.getField("EXPENSESTYPE").value!="")
{
var mySplitResult = this.getField("EXPENSESTYPE").value.split(":");
var expUDL = this.getField("ExpensesTypeUDL");
expUDL.clearItems();
expUDL.setItems(mySplitResult);
}
Could you please give some idea ? how can i make it work on Android devices for Mobile or Tablet.
Thanks and Regards
Mayank Kashyap
Gold CRM Consulting
Copy link to clipboard
Copied
Hi Mayank_Gcrm,
Please visit the following link which discuses the same topic:
Javascript in forms is not supported in the new Acrobat DC... why!?
Let me know if you have further questions.
Thank You,
Shivam
Copy link to clipboard
Copied
Hi Mayank_Gcrm,
Please visit the following link which discuses the same topic:
Javascript in forms is not supported in the new Acrobat DC... why!?
Let me know if you have further questions.
Thank You,
Shivam