understand the required total lines for a paragraph in the text fields

In a program, that I am, I need to know the total text line and align the object below according to the total of the lines of the previous text block.

The only way I can think of is to have a list with measured the width in pixels of all the letters. then read the word and text characters. Add to the total width of the text. If it reaches the defined width. This Word moves to the next line and add 1 to the total line and start the total width of the total width of the floor which is wrapped to the next line.

I wonder if there is an easier way to know the last words of each line in a line of wrapped text.

Thanks for your help,

If you just need to know where the bottom of your (wrapped) text you can use the charPosToLoc() function:

mText = member("text")
put mText.charPosToLoc(mText.char.count)
-- (some #point object)

Or you can set member("text").boxType = #adjust and enter member.height

Tags: Director

Similar Questions

  • HELP - lost the button "calculate" in the "text field properties"! I try to summarize the total for separate text fields in a summary box.

    Help, please!  I try to summarize the total for separate text fields in a summary box, but have lost the tab 'calculate' in the 'text field properties area.  Any help would be greatly appreciated!

    When in forms editing mode (Tools > prepare form), select: more > return to the Acrobat form

    In the future, check the box 'this document requires signatures' when you choose at the beginning: Tools > form prepare

    unless you plan to use the form with eSign Document Adobe cloud service.

  • Problem of text selection in the text field for entry in the emulator

    I'm having a problem of text selection in a text field when I run my application in the emulator Playbook. Let me see if I can expose the problem here:

    1. The field in question is a classic text, text with an integrated in police entry field. The domain is in a SWC and referenced in another FILE.
    2. The code is set up such that when a user clicks the field function is called to highlight all the text. The code is more or less as follows:
    thisField.addEventListener(MouseEvent.CLICK, onFieldClick);
    
    private function onFieldClick(event:MouseEvent):void
    {
       var selectedField:TextField = event.target as TextField;
       selectedField.setSelection(0, selectedField.text.length);
    }
    

    The problem I'm having is that when I try clicking on the emulator, the text field in 'domain' is sometimes selected as expected, sometimes not. When the text is not selected as expected the cursor always appears in the field and the Playbook keyboard slides up by below. What is particularly problematic, that's what often happens, is that the whole scene moves upward on 10px when it is clicked on the ground. If I try to click on the same ground once again, another change to the top of 10px or so, etc..

    So why the text not properly selected and why the scene evolves upwards?

    I realize that more information may be required from me to correctly solve this problem, but if someone has all understand why this may be the case, I would be happy to learn from him.

    Thank you

    David

    I can answer the question of displacement.  This is a bug in BB and supposed to be fixed in version «next» SDK

    The question of the selection, I'll guess has to do with the fileld with focus, selection is not possible.  Try to set the focus outside of maybe the text field?

  • Referring to the line in the text field

    Hi, this is probably very simple, but I couldn't find anything in the net.

    How can I take specific line of the text field. In my case, it will be number and I am planing to use parseInt. on this channel

    example:

    LINE1 = 001

    Line2 = 002

    line 3 = 003

    ....

    I'm in position to take this "002" line2 in

    Something like the following might work if the text is in a list with the new lines for each line... "tf" is the name of the instance of the TextField...

    var stringArray:Array = String(tf.text).split("\r");
    trace(stringArray[1]);

  • How to programmatically launch touch sceen keyboard, when the user clicks on the text field for application?

    Hello

    I create a desktop using the CreateDesktop() API, in this office, I launched a MFC dialog with text field box in this topic.

    I want to get the keyboard touch screen when I touch on the text field of the dialog box.

    I tried to use the following information

    https://msdn.Microsoft.com/en-us/library/Windows/desktop/dd371581%28V=vs.85%29.aspx

    but the key Board launched when I touch the dialogue instead of text field.

    Please give me the solution?

    Pramod Hello,

    Thanks for posting your question on the Microsoft community.

    This question fits better to the developers on MSDN forums.

    I would recommend posting your question on the MSDN forums.

    MSDN forum
    https://social.msdn.Microsoft.com/forums/en-us/home?category=windowsdesktopdev

    Thank you

  • Default properties for the text field of the PDF forms

    How can I set the default properties for the text field?  The creator of forms set of font sizes that are too large.

    Right-click on the field > use current properties as new default.

    It will keep the new settings until the next time that you do this. It is not specific to the document. Do it separately for each field type (text, button, etc.)

    On an existing form, you can select multiple fields. A pro tip, is that you don't have to close the properties to move from the field to the field to the field. Dungeon opens and work faster.

  • Verification of the text field problem and requiring an option in the drop-down field

    I have a form with several fields that if the user enters information in one or more of the

    fields, I need to check that the drop-down list field is not empty.

    I got this to work, but now I find that if the user deletes the text in the text field, the user always receives the error message. Here is the script I use:

    If

    ((form1.page1.ListFilesFolders.rawValue) ! = null & & (form1.page1.windsNtwkAccess.rawValue) == null);

    {

    xfa.host.setFocus (form1.page1.windsNtwkAccess);

    xfa.host.messageBox ("Please make a selection in the field of Windows network."

    , 'Need to selection' , 1 , 0);

    }

    Thank you

    MDawn

    Makes sense... the field is null when the user deletes the text. You could put a white in these areas as default values and test for this instead of null. Now, when the user empty field, it will be null and will not empty so that the message will not appear.

    Make sense?

    Paul

  • MODIFICATION OF DATA FOR THE TEXT FIELD

    Hello

    I NEED TO CHANGE THE TEXT FIELD DATA OR CHANGE THE POLICE PROMPT DURING RUN TIME.

    Kind regards

    C V S

    Hello

    Do you mean the text prompt? then replace the PROMPT_FONT_NAME by PROMPT_TEXT.

    SET_ITEM_PROPERTY('.', PROMPT_TEXT, 'COURIER NEW');
    

    Kind regards

    Manu.

    If my answer or the answer to another person has been useful or appropriate, please mark accordingly

  • Positioning in the text field text

    I have a text field 3 x 7 set to "Allow multiple lines" However, when I 'Preview PDF', any entered text starts in the middle of the text field and moves to a line at a time that the text is adjusted.  How can I get the cursor to start in the upper left corner of the field instead of the Middle?

    Thanks in advance for the help!

    Right click the field-> choose pallets-> click on paragraph. You will find the text of the alignment controls.

    or

    The window-> paragraph menu

    Nith

  • Fill in the text field when TWO radio button is unchecked

    Hello

    I don't know anything about javascript and need help.  I have a photography contract I want to offer a "discount package" of $50 when the two services will be used.  1 service is 'Photography coverage' and Service 2 'Photo Booth Rental'.

    Text field 1 = subtotal (calculates the values of checkbox and radio button)

    Text field 2 = discount (it's where I need help.  I would like this automatically filled with $50 when my default two boxes are not selected.  But only when the TWO are not selected)

    Text field 3 = Total (which has a basic calculation of the Subtotal-Discount)

    The services of two by default (it's done on purpose, I checked from the beginning) are both set to the '0' values to keep the subtotal $ 0.  If the client will use a service (which means one of the default selections will be selected), then there will be no discount, but if they decide to use photography and the cabin, they save $50.

    Can someone please help me to write a script for the text field, Discount calculation, to accomplish what I ask?

    Untitled-3.jpg

    You can use something like what the calculation script custom field discount:

    Event.Value = (this.getField("Service1").value == 0 | this.getField("Service2").value == 0)? 0: 50;

    Simply adjust the field names in the code to match the real in your file.

  • I have created a form in Indesign. Is there a way to create the default text in a text field that displays the interactive pdf "insert text here" in the text field?

    I have created a form for the company, so that I work. It is a form that will be used in several offices and has buttons, drop downs and text fields. One of the text fields has a requirement that when the PDF file is opened, the text field has something written in there already, as an example (and one only) INSERT the TEXT HERE. I created the text field in Indesign and used the text tool to type in the area of the body-copy required. After that I have to export it as an interactive PDF, text in the text field disappeared.

    Drop-down lists give an option for a default choice, but I don't see a way to create default text in the Panel of buttons and forms for text fields. Is there a workaround or a hidden feature?

    Thank you!

    Set it in Acrobat.

  • How do I change police inside the text fields of the form

    I went through tutorials on lynda.com and success exceeds my form.

    However I can't understand how a change of default Times Roman in form fields in a different typeface.

    I assigned followed by paragraph styles, object styles, but nothing happens. I also can't change the font color in the text fields.

    Anyone know how to change these attributes?

    You cannot change the default font to a form field in Indesign. You can change the font in Acrobat by changing the form > by selecting the field properties > appearance > fonts

  • Location of roller on the text field.

    I created an interactive pdf in InDesign with a video integrated. Reversal of the image I have a text field are popping up with the name of the image. I need to change this name/text, where should I go in InDesign? The text field is visible in the pdf file when I roll over the image. I have looked through the windows of buttons, Animation and multimedia in InDesign, but cannot locate the domain in question. I created it 2 years therefore the empty mind!

    Thank you

    Meervaldo!

    The answer is that there is nothing InDesign (or you) have done. Looking to the reader by default of an Adobe Reader or Acrobat when it encounters a video.

    If it's an image, you can add a tip of the tool, by choosing from the menu of the Media Panel > Options PDF > Description.

    However, for some reason, you can apparently not substitute this particular kind of message that I can understand. You can view the video properties in Acrobat by clicking right on the video and choosing Properties. But I don't see a property to change the message.

  • NEED HELP: on how to make the text field on the image (file I) sliced in Dreamweaver

    First of all, I will apologize for not being a guy of current code or understanding terminology.  I'm old school and build Web sites for my businesses and programs.  I have a situation where I have designed a website on Illustrator and sliced the site and imported into Dreamweaver. Everything works fine, however, I train for the life of get me a (perhaps called a tag div or something) text box on one of my sliced background images.  I have tried everything; read online tutorials and watched, however, it does not work for me.  In the past, I had someone just put the code in (or fix my code) to make a table of open field, on top of my background image that I slit, so that I could add the content type to it.  Can someone help me with this please?

    Here is the code for the site.  I put RED, the text field I try to overlay a text table or a box to work with.   Thank you a lot if someone maybe can add the code (or the DIV) to make it work, but also if you can put it in a different color so I know how to this in the future, it would be a great help too.

    < html > < head > < meta http-equiv = "Content-Type" content = text/html"; charset = ISO-8859-1 ">"

    < title > News < /title >

    < style type = "text/css" >

    {body

    background-color: #000;

    }

    < / style >

    < script type = "text/javascript" >

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_preloadImages() {//v3.0

    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

    }

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    < /script >

    < / head >

    < body bgcolor = « #000000 » vlink = « #00FF00 » leftmargin = « 0 » topmargin = « 0 » marginWidth ne = « 0 » marginheight = « 0 » onLoad = « MM_preloadImages (' images/sur-lien-TopBLURR.jpg','images/éducation-lien-TopBLURR.jpg','images/Team-Link-TopBLURR.jpg','images/Training-Link-TopBLURR.jpg','images/Contact-Link-TopBLURR.jpg','images/Bottom-OverviewBLURR.jpg','images/Bottom-FounderBLURR.jpg','ima ges/Bottom-LocationBLURR.jpg','images/Bottom-TestimonialsBLURR.jpg','images/Bottom-Board-M embersBLURR.jpg','images/Bottom-Justin-SienaBLURR.jpg','images/Bottom-BoardingBLURR.jpg', 'images/Bottom-InternationalBLURR.jpg','images/Bottom-RosterBLURR.jpg','images/Bottom-Staff BLURR.jpg','images/Bottom-ScheduleBLURR.jpg','images/Bottom-NewsBLURR.jpg','images/Bottom-VideosBLURR.jpg','images/Bottom-Skill-DevelopBLURR.jpg' ' images/ fond-force-BLURR.jpg','images/Bottom-Training-VidsBLURR.jpg','images/Bottom-MentorBLURR.jpg','images/Bottom-Fun draisingBLURR.jpg','images/Bottom-DonationsBLURR.jpg','images/Botton-SponsorsBLURR.jpg','i mages/Bottom-ContactBLURR.jpg','images/Bottom-storeBLURR.jpg','images/Bottom-Bball-campsBL URR - 27.jpg') ">"

    < div style = "position: absolute;" left: 0px; Top: 0px; Width: 1231px; height: 840px; ">

    < div style = "background - image: url(Pro-Prep-Website_01.jpg);" position: absolute; left: 0px; Top: 0px; Width: 1px; height: 840px; "title =" ">

    < / div >

    < div style = "background - image: url(Top-Left-Logo.jpg);" position: absolute; Left: 1px; Top: 0px; Width: 719px; height: 119px; "title =" ">

    < / div >

    < div style = "background - image: url(Top-Blank-Rectangle.jpg);" position: absolute; left: 720px; Top: 0px; Width: 511px; height: 64px; "title =" ">

    < / div >

    < div style = "background - image: url(About-Link-Top.jpg);" position: absolute; left: 720px; top: 64px; Width: 85px; height: 55px; "title =" "> < a href ="AboutOverview.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image1',", ' images/sur-lien - TopBLURR.jpg', 1) "> < img src =" topic-link - Top.jpg "width ="85"height ="55"id ="Image1"> < /a >"

    < / div >

    < div style = "background - image: url(Location-Link-Top.jpg);" position: absolute; left: 805px; top: 64px; Width: 108px; height: 55px; "title =" "> < a href ="Academics.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage (" Image2 "," ' images/education-link - TopBLURR.jpg', 1) "> < img src =" Education-link - Top.jpg "width ="108"height ="55"id ="Image2"> < / has >"

    < / div >

    < div style = "background - image: url(Team-Link-Top.jpg);" position: absolute; left: 913px; top: 64px; Width: 76px; height: 55px; "title =" "> < a href ="Roster.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image3',", ' images/team-link - TopBLURR.jpg', 1) "> < img src = ' team-link - Top.jpg" width = height "76" = "55" id = "3" > < /a > "

    < / div >

    < div style = "background - image: url(Training-Link-Top.jpg);" position: absolute; left: 989px; top: 64px; Width: 96px; height: 55px; "" title = "" > < a href = "Development.html Skill" Mm_swapimgrestore "onMouseOver ="MM_swapImage ('Image4 '", ' images/training-link - TopBLURR.jpg', 1)" > < img src = "training-link - Top.jpg" width = "96" height = "55" id = "Image.4" > < / has >

    < / div >

    < div style = "background - image: url(Contact-Link-Top.jpg);" position: absolute; left: 1085px; top: 64px; Width: 145px; height: 55px; "title =" "> < a href ="Contact.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Picture5'", ' images/Contact-link - TopBLURR.jpg', 1) "> < img src =" Contact-link - Top.jpg "width ="145"height ="55"id = 'Picture5' > < / has >"

    < / div >

    < div style = "background - image: url(Pro-Prep-Website_09.jpg);" position: absolute; left: 1230px; top: 64px; Width: 1px; height: 715px; "title =" ">

    < / div >

    < div style = "background - image: url(Left-Star.jpg);" position: absolute; Left: 1px; top: 119px; Width: 233px; height: 720px; "title =" ">

    < / div >

    < span style = "background-image:;" position: absolute; left: 234px; top: 119px; Width: 996px; height: 482px; ' >< img src = "images/Blank - Body.jpg" width = "996" height = "482" alt = "" ></span >

    < div style = "background - image: url(Bottom-Titles.jpg);" position: absolute; left: 234px; top: 601px; Width: 996px; height: 59px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Overview-.jpg);" position: absolute; left: 234px; top: 660px; Width: 178px; height: 30px; "title =" "> < a href ="AboutOverview.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image6'", ' images/down - OverviewBLURR.jpg', 1) "> < img src ="Bottom-overview-.jpg"width ="178"height ="30"id = 'Image6' > < / has >"

    < / div >

    < div style = "background - image: url(Pro-Prep-Website_14.jpg);" position: absolute; left: 412px; top: 660px; Width: 1px; height: 30px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Justin-Siena.jpg);" position: absolute; left: 413px; top: 660px; Width: 189px; height: 30px; "title =" "> < a href ="Academics.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image11'", ' images/bottom-Justin - SienaBLURR.jpg', 1) "> < img src =" bottom-Justin - Siena.jpg "width ="189"height ="30"id ="Image11"> < / has >"

    < / div >

    < div style = "background - image: url(Bottom-Roster.jpg);" position: absolute; left: 602px; top: 660px; Width: 108px; height: 29px; "title =" "> < a href ="Roster.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image15',", ' images/down - RosterBLURR.jpg', 1) "> < img src =" low - Roster.jpg "width ="108"height = '29' id = 'Image15' > < /a >"

    < / div >

    < div style = "background - image: url(Bottom-Skill-Develop.jpg);" position: absolute; left: 710px; top: 660px; Width: 218px; height: 29px; "" title = "" > < a href = "Development.html Skill" Mm_swapimgrestore "onMouseOver ="MM_swapImage ('Image20 ',", ' images/low-skill - DevelopBLURR.jpg', 1)" > < img src = "low-skill - Develop.jpg" width = "218" height = '29' id = 'Image20' > < /a >

    < / div >

    < div style = "background - image: url(Bottom-Mentor.jpg);" position: absolute; left: 928px; top: 660px; Width: 133px; height: 30px; "title =" "> < a href ="Mentorship.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image23',", ' images/down - MentorBLURR.jpg', 1) "> < img src =" low - Mentor.jpg "width ="133"height ="30"id ="Image23"> < / has >"

    < / div >

    < div style = "background - image: url(Bottom-Contact.jpg);" position: absolute; left: 1061px; top: 660px; Width: 168px; height: 29px; "title =" "> < a href ="Contact.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image27',", ' images/down - ContactBLURR.jpg', 1) "> < img src =" bottom - Contact.jpg "width ="168"height = '29' id = 'Image27' > < /a >"

    < / div >

    < div style = "background - image: url(Pro-Prep-Website_20.jpg);" position: absolute; left: 1229px; top: 660px; Width: 1px; height: 29px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Staff.jpg);" position: absolute; left: 602px; top: 689px; Width: 108px; height: 21px; "title =" "> < a href ="Staff.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image16',", ' images/down - StaffBLURR.jpg', 1) "> < img src =" low - Staff.jpg "width ="108"height ="21"="Image16"id > < / has >"

    < / div >

    < div style = "background - image: url(Bottom-Skill-Develop-23.jpg);" position: absolute; left: 710px; top: 689px; Width: 1px; height: 1px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Strength-.jpg);" position: absolute; left: 711px; top: 689px; Width: 217px; height: 21px; "" title = "" > < a href = Mm_swapimgrestore "Force and Cond.html" "onMouseOver ="MM_swapImage ('Image21 ',", ' images/background-force - BLURR.jpg', 1)" > < img src = "Bottom-force-.jpg" width = "217" height = "21" = "Image21" id > < / has >

    < / div >

    < div style = "background - image: url(Bottom-store.jpg); position: absolute; top: 689px; width: 169px; left: 1061px, height: 21px;" "" title = "" > < a href = " http://Store.jglove.com "Mm_swapimgrestore"onMouseOver ="MM_swapImage ('Image28 ',",' images/down - storeBLURR.jpg', 1)" > < img src = "bottom - store.jpg" width = "169" height = '21' id = 'Image28' > < /a >

    < / div >

    < div style = "background - image: url(Bottom-Founder.jpg);" position: absolute; left: 234px; top: 690px; Width: 179px; height: 23px; "title =" "> < a href ="Founder.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image7'", ' images/down - FounderBLURR.jpg', 1) "> < img src =" low - Founder.jpg "width ="179"height ="23"id ="Image7"> < /a >"

    < / div >

    < div style = "background - image: url(Bottom-Boarding.jpg);" position: absolute; left: 413px; top: 690px; Width: 189px; height: 23px; "title =" "> < a href ="Boarding.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image12',", ' images/down - BoardingBLURR.jpg', 1) "> < img src =" low - Boarding.jpg "width ="189"height ="23"id = 'Image12' > < / has >"

    < / div >

    < div style = "background - image: url(Bottom-Staff-28.jpg);" position: absolute; left: 710px; top: 690px; Width: 1px; height: 20px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Fundraising.jpg);" position: absolute; left: 928px; top: 690px; Width: 133px; height: 20px; "title =" "> < a href ="Fundraising.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image24',", ' images/down - FundraisingBLURR.jpg', 1) "> < img src =" low - Fundraising.jpg "width ="133"height = '20' id = 'Image24' > < / has >"

    < / div >

    < div style = "background - image: url(Bottom-Schedule.jpg);" position: absolute; left: 602px; top: 710px; Width: 108px; height: 23px; "title =" "> < a href ="Schedule.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image17',", ' images/down - ScheduleBLURR.jpg', 1) "> < img src =" low - Schedule.jpg "width ="108"height ="23"id ="Image17"> < /a >"

    < / div >

    < div style = "background - image: url(Bottom-Training-Vids.jpg);" position: absolute; left: 710px; top: 710px; Width: 218px; height: 22px; "" title = "" > < a href = "Videos.html training" Mm_swapimgrestore "onMouseOver ="MM_swapImage ('Image22 ',", ' images/bottom-training - VidsBLURR.jpg', 1)" > < img src = "bottom-training - Vids.jpg" width = "218" height = "22" id = "Image22" > < /a >

    < / div >

    < div style = "background - image: url(Bottom-Donations.jpg);" position: absolute; left: 928px; top: 710px; Width: 133px; height: 23px; "title =" "> < a href ="Donations.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image25',", ' images/down - DonationsBLURR.jpg', 1) "> < img src =" low - Donations.jpg "width ="133"height ="23"id ="Image25"> < /a >"

    < / div >

    < div style = "background - image: url(Bottom-blank-9.jpg);" position: absolute; left: 1061px; top: 710px; Width: 169px; height: 22px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Location.jpg);" position: absolute; left: 234px; top: 713px; Width: 179px; height: 21px; "title =" "> < a href ="Location.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image8'", ' images/down - LocationBLURR.jpg', 1) "> < img src =" low - Location.jpg "width ="179"height ="21"id ="Image8"> < /a >"

    < / div >

    < div style = "background - image: url(Bottom-International.jpg);" position: absolute; left: 413px; top: 713px; Width: 189px; height: 21px; "title =" "> < a href ="Mission.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image13'", ' images/down - InternationalBLURR.jpg', 1) "> < img src =" bottom - International.jpg "width ="189"height ="21"= 'Image13' id > < / has >"

    < / div >

    < div style = "background - image: url(Bottom-Bball-camps.jpg);" position: absolute; left: 710px; top: 732px; Width: 218px; height: 1px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Blank-10.jpg);" position: absolute; left: 1061px; top: 732px; Width: 169px; height: 23px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-News.jpg);" position: absolute; left: 602px; top: 733px; Width: 109px; height: 23px; "title =" "> < a href ="News.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image18',", ' images/down - NewsBLURR.jpg', 1) "> < img src =" bottom - News.jpg ' width = '109' height = '23' id = 'Image18' > < /a > "

    < / div >

    < div style = "background - image: url(Bottom-Bball-camps-39.jpg);" position: absolute; left: 711px; top: 733px; Width: 217px; height: 20px; "" title = "" > < a href = "Bball Camps.html" Mm_swapimgrestore "onMouseOver ="MM_swapImage ('Image29 ',", ' images/bottom-Beni-campsBLURR - 27.jpg', 1)" > < img src = "Bottom-Beni-camps - 38.jpg" width = "217" height = '20' id = 'Image29' > < / has >

    < / div >

    < div style = "background - image: url(Botton-Sponsors.jpg);" position: absolute; left: 928px; top: 733px; Width: 133px; height: 22px; "title =" "> < a href ="Sponsors.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image26',", ' images/Botton - SponsorsBLURR.jpg', 1) "> < img src =" Botton - Sponsors.jpg "width ="133"height ="22"id ="Image26"> < /a >"

    < / div >

    < div style = "background - image: url(Bottom-Testimonials.jpg);" position: absolute; left: 234px; top: 734px; Width: 178px; height: 21px; "title =" "> < a href ="Testimonials.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image9'", ' images/down - TestimonialsBLURR.jpg', 1) "> < img src =" low - Testimonials.jpg "width ="178"height ="21"= 'Image9' id > < / has >"

    < / div >

    < div style = "background - image: url(Bottom-blank-5.jpg);" position: absolute; left: 711px; top: 753px; Width: 217px; height: 26px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Board-Members.jpg);" position: absolute; left: 234px; top: 755px; Width: 178px; height: 23px; "" title = "" > < a href = "Members.html room" Mm_swapimgrestore "onMouseOver ="MM_swapImage ('Image10 '", ' images/bottom-Board - MembersBLURR.jpg', 1)" > < img src = "bottom-Board - Members.jpg" width = "178" height = "23" id = "Image10" > < /a >

    < / div >

    < div style = "background - image: url(Bottom-Blank.jpg);" position: absolute; left: 412px; top: 755px; Width: 190px; height: 23px; "title =" ">

    < / div >

    < div style = "background - image: url(Pro-Prep-Website_45.jpg);" position: absolute; left: 928px; top: 755px; Width: 1px; height: 85px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Blank-7.jpg);" position: absolute; left: 929px; top: 755px; Width: 132px; height: 24 PX. "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-blank-11.jpg);" position: absolute; left: 1061px; top: 755px; Width: 169px; height: 24 PX. "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Blank-49.jpg);" position: absolute; left: 602px; top: 756px; Width: 1px; height: 22px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Videos.jpg);" position: absolute; left: 603px; top: 756px; Width: 107px; height: 24 PX. "title =" "> < a href ="Videos.html"Mm_swapimgrestore" onMouseOver ="MM_swapImage ('Image19',", ' images/down - VideosBLURR.jpg', 1) "> < img src =" bottom - Videos.jpg "width ="107"height = '24' id = 'Image19' > < /a >"

    < / div >

    < div style = "background - image: url(Bottom-blank-5-51.jpg);" position: absolute; left: 710px; top: 756px; Width: 1px; height: 24 PX. "title =" ">

    < / div >

    < div style = "background - image: url(Pro-Prep-Website_51.jpg);" position: absolute; left: 234px; top: 778px; Width: 178px; height: 29px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Blank-2.jpg);" position: absolute; left: 412px; top: 778px; Width: 191px; height: 29px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Blank-6.jpg);" position: absolute; left: 711px; top: 779px; Width: 217px; height: 28px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Blank-8.jpg);" position: absolute; left: 929px; top: 779px; Width: 132px; height: 29px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-blank-13.jpg);" position: absolute; left: 1061px; top: 779px; Width: 170px; height: 61px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-Blank-3.jpg);" position: absolute; left: 603px; top: 780px; Width: 107px; height: 27px; "title =" ">

    < / div >

    < div style = "background - image: url(Pro-Prep-Website_57.jpg);" position: absolute; left: 710px; top: 780px; Width: 1px; height: 27px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-blank-0.jpg);" position: absolute; left: 234px; top: 807px; Width: 179px; height: 33px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-copyright.jpg);" position: absolute; left: 413px; top: 807px; Width: 515px; height: 32px; "title =" ">

    < / div >

    < div style = "background - image: url(Bottom-blank-12.jpg);" position: absolute; left: 929px; top: 808px; Width: 132px; height: 32px; "title =" ">

    < / div >

    < div style = "background - image: url(Pro-Prep-Website_61.jpg);" position: absolute; Left: 1px; top: 839px; Width: 233px; height: 1px; "title =" ">

    < / div >

    < div style = "background - image: url(Pro-Prep-Website_62.jpg);" position: absolute; left: 413px; top: 839px; Width: 515px; height: 1px; "title =" "> < / div > < / div >

    < body / > < / html >

    You sent a couple of workarounds

  • Shrink the text field

    Hi all

    I have a problem with my textfields in Livecycle. My goal is to have a text field of a certain size that can expand to accommodate more text or reduced to fit the text that does not have full space that offers the text field. I put my height of the text field to display everything and wrote a javascript statement to minimize the size of the text box to fit all text entered. The code is as follows and is in the output of the field event:

    If ((this.resolveNode("$").rawValue! = null & & this.resolveNode("$").rawValue! = "") & & this.resolveNode("$").rawValue! = "Enter text here.") {

    this.resolveNode("$").border.presence = 'hidden ';

    this.resolveNode("$").h = "";

    }

    EC that it is supposed to do, is to minimize the height of the text field when the user leaves the field so that the field corresponds to the amount of text (there is a default value on the field "Enter text here."). Everything works perfectly and the field will develop and adjust the text, however when the form is saved and then re-opened, the text field is reduced to an incredibly small size so that only the first line of the text is visible and it is cut in half.

    I suspect that the problem comes from the fact that the script I've written sets the height of an empty value, but it is only in the case of output, so the size of the field should not change from when the form is saved to when it is open. Does anyone have ideas for how to fix this?

    Replace this.resolveNode("$").h = "' with this.minH =".01in ".

    Also, this.resolveNode("$") is the same as just 'this' (as I know).

    Kyle

Maybe you are looking for