Skip to Content
Former Member
Aug 12, 2015 at 05:52 AM

Conditionally display Border for table row



I have created an interactive form which I am sending to user as email attachment. This form is fillable and created with PDF Version 1.7 (Acrobat 8.x). I have set "Acrobat and Adobe Reader 8.0 or Later" as Target version in Form properties. User has Adobe version 11.0.11 installed on his machine.

This form has timesheet records for users and each user may have single or multiple records. My form element Hierarchy contains BodyPage -> SubForm -> Output Table -> DATA -> Fields. My requirement is to show the border for Row when there is new user. I have set border for "DATA" element as Solid border and it appears for all records with this setting. I inserted the JavaScript code in Ready:Layout event of "DATA" which looks as below -

if ( this.resolveNode("fieldname").rawValue != null )

{this.border.presence = "visible;}

else {this.border.presence = "invisible";}

Here fieldname contains user name and in case of multiple records for the same user, I am clearing value in the internal table for all records except first record. This works fine when I check the result in Preview PDF and Border for table row appears only when it is first record for the user. However when I execute program and send pdf as attachment and when we open it through email; there are no borders. There is also no error file generated.

Kindly provide your suggestions.



Recent program execution also generated the error file for Adobe. It shows rendering issue. Any idea what steps should be taken to resolve it ? Message was edited by: Nishad Koli


Screenshots.JPG (67.8 kB)