For anyone too lazy to type this out (like I was), use the prompt below and change your instructional value. I have mine as "First and Last name" if (!event.value) { event.value = "First and Last Name" ; event.target.textcolor = color.ltGray; event.target.display = display.noPrint; } else { event.target.textColor = color.black; event.target.display = display.visible; }
Hello, I'm following your channel and all video from the last year. I got lots of help watching your videos. I have a request, please make a new series/playlist for "Learning PDF Form JavaScript from beginner to advanced" or ""Learning PDF Form JavaScript from Zero to Hero". I hope it will help massive people. Because such kind of content is not so much available. Especially for beginners. Thank you so much👍🙂🙏
@@pdfform I am using Adobe Acrobat Pro, newest version, on the above stated macOS and it does not work. I sent the file to someone on Windows and it works for windows, but not for Mac.
@@pdfform if (!event.value) { event.value = "Month Day, Year"; event.target.textColor = color.ltGray; event.target.display = display.noPrint; } else { event.target.textColor = color.black; event.target.display = display.visible; } Edited to reformat properly. The text appears, disappears on focus, but never changes from gray to black. This is using the latest Adobe Acrobat DC Pro 2022.001.20085 and Preview Version 11.0 (1033.3) on Mac. Thanks in advance!