Expand my Community achievements bar.

Adobe Reader/Acrobat hangs if single apostrophe is used incorrectly in format picture value statemen

Avatar

Level 8

I am using the following Adobe Software and versions:

Also, see the attached test file.

If you try to open this file in Adobe Acrobat/Reader, it will hang.

But, if you change the script on the text field on the form ready event, to be as follows:

var theDftValue =

'This sub-section will provide rational for country and sector'+

"Support and relevance of the Bank''s intervention-in-line with Country "+

"and sector analysis and major conclusions drawn in the above sections"


this.format.picture.value = "null{'" + theDftValue  + "'}";

Then it will work as expected.

It took me several hours to find the source of the problem, so I am reporting hopefully it will be taken care of such in a future update.

Click here to open the test file:

https://docs.google.com/open?id=0B97clwYte2SHZElkSm1wcjNldGc

(Note: from Google Drive, you have to take option File/Download to open the file locally.)

Tarek.

0 Replies