Hi there,
I am trying to build a form that will handle three successive dependent drop-down menus. I have this working as both a static and interactive PDF in Adobe Reader. However, I need to ensure there integration with tablets and smart phones via the Readdle PDF Expert app.
According to Readdle's website, this is the limit of their APIs: https://helpspot.readdle.com/en/index.php?pg=kb.page&id=465
This code fails with PDF Expert. Is there a way of achieving the same result with PDF Expert's API?
FIRST DROPDOWN:
form1.#subform[0].productGroup::exit - (JavaScript, client)
productRange.clearItems();
productFields.clearItems();
switch(this.formattedValue) {
case "Bath panels":
productRange.addItem("Aspen");
productRange.addItem("Contemporary");
productRange.addItem("Evolution");
break;
case "Cabinets":
productRange.addItem("Contemporary cabinets");
productRange.addItem("Sensory");
break;
case "Mirrors":
productRange.addItem("Clarity");
productRange.addItem("Source");
break;
}
SECOND DROPDOWN:
form1.#subform[0].productRange::exit - (JavaScript, client)
productFields.clearItems();
switch(this.formattedValue) {
case "Aspen":
productFields.addItem("White");
break;
case "Contemporary":
productFields.addItem("Beech");
productFields.addItem("Walnut");
productFields.addItem("Oak");
break;
case "Evolution":
productFields.addItem("White");
break;
case "Contemporary cabinets":
productFields.addItem("Aluminium");
productFields.addItem("Walnut");
productFields.addItem("White");
break;
case "Sensory":
productFields.addItem("Oak");
productFields.addItem("Walnut");
productFields.addItem("White");
productFields.addItem("Glass");
break;
case "Clarity":
productFields.addItem("Silver");
productFields.addItem("Glass");
break;
case "Source":
productFields.addItem("Glass");
productFields.addItem("Unclassified");
break;
}
Any help would be much appreciated!
Thanks,
Rob.