Copy link to clipboard
Copied
I am creating an interactive PDF form in InDesign and would like the text box to have instructions that are then overwritten. The text box should read [Instert Name of Training/Requirement]. Then when the user fills out the form this text will be overwritten with the correct information. I have a text box, with this text in it. It is set to a text button with the basic defaults. When I export to PDF the text box is blanc. I don't want to have these instructions remain on the form, and I don't want them to only appear on roll over or click.
Is there a way this can be done?
Latest version of InDesign.
Thanks
You cannot do it with InDesign but it's easy to do with Acrobat Pro, you just have to copy-paste 2x2 lines of JavaScript.
See this topic: https://community.adobe.com/t5/acrobat/show-default-value-in-text-field-until-user-inputs-data/m-p/10003538?page=1#M111304
Copy link to clipboard
Copied
That has never been possible with interactive PDF. Sounds like you need an HTML form which could be programmed with JavaScript perhaps?
Copy link to clipboard
Copied
Thanks for the reply. I will look for alternatives. Probably redesign the form.
Copy link to clipboard
Copied
I cannot believe this. I myself am looking for the same simple feature. You can even use such a feature/ function in MS Word 2010!! Having a normal text/ form field with a kind of place holder text, that will disappear when filling the form field.
I'm pretty sure that this standard function is possible in a way. (If really not the may be an add-on with that help we can archieve this function).
Copy link to clipboard
Copied
Copy link to clipboard
Copied
This placeholder mehtod does not work when the text boxes are set to be interactive in InDesign. I tried what you suggesteed and the only option I get is to paste something in the box. I am gussing what you are stating is for non-interactive text boxes, or when a form is created strictly in Acrobat?
Copy link to clipboard
Copied
It's possible, you just have to search for the ''Edit form'' tool and when you have that selected you will be able to see the ''Properties'' in the dropdown. After that you can edit the default value in the options. I did this with interactive text boxes I originally created in InDesign and it works!
Copy link to clipboard
Copied
As Steve says, it cannot be done natively in InDesign.
However, with FormMaker (https://www.id-extras.com/products/formmaker/) you can add default text, and add a little script to make it disappear when the user types, all in InDesign.
For short forms, the free edition of FormMaker could work.
Copy link to clipboard
Copied
Thanks for the hint. I'll give it a try and have a look if it works for my purposes.
But to be honest: This function is one of the most standard one when talking about forms - and InDesign doesn't have this feature? How long claims InDesign himself as market leader? Can't believe this.. or better: I don't won't to believe that Indesign is that kind of oldschool... but seems like this..
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Actually this is about InDesign. The orginal post was asking about how to do this in InDesing to get it to show up in a PDF. If you have to design it in InDesign and then do more to it in Acrobat, what is the point of InDesign?
As for my portion, the original poster, I am satisfied with the answer "It can't be done" and have redesigned my form so it works fine now. Well, maybe not fine, but it works.
Copy link to clipboard
Copied
This seems to be nice add-on, but I read that I have to have it installed to be able to see the "placeholder text" (after opening the pdf I have to activate this add-on to use it). But most people won't have it installed...
Copy link to clipboard
Copied
Copy link to clipboard
Copied
You cannot do it with InDesign but it's easy to do with Acrobat Pro, you just have to copy-paste 2x2 lines of JavaScript.
See this topic: https://community.adobe.com/t5/acrobat/show-default-value-in-text-field-until-user-inputs-data/m-p/1...
Copy link to clipboard
Copied
I've just been making the interactive boxes and then adding the text to be overwritten to the PDF.
Copy link to clipboard
Copied
You can download the PDF here: https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:c01afee1-edb2-4e40-8778-51905941627c