Expand/Collapse Text Fields

I'm working on a newsletter - I'd like to have a paragraph and at the end, have a "more" link that would expand to show the entire story. Also, a "less" link to collapse the story. I'm told that this can be done it Livecycle, but I'm fairly new to it. Are there tools to acomplish this in Livecycle, or will this be some type of Java code?
Any help would be appreciated - Thanks.

Hi,
this is indeed possible with Designer, when you create dynamic forms (XFA forms).
Here's a sample form, with a text field you can expand/collaps with a button.
https://acrobat.com/#d=uluWF9NaAmvOe45rYXQmEQ

Similar Messages

  • Help using TLF text - expand/collapse text

    Using a large amount of formatted text, is it possible to make titles or headlines within the text clickable? Once clicked, the portion of text would expand and collapse accordingly. The text field would likely include around 80 headlines. I found code to show/hide a string of text, but not formatted tlf text. Any ideas?

    this will get you started:
    var tf:TextField = new TextField();
    tf.multiline=true;
    tf.background=true;
    tf.border = true;
    tf.width = 400;
    tf.autoSize=TextFieldAutoSize.LEFT;
    tf.htmlText = "text1 <u><a href='event:link1'>link1</a></u><br>"
                             +  "text2 <u><a href='event:link2'>link2</a></u><br>"
                             +  "text3 <u><a href='event:link3'>link3</a></u><br>";
    var extraTextA=["<br/><br/>extra text after link1<br/><br/>","<br/><br/>extra after link2<br/><br/>","<br/><br/>extra after link3<br/>"];
    var s:String = "</a></u>";
    var n:int = s.length;
    tf.addEventListener(TextEvent.LINK, tfF);
    this.addChild(tf);
    function tfF(e:TextEvent):void {
        var insertIndex = tf.htmlText.lastIndexOf(e.text)+e.text.length+n;
        var prefixS:String = tf.htmlText.substr(0,insertIndex);
        var suffixS:String = tf.htmlText.substr(insertIndex);
        var extraS:String = extraTextA[Number(e.text.substr(4))-1];
        if(tf.htmlText.indexOf(extraS)==-1 ){
            tf.htmlText = prefixS+extraS+suffixS;
        } else {
            tf.htmlText = tf.htmlText.split(extraS).join("");

  • Any way to expand the text fields in the properties menu?

    Don't see that they made this bar adjustable and they gave critical field boxes like links, alt and SRC a very short set of visible characters and so entering things like long links and image names is not easy. Thought this was a Mac conversion thing, but I also know it's this way on PC.
    TIA

    primarily use the Inspector to change/add links and to change alt text, etc. I like editing the properties in one place.
    Same here. I always use the Property Inspector (PI) for those things. Always have. That's what it's there for.
    Once again, it doesn't bother you that the field boxes only show about 10 characters, so that anything else you type or paste in has to be scrolled to make sure you input the link correctly? Sounds like afterthought to me - you can't possible read even the shortest URL.
    I never type in those fields.
    I paste, or use Browse to File or Point to File.
    They're always filled out correctly that way.
    I find the tooltip another step to take. I come from GoLive, where all this was so clear and easy, plus the fact that it could autofill the http://, saving even more time.
    The tooltip is just a quick and easy cross-check - not a step as such.
    I rarely use http:// links in the PI. Usually site root relative or doc relative.

  • Is there a way to expand the text area of the login/lock screen for the warning message?

    I put our company's standard warning message in the Security & Privacy system preference ("Show a message when the screen is locked.") and it overflowed the allotted text area for the warning message text on the login screen and lock screens.  It seems that the area allows about 250 character messages and I need to provide about 500 characters.  Is there any way to expand the text area allotted for this purpose?
    Bob Reed

    To be a little more specific about the challenge I'm facing, I want to increase the allotted text space for the field I've outlined in the attached image.  Seems like there ought to be a NIB file that could be edited to accomplish this task:
    I would appreciate any advice on which file should be edited to expand the text field.
    Bob Reed

  • How to collapse unused text field in PDF form

    Hi all, may i know how to collapse unused text field in a PDF form. Etc, we have alot of description line for user to enter the info, but some line will be left unused, so i was wondering whether can i hide those unused text field. But when i need them, i just expand it and use it.

    I don't think w/o UI Customization it is possible.
    UI customization won't be a small one as it is a common wizard and used at multiple places. So it will be a huge work.

  • Expanding text fields not co-operating

    I created a new form that spans over 2 pages and saved it as a dynamic PDF. I'm trying to allow for the text fields to expand as the user types beyond the intial size of the field. The field is set to "Expand to Fit". I have several sections of the form all separated by text headings. I have tried to wrap each section in a subform (set to "Flowed"), then wrap all the subforms to a larger subform (set to "Flowed").
    The problems that I'm encountering is each section that is wrapped in a subform looses the placement and whitespace between fields of all the fields and brings them in tight to each other. Then when i wrap all the subforms into one larger subform (set to "flowed"), my text headings and other text get rearranged and I can't change the order of reposition them with the white space.
    Below is a picture of my form in the nice tidy format that I'd like to keep. Then a picture of how it looks with each section in a subform and all of those subforms in a larger subform.
    Any help would be greatly appreciated!
    Before
    After

    Hi,
    Moving to Flowed layouts can be a pain. When you change to Flowed type, all of the objects are positioned from top left, based on the order in the hierarchy.
    You will need to adjust the objects margins in order to space them out.
    First I would adjust the content area on the Master Page, so that you have your margins in the right distance from the left (and top, bottom and right).
    See some examples here:
    Objects in flowed forms: http://assure.ly/e2jR0C
    Explore difference between flowed and positioned subforms: http://assure.ly/eSGQMt
    Some aspects for laying out objects: http://assure.ly/ewrLMo.
    Master pages and content areas: http://assure.ly/g0Wx7r.
    Another thing, when working with textfields (and other objects) you can set the caption to appear above the value area (go to the Layout palette). This means that you will only be dealing with one object instead of two (currently you have a text object and a textfield).
    If things are still out of order, then drag them into the correct order in the hierarchy and they will be in the right order on the page.
    Hope that helps,
    Niall

  • Expanding text fields for printing

    I have created my first form and saved it as a pdf.  in general it looks good but even though the text fields are expandable and grow I can't see all of the text once the form is printed.  What can I do? Is there a setting somewhere I am not aware of? 
    Help!!

    Hi;
    In the PDF you download from the "Distribute" tab that users fill out the text areas don't "expand" but they scroll to accomodate the text.    In PDF in general printing will not print the entire multi-line text fields, however, we made an enhancement in the "Response PDF" that you can downoad.  If you go to the "View Responses" tab and "Download response as PDF" you will get a PDF of the form with the users responses, in this PDF the multi-line text boxes are all expanded to fit the text so that when you go to print this PDF it will print the entire response text.
    Thanks,
    Josh

  • Expanding text field to hold data

    This sounds like a pretty simple problem, but... I have created a form using Designer that consists for 4 text boxes that span the width of the page. We are using a middleware product, LogiXML, to populate the form. We have successfully accomplished getting the data to appear in the text fields, but the data is being cut of because of the size of the boxes. I have selected the check box to allow the box to expand and to allow mutiple lines. This doesn't seem to have any effect. Am I missing something here?
    Thanks.

    The only field type that'll let you have multiple lines of text is a text edit. With that object, you can check the
    Allow multiple lines property on the Object palette's Field tab and check the
    Expand Height (in your case since the text fields are side-by-side) property on the Layout palette.
    The combination of these two properties should get you text fields which display their content in total visibility.
    If that still doesn't work, then it's possible you haven't saved your form as a
    Dynamic PDF form (or, if you've saved your form as XDP, that you aren't previewing it as a Dynamic PDF form).
    If you think your problem is the preview type (i.e. you're not previewing as a dynamic PDF), the following entry on my blog should help you out:
    Previewing as Dynamic PDF.
    Stefan
    Adobe Systems
    You can set the default preview type (for unsaved files) in the "Tools | Options" menu on the
    page and you can set the preview type for saved files in the "File | Form Properties" menu's
    Defaults page.

  • Expanding text field in table

    Hi,
    I’m pretty inexperienced with Live Cycle and was hoping I could get some help using text fields within a table.
    I’m creating a form with a table into which the user enters information. I’d like the row height in the table to adjust to the amount of text entered into the text field so as that if necessary the table will expand onto a subsequent page.
    The table exists within a subform and the text fields exist with in the table. In searching this forum I seen talk of dynamic tables but not sure how to achieve this.
    Any help would be much appreciated.
    Thanks
    Graeme

    To make the textfields grow you need to select 'Expand to Fit' under height in the Layout tab. In terms of going onto another page you need to select 'Allow Page Breaks within Content' in the Object>Field tab and make sure your subform is flowed not positioned.

  • Expanding text field

    I  converted a form I was using in word format to a PDF. There are several text field that could require a long or short narrative. Is it possible to make a text field expand as the user types. I don't want to babes large empty text box is narrative is short. Word does this already. Just not sure how to do it with PDF.

    If this is an Acrobat form (as opposed to a LiveCycle PDF form) then you
    can't do it.
    On Sat, Jan 17, 2015 at 5:39 PM, steven0320 <[email protected]>

  • Expanding text fields to fit text

    I have a customer who would like to be able to put large amounts of text into a text field and have it all print. The amount of text can vary, so he would like to have a box where he can enter the text and have the box size adjust to the amount of text entered, even to the point of adding extra pages if necessary. I have tried using the Expand to Fit option, but all that seems to do it allow the text to scroll while the box stays the same size. Is this something that is even possible? If so, how? Thanks.

    Hi there,
    Usually the "Expand to Fit" option under the Height property of the object is what you need.
    You also would have to make sure that your text field is "Allow Multiple Lines" & Field Format set to "Rich Text"
    Parents objects (subforms & page) are "Allow Page Breaks Within Content" and the Content set to "Flowed"
    And once those settings are set make sure that your text field is Expand to Fit on the Height property!
    Hope this help!

  • Expanding Text Fields, only when printed

    All,
    I have a dynamic form that has many text fields for user input. These fields have a fixed height, however allow multiple lines beyond the visible area. I don't want these text fields to expand when the field is exited, but rather when the form is printed. The form is set up neatly on 7 pages, and I'd like it continue to be 7 when the user is working, however I'd like it to expand to accomodate the extra text upon printing.
    How can I make it so when I print, the fields expand and the data flows onto the next page(s)?
    Thanks!
    Aaron

    Thank you. I'll also have to make sure the subforms are set to "flowed" to make sure the expansion works appropriately, correct?
    I can get everything to work correctly until my last page. When flowing the subform it compresses all of my fields and won't let me resize or move. Is there any easy way to resize a subform or adjust the locations of the fields within it?

  • Expanding text fields in a paragraph

    Is it possible to have a text field sit within other text and expand horizontally to allow for entered data and the surrounding text also moves depending on how much data is entered (like in a paragraph)? Similar to entering text in to a Word form.

    Or are you talking about an editable floating field, maybe this blog will help http://blogs.adobe.com/formfeed/2010/09/editable-floating-fields-v3.html

  • Expanding text field to allow for multiple pages

    Hi all,
    Disclaimer: Not a JAVA/programmer type. I typically Google things to death and try to learn from there. Created a form and followed some other's suggestions but I'm in a bind with expanding a field (text field) to allow for users to enter info and for it to print the full entry once submitted.
    I changed the form to be sent using the email button to select recipients and as a pdf doc. I'd like to keep it this way. I created the form and didn't use a template. I just signed up and am looking for the button to attach the doc, created in Livecycle Designer ES with the hopes that someone could take a look at it. Can't find the attach button. If someone can provide their email address to take a look, that would be great.
    Niall, I've been reading your posts and actually tried copying/pasting in one of your fields (re: subform as Flow, etc) but so far, no luck.
    I selected all the usual variables for the subform/text box:
    Allow Multiple Lines, Allow Breaks, Expand to Fit (Height).
    Please advise if someone would be available to take a look and I'll send it to you. Thanks in advance for any recommendations/availability.

    Hi Jeff,
    Yes you can force the highlight colour on using the following script in the docReady event of the root node (normally form1):
    app.runtimeHighlight = true;
    You can also change the highlight colour, but this is a personal choice. Generally I would leave it at the default. This ways users are getting the same experience.
    For the email submit, there are a couple of choices. If you use a regular button (instead of the Email Submit Button) you can script for custom recipients, subject line and message. There are examples here. You are probably better sticking with the example for versions of Acrobat/Reader v9 and below. You are looking for the last button. The script can be reduced to match your requirements.
    http://www.assuredynamics.com/index.php/code-solutions/email-solutions/
    If you want to share a form, you will need to upload it to a file sharing site, like Acrobat.com and then post the published link here.
    You can use a regular button for the URL, so that on the click event the user is directed to Adobe's site:
    app.launchURL("http://get.adobe.com/reader/", true);
    Lastly you must Reader Enable the form before you send it out.
    Good luck,
    Niall
    Assure Dynamics

  • Expanding text fields side-by-side in a 2 column layout

    Hi,
    I've been trying to create a form that is a 2-column layout. This form contains expanding text fields that are side-by-side with additional form elements underneath. I managed to get the expandable fields to work, however, if the user writes too much in the text field in the left-hand column and it wraps onto a second page, the text field in the right-hand gets pushed to the second page. I am wondering if someone has experience with this and could help me figure out how to make sure the text field in the right-hand column stays in place as the text field in the left-hand column expands onto 2 pages.
    I've tried to wrap each text-field in their own subform that stays fixed, but that seemed to cause the field to expand over the elements below it.
    Take care,
    Carolyn

    Luke23ae wrote:
    for my bachelor-thesis I'm trying to create a 2 column layout in pages. The left column should contain all contents, the right column should only contain notes and additional information supporting the 'main' column. So the right column only contains a little text every now and then. Using the Layout Inspector and setting up 2 columns fills the right column automatically withe the contents overflowing the left column. What I'm hoping to archive is to create a 2 column layout leaving the right column blank, allowing me to insert Text-fields (unless there's a better way) wherever I need to add an annotation.
    Hi Lukas,
    Welcome to Apple Discussions and the Pages '09 forum.
    Since you want the text to flow from page to page in the left column, it would appear best to use a single column for the main text, and to limit the width of that column using the right margin stop.
    That leaves the right half of the page open for a series of text boxes (or shapes, as shown) to contain the notes and additional information.
    I would start with a single text box or shape, resize it to the width you want, then duplicate that one each time you need a new box. That way all your text blocks have a common width to begin with, and if you take care to use only the handle at the center of the bottom edge to resize them, you will not disturb that width setting.
    As noted earlier, the floating objects will not automatically travel with the text they apply to if editing causes that text to move.
    Regards,
    Barry

Maybe you are looking for