These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

edit text field, move start point

tango_1000
Registered: Oct 13 2011
Posts: 7
Answered

i have a small field with multiple line
will be something like
 
Specified:____________
______________________
______________________
______________________
 
so i need the text on the first line to start after the "specified" and then go to the beginning on the second line and so on
any help will be apreciatted

My Product Information:
Acrobat Pro 10.0.1, Windows
maxwyss
Registered: Jul 25 2006
Posts: 255
There are several ways to deal with this issue.

First and foremost, if you fill out the form on screen the "writing lines" are not needed. However, when you fill it out after printing a blank form, they are.

One way to deal with this is therefore to place the writing line far enough below the base line of the label ("Specified") that it can be covered by a text field, without obstructing the label. Then you set the text field to multiline and set the background color to "white". In the format event of that field, you then add the following script:

if (event.value.toString().length > 0) {
event.target.fillColor = color.white ;
} else {
event.target.fillColor = color.transparent ;
}

Now, when the field is blank, the lines are visible, otherwise, they are not.


The other possibility is to include the "Specified: " text into the field's value. To begin with, set "Specified: " as the default value of the field, which is now covering the whole area available. In the Format event, you will then add the "Specified: " text in front of the event.value. And that gives the same effect. If you want to keep the writing lines, for the blank form, combine this with the code above.

Hope this can help.

Max Wyss.

tango_1000
Registered: Oct 13 2011
Posts: 7
thanks for the answer max
but still it dosent work for me,i dont see the option of "format event" that you mention, on the format tab i have "non, niumber, porcentage,date, time, special, custom
i did type the word "specify:" and at some point it showed in the field but it didnt start there, at the end of it, but it did at the bigining
in the validate tab on the properties give me some chances of "field value is not validated"
i would like to thanks you in advance for you help
marcelo goldin
maxwyss
Registered: Jul 25 2006
Posts: 255
You were pretty close. Select "custom", and you get a different view in the dialog, allowing you to enter the scripts for the Keystroke and the Format event.

Hope this can help.

Max Wyss.

tango_1000
Registered: Oct 13 2011
Posts: 7
hi max, sorry, it didnt work, i like to say that i consider myself very smart about computers, i always find it, whatever the it will be, but this is making me crazy. im trying to do this for my son, is in a internship for his study for social work, so it is not for any profit for me, i was thinking if will be ok with you if i send you a pdf of the famous field and you could do it so i will go in the properties and see how you did it
this is a form of about 6 pages microsoft word that i pdf them, there is many questions eventually ask to parents, many of them are boxes, so that will go easy and quick,i thanks you in advance
the file it self is 26k pdf
marcelo
maxwyss
Registered: Jul 25 2006
Posts: 255
Accepted Answer
Contact me in private; display my profile and you should see a tab "Contact", which opens an e-mail window. That message should reach me, and we can establish the communication.

tango_1000
Registered: Oct 13 2011
Posts: 7
im using livecycle for this forms and it have the tools i needed
all your answers were very helpful
thanks everyone for your help