I created a form in AdobeLivecycle Designer ES 8.1. Now on bottom of this form there is a print, save and clear button, when the print or save button is click a validation that i have written on the click event of the button runs. NOTE (I HAVE NOT USED user required on the fields). This validation checks if certain fields have been selected or has information in them. If the validation returns false a message is displayed to tell the user to enter the required information, the field highlighted and the save or print action cancelled. Now this works fine when tested in the livecycle and the full adobe acrobat professional 8 environment; however when it is tested on a machine that only has the adobe reader the message is displayed but the fields are not highlighted. I have enabled the form for usage in Adobe Reader and it still doesnt highlight the form?
Below is the code used to do this:
if (form1.txtpartallottaddr2.rawValue == null)
{
xfa.resolveNode(" form1.#subform[3].txtpartallottaddr2.ui.#textEdit.border.edge").stroke = "lowered";
xfa.resolveNode(" form1.#subform[3].txtpartallottaddr2.ui.#textEdit.border.fill.color").value = "253,128,128";
status = 0;
}
Remember this works fine in the adobe acrobat environment (full version installed) but in an environment when there is only adobe reader this does not trigger. Can someone kindly assist me ad I have a deadline to meet to solve this issue?