Skip to main content
Participant
July 10, 2021
Answered

Embed textbox for Publishing Online

  • July 10, 2021
  • 3 replies
  • 214 views

Hi there,

 

I'm trying to make a visual identity guide for a student project and am new to InDesign.  I'd like to create a textbox with a pre-selected font so that the user can type in the text they want and see what the font looks like. Similar to this Starbucks guide but much simpler (I only want one typeface from the font family and only one size).

 

I know Form functions don't work for publishing online so that is not an option.  I also have animations on all the pages so saving it as an Interactive PDF won't work either. Please let me know if this is something can be done and if so, how to do it.  Thanks!

This topic has been closed for replies.
Correct answer User358713

The link Derek submitted gave me an idea so I tried embeding a textbox using HTML and that seemed to have worked.  It took some time to fit how I wanted but I eventually got it.  What I did:

 

Object > Insert HTML...

Pasted the following code:

<textarea name="text" cols="18" rows="4" style="font-size: 20pt; font-family:Rounds Black; color:#6CB741">

Sample

</textarea>

Hit enter and voila, an editable textbox.  For some reason, backspace doesn't work and some letters (JQXZ) aren't in the right font even though the font definitely has those letters.  But I'm off to a good start

3 replies

User358713AuthorCorrect answer
Participant
July 10, 2021

The link Derek submitted gave me an idea so I tried embeding a textbox using HTML and that seemed to have worked.  It took some time to fit how I wanted but I eventually got it.  What I did:

 

Object > Insert HTML...

Pasted the following code:

<textarea name="text" cols="18" rows="4" style="font-size: 20pt; font-family:Rounds Black; color:#6CB741">

Sample

</textarea>

Hit enter and voila, an editable textbox.  For some reason, backspace doesn't work and some letters (JQXZ) aren't in the right font even though the font definitely has those letters.  But I'm off to a good start

Derek Cross
Community Expert
Community Expert
July 10, 2021
Community Expert
July 10, 2021

You're trying to make a publish online document that is supposed to be static or basic animations to behave like a website. 

 

InDesign is not a website builder. 

You might be able to do something with https://ajarproductions.com/pages/products/in5/?ref=footer

 

But there are limitations to publish online. 

 

If it can be done - I'd love to see it - but cannot think of a way at the moment.