Masking printed lines in a multiline text field?

I am designing a form using Adobe Acrobat XI. This form is designed to be multi use. It can be printed and completed by hand or it can be filled electronically.

When the user chooses to complete the form electronically, entering into a multiline text field, I want to hide the printed lines. After leaving the field, I want the lines will still be hidden if any text has been entered in the field. I know that this can be accomplished by using a script in the Action of the box text field properties window, but I can't find the correct script and triggers. Any help is very appreciated.

Here is the solution:

In the onFocus event, you add this line of code:

event.target.fillColor = color.white;

and in the onBlur event, you add this line of code:

If (event.value.toString () .length< 1)="">

event.target.fillColor = color.transparent;

}

The script of the onBlur event is required to set back field transparent background when you tab through an empty field; When you tab through a field, the Format event will not occur.

Tags: Acrobat

Similar Questions

  • Extended CRM multiline text fields do not allow any line on the back-end breaks

    I added a multiline text field to a form of extended CRM and tie it to the Contact entity. When I login to the Admin and trying to change this field in the customer record, it does not line breaks. Pressing enter (or SHIFT-ENTER) while in the multi-line text box, saves the record. It takes me not to the next line in the text box, which is what I want.

    Hello

    At this stage in order to add a line break in a multiline text field, you will need to use either
    or
    to do so. Previously, it was possible to press on enter, but this feature has been removed awhile back months to increase safety, specifically related to possible vulnerabilities on cross site scripting.

    Kind regards

    -Sidney

  • Why a form in InDesign CC 2014 multiline text field wraps not the text in the exported PDF file?

    I created a form in InDesign CC 2014. The form fields are text with a font size of 12 point and multiline text attribute. I export to PDF interactive form. Open the PDF file in Acrobat XI. When I type in the form field, the text is centered vertically in the form field and wraps around, when I type a value in addition to a line of words in the field.

    I would like that text to start at the top of the field and fill down. Also, I would automatically wrap it around the input text.

    Any advice?

    Delete any point in the name field.

    There is a problem like that if there is a point understanding between the words or numbers in the name of the text box in the button panel.

  • Multiline text field, not packing in PDF format

    Hello

    I work in InDesign CS6 and I have a text field where users can take notes at the bottom of each page on the master page. I have the right properties defined in the dialog buttons (see below). However, when a user enters text, the text is not wrapping (see image 2), it shows just as a long line of text. If I go to the PDF file and select the text box and choose multiline, it works, but I don't want to have to do this on each page of each document. Is there something I'm missing when creating the PDF file or set up initially in InDesign?

    Button properties.PNGNot scrolling.PNG

    The pages Panel, select all the pages containing a button text field then of flyout arrow select replace all elements of the master page. Hope this can help.

  • Can someone help me with the properties of the multiline text field?

    Adobe is not my first or second language. I have been responsible for making a form to fill out and were able to understand a little after reading the Adobe Acrobat Bible, most, however, I just can't understand this little thing that's driving me crazy! I created a large default text field (so the person filling out the form to the management a little) this field is also defined as a multiline and also make field scroll long text. The problem is that the default text is highlighted not crept to crush then tab through the various areas of creation. He puts just the cursor at the end of the text by default so using back or manually select and delete text. I looked at how to set up the rest of the fields and the only thing different, I selected the multiline text box in the Properties menu. I need to be multiline text. If this is not the case, only the first words of the default paragraph I entered couple is visible. Any suggestions or ideas would be a step ahead of where I am now. Thanks in advance.

    Yesterday, we discussed a similar situation and the solution should work for you too: http://forums.adobe.com/thread/756410?tstart=0

    What you do is create a Format script that displays the text that you want, when the field is empty, but this text is not the value of the field. The modified script below prevents printing explanatory text if the field is empty.

  • Continuous text moves horizontally rather than start a new line in the editable text field

    I'm doing a diet backbox for visitors on my site. I did the field bar and editable text scroll and set my preferences, but when typing reached the border on the right side of the text field it just keeps typing more horizontally. I can start a new line by pressing on enter, but I want to start a new line on its own when it reaches the limit. Any help is appreciated.

    assign the wordWrap property of your true textfield.

  • Multiline text field where does not align data entry

    I ran into this many times and I have not be able to find a solution. I work with an existing paper form that has a descriptive text on the left that partially fills a line. At the end of the sentence, the line is half-filled and the entrance area starts immediately thereafter. The continuous form then allow text entry, but now line 2 is entirely justified to the left. Here is an attempt of a Visual:

    Tell us a lot about yourself: _

    ________________________________________________

    ________________________________________________

    If I put a large box on all three lines that is framed on the left, then the seizure highlighted area covers the text of the question, and the values that are entered in the box to write on top of the text.

    If I put the box on the right, any input is limited and seems weird when printing.

    I have always just made two text boxes. A short and the other who will the width and the text wrapping. I hate to run, but I wanted to make sure that my question has been understood. Thanks for the ideas you have there

    It is the only possible solution.

  • Text fields with line breaks appear only the text before the first break

    I have a multiline text field in a Flash format that accepts free-form text (which means that the user can press the back key to put space between paragraphs). When this text field is printed in a PDF report, the text after the first declaration of entries by the user is cut off. The field in the report is set to: float, stretch with overflow and print when detail overflows, among others.

    I tried to set the field in the report to ParagraphFormat (query.foo) - and in this case it prints on the rest of the text, but it does not insert spaces appropriate between the lines. If anyone knows a way to get all of the text to be printed with the appropriate spacing to return, your help would be appreciated.

    I am running 7.02.

    Thank you!

    I found the solution to my problem. Looks like how Flash interprets a carriage return is different from an HTML form. He has worked on the ground in the CFR.

    #Replace (query.foo, Chr (13), Chr (10), "ALL") #.

  • LiveCycle ES2 - text field empty multiple lines deleting data entry for clients

    Hello

    I use a Java Script to add several lines to an empty text field.  If the customer type in the text field replaces the lines.  If the client prints only the form, they remain the lines.  The problem I have is if the customer type in the domain and must then go back and change the text, as long as they tab or click on the text field in the because the text disappears.

    I didn't write that code, and I don't know how to get back in touch with the person who did it.

    DRF1. SubForm.field_name::Initialize - (JavaScript, client)

    this.rawValue = "\n________________________________\n\n________________________________\n\n______________ __________________\n\n________________________________\n";

    DRF1. SubForm.field_name::Enter - (JavaScript, client)

    this.rawValue = null;

    DRF1. SubForm.field_name::Exit - (JavaScript, client)

    If (this.) RawValue is nothing)

    {

    this.rawValue = "\n________________________________\n\n________________________________\n\n______________ __________________\n\n________________________________\n";

    } else {}

    I guess I need to change the value "enter", but I'm not sure how to edit.  Your help is greatly appreciated!  I'm not a programmer.

    Hello

    I think you might be better with another approach, with this approach, the user will have the same trouble if they save the form and open later.

    Try to change the initialization script

    
    this.format.picture.value
    = "null{________________________________\r\n________________________________\r\n________________________________\r\n________________________________}";
    

    You will then be able to completely remove the code entry and exit events.

    The above code sets the display null model, which means that it will appear only if the field has no value.  Normally, you can enter this in the model display dialog box but that you cannot enter return carridge/newline characters.

    Concerning

    Bruce

  • Limit of characters in the text field (multiline). Is this true or am I dreaming?

    Hello

    I use the plugin CKEDITOR with my text entries and when dough stylized text, attributes, and other things like customers are created by increasing the number of characters in textarea html sense cannot be complete if we limit characters in the article multiline text field web app.

    A lot of pages break when the web application retrieves these fields in the details of page layout view, because html is not complete in the text field.

    Then text field for Web (Multiline) application has the limit of characters, or maybe I am doing something wrong?

    What it takes to get rid of this limit?

    Thank you

    Hi Ray,

    Please refer to this thread below the limit of characters for the two text (string and multiline) at this stage.

    - http://forums.adobe.com/message/4342388

    Kind regards

    -Sidney

  • Police gets smaller in text fields

    The police in the text field gets very little if I type too.

    How can I make the size of the font to remain consistent.    I have a text field for the city and I often have to type in Jacksonville.   The police is very low for long words.

    Hello

    The size of the text if auto size if the signatory is trying to enter text more than the length of the assigned text field. You can adjust the length of appropriate size text field, or you can do by double-clicking on the multiline text field and check "multiline".

    -Usman

  • mouseWithin a text field

    Hi guys, is there a method to return the line number of a text field that the mouse is on?

    I tried many scripts, but not the right one... Thanks r

    See pointToLine()

    --
    Mark A. Boyd
    Keep-on-Learnine :-)

  • How can I get several lines to be printed for a blank text field so that it can be filled by hand?

    I have to create forms that are to be completed by hand and by electronic means.  The problem that I am running provides several lines that will be printed for the people who are the form of fill by hand.  I tried to add an image of lines behind the text field, but these would have got in the way when the form has been completed electronically.

    I use LiveCycle Designer ES2 v. 9.0 on a Windows computer.

    Thank you.

    Ok.

    1. Take a textfield
    2. Navigate to the object. Allow multiple lines
    3. Go to the Layout | Height | activate "develop to adapt."
    4. Go to initialize or readyform event (you must change the _ for your textfield) this.rawValue = "___\n___\n___";
    5. Go to the event, enter - this.rawValue = null;
    6. Go to the exit event

    If (this.) RawValue is nothing)

    {

    this.rawValue = "___\n___\n___";

    } else {}

    With this solution you can simulate the same reason above.

    I hope it's useful for you,

    Mandy

  • How do you multiline text in a continuous form between the lines without scaling of the text?

    Help. How do you multiline text in a continuous form between the lines without scaling of the text?

    I tried to put each line of the form for amounts of specificity so that it ends at some point and does not change the text size to fit on the line but different key characters have different widths, so you do not get a length of the same line.

    I tried to remove the long text scrolling, but it changed nothing.

    I can create a text box great to fill out and have this scrolling of additional lines, but then I get too much information from people and I would need to clarify the lines behind the answer multi line text, or delete the lines...

    Is there a better solution?

    I usually just remove the lines and set the field "Does not scroll long text" so that all the text is visible. Including the lines is really only useful if the form may be printed and completed by hand, in which case you can use scripts as in this example is: http://acroscript.net/pdf/demos/multiLine_Demo1.pdf

    It works as expected in Acrobat/Reader, but not in Chrome and other PDF viewers who have little or no support for JavaScript. It uses scripts customized to validate on Focus and blur.

  • How to return to the line in the text field

    I created a form with a text field, but by filling out the form, the words don't word wrap, but just go in a single line across the field to text box.

    When can I format the text box for the return to the line?

    TKS

    Under the Options tab of the Properties dialog box, you can set the Multiline field.

Maybe you are looking for

  • USB device driver

    I deleted Apple Mobile Device USB driver on my Windows 10 machine with the intention to reinstall. How can I find the installation package for the Apple Mobile device driver? Thank you Dave in STL

  • I have an airport time capsule that was related to my router / modem.  I changed my router for a better.

    I upgraded my router (modem).  Now my wifi has a different name and different password.  What should I do to ensure that my Airport time capsule is always related to the router - even if it always shows the green light.  How will I know if the airpor

  • Front Panel does not (exactly 2 even while in flat sequence loop)? LabVIEW BUG?

    Hello world I have two while loop with exactly the same code and a user in each loop event structure, They both make the same thing which is too run until IMAQ image control (one line) click on a recording. I used a flat sequence to manage the order

  • After t2i

    Hello. First time here. I have a t2i, I like to use. I'm ready to go. The 5 d is expensive. I was thinking 6 d or 7dmkII, but do not know which way to go. I use the t2i for everything, nothing specific. Would welcome any input. Thanks in advance, ton

  • Why my Vista laptop keep locking itself?

    Seriously! I'll take a wild guess and say that it crashes itself at least 4 times during the time it takes to write this message. Once already! That's just it. For most people, screesnsaver lock is equal to one (twice, BTW) timed action. Well, I do n