TAX_TYPE_W9-5.pdf (121.8 KB)
Attached is the prepopulated file. In this case, the “Limited Liability Company” checkbox will be checked when loaded into Reader but not when loaded into Acrobat.
Code snippets are fairly simple fillField call …
static boolean populateCheckbox(FormWeb form, String optionFieldName) {
boolean result=false;
if (form.getField(optionFieldName) != null) {
result=true;
form.fillField(optionFieldName, result);
}
return result;
}
called from a code snippet that fills both the checkbox and the text box (text box works)
if (populateCheckbox(form, TaxFileGenerationMapping.W9_LIMITEDLIABILITY)) {
form.fillField(TaxFileGenerationMapping.W9_LLCTYPE,"C");
}
and in case you need this …
//tax classification LLC
public static final String W9_LIMITEDLIABILITY = "topmostSubform[0].Page1[0].FederalClassification[0].c1_1[5]";
Thanks for any help that you can give …