Skip to main content
Participating Frequently
February 10, 2020
Answered

Add an interactive text box with instructions to be overwritten

  • February 10, 2020
  • 5 replies
  • 15496 views

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

Correct answer JR Boulay

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

5 replies

JR Boulay
Adobe Expert
November 25, 2020
Acrobate du PDF, InDesigner et Photoshopographe
paulc32409537
New Participant
November 24, 2020

I've just been making the interactive boxes and then adding the text to be overwritten to the PDF.

JR Boulay
JR BoulayCorrect answer
Adobe Expert
February 10, 2020

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

Acrobate du PDF, InDesigner et Photoshopographe
TᴀW
Brainiac
February 10, 2020

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.

New Participant
February 10, 2020

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..

BobLevine
Adobe Expert
February 10, 2020
This is not about InDesign...it's about PDF.
Steve Werner
Adobe Expert
February 10, 2020

That has never been possible with interactive PDF. Sounds like you need an HTML form which could be programmed with JavaScript perhaps?

Participating Frequently
February 10, 2020

Thanks for the reply. I will look for alternatives. Probably redesign the form.