Answers / Create and analyze forms
I'm producing volunteer job posters for a charity where they can fill in the title, job details, and contact info. The titles range from 'Dog walker' to 'Volunteer recruitment ambassador', and I'd like the text entered in this box to expand/contract to fill the space available.'Auto' in text size only seems to work if there's too much text, rather than not enough!
Martin Cox 791 days ago
It's possible to write a script that changes the size of the text based on its length, but to be honest I don't think that's a very good solution. When you resize the text, it can quickly become too big for the field height.
Are you sure this is a necesary thing? If you can live without it, I would suggesting doing so.
-------------------------------------Visit my custom-made PDF scripts website: http://try67.blogspot.comContact me personally: email@example.com
Thanks for that. It's definitely necessary - there are 40+ possible job titles of different lengths that will occur. I've created a smll and large version but it still looks clunky.
Martin Cox Commented 791 days ago | Report
Why not use a drop-down instead of a free text field?
Gilad D (try67) Commented 791 days ago | Report
… because they will print these out on A4 to display in stores/centres around the country as needed
You can set the drop-down to be visible only on the screen, and use a text box to show the value selected in it when printing, if that's your concern. See here: http://answers.acrobatusers.com/ViewQuestion.aspx?questionId=26634
Is that job description part of a phrase (as in a "fill the blank" text?If the variable length of the job description can be handled on design/layout level, it would definitely be easier to accomplish.If it is part of a phrase, it depends on the lenght of the phrase; it may actually end up in a way that by recreating the text of the paragraph (in a multiline field), there would be no need for additional lines (in other words, that the last line can cope with the run-length difference of the various job descriptions. Anyway, in this case, you have non-printing fields where the user enters or selects the job description, and you assemble the text and write it to the "actual" field (which may be read-only).Hope this can help.Max Wyss.
Ok, I checked this out and there are at least two ways to dynamically autosize an AcroForm text field to fit the typed in text. Both are "not simple) scrpting tasks. 1. Add the text size to the box height on fieldFull. Use a second field with a focus bounce back to force the new text box size. The method requries saving the missed text and a state variable.2. Set the text field to scroll, then on commit, determine the actual text height and width using text displayed on a line annotation.
Acrobat XI trial
Get the trial now
With Adobe Reader 11 I am unable to print any PDFs from both printers. Other documents ar...
Asked by Chris Southwick · 1 answer
No anti-aliasing in JPEGs saved from PDF
Asked by Andreas Rauth · 1 answer
What is the difference between Sign Document and Place Signature? What are their purposes ...
Asked by Janine Moreno · no replies
How to create an index to be able to click and go to the page from index
Asked by Urina Adams · 1 answer
Asked by Kirk Organ · no replies
I have Acrobat 9 (standard). When I try to combine files I get "Missing PDFMaker Files"
Asked by Elizabeth Dilly · 3 answers
Last 30 Days
The Acrobat User Community is where you can connect with Acrobat and Adobe Document Services peers and experts. If you use Acrobat, Reader, FormsCentral or EchoSign, you'll want to take advantage of the many free community resources like tutorials, tips, and Q&A to learn more about Acrobat and document services.