In this video, Neil Malek demonstrates how to use a little JavaScript code in Acrobat Pro to create default 'helper text' in a form, then clear the helper text out when you click in the text box.
The code used in this video is:
if(event.target.value==event.target.defaultValue) event.target.value="";
(if the current value of the text box is still set to its default value when you click, set the value to blank)
Негізгі бет PDFs: Use JavaScript to Clear Default Text
Пікірлер: 21