Auto remove highlighted fields


This week when working at NL for Business I was creating some PDF documents with Adobe Form Designer for a demo.

I noticed that when I had some required fields they instantly turned red and had a blue highlighting.

Like so:

pdf_highlights

I really really did not like this. So I searched the net and found a way to remove this

When you put this into your code (at a point that the the form is ready)

   1:   
   2:  if (app.runtimeHighlight == true) 
   3:  { 
   4:  app.runtimeHighlight = false; 
   5:  }

The highlighting is gone !

Wowow !!!

pdf_remove_highlights

If the person using the form presses a button, they just light up like they are suppose to do.

Off course when you press the highlight button in Acrobat, they will also light up.

Theo van der Sluijs

Theo van der Sluijs (1975) is Software Development Manager at Bax-shop.nl. You can read more in dutch on his “Dutch Blog“, he also created Gebruikmaar.nl. He is a member of the Board of the Dutch Flex Usergroup and Goesweb.net.

Google+ Twitter LinkedIn 



VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: +2 (from 2 votes)

Related Posts

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes