Skip navigation
Capt.RedJack
Currently Being Moderated

Resize form text box to fit entered text

Jun 12, 2012 3:27 PM

Tags: #text #field #javascript #form #acrobat_x

Need a way of creating a form text box that will fit the user entered text. 1. User will enter a text from 1 to 7 char. long. and a font from 4 or 5 choices.  2. Using javascript, a new form text box will be created that is wide enough to fit the entered text. 3. Logos will be placed before and after new text box with little space between chars and logos. Given that the length, font and proportional spacing can change, I need a way to calculate the width of the text.  Thanks for any and all help

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points