Calculation floating field adds unwanted line break

Using Livecycle Designer ES4 w / Javascript

I have a numeric field PurchasePrice and a float DepositAmt field which is calculated using the this.rawValue = PurchasePrice.rawValue *. 3;

In Design view, the container DepositAmt line looks like this:

  • 30% or {DepositAmt} thereby signed as a deposit;

Preview the line looks like this:

  • 30% or

with the agreement signed as a deposit;

And after that a number entered PurchasePrice it looks like this:

  • 30% or 1 $000,00

with the agreement signed as a deposit;

I have other lines with '30% to include... '. "and no return is added.

I have removed the line and retyped it

I deleted the floating field and recreated

I tried FormCalc with the same result

Thanks in advance for any help!

R

I had various problems with floating fields, mainly with extra spaces being placed before and after a currency field. For example, I had an extra space between the field and the punctuation immediately following floating.

If you select the type of field as "Digital field" and then configures the model of what follows, it should help. Remember to remove the spaces before and after the field floating, as you add them to the model.

30% or {DepositAmt} thereby signed as a deposit

num {("$zzz zzz zzz, zzz, zz9.99' ')}

Tags: Adobe LiveCycle

Similar Questions

  • XML, CSS, tabs and unwanted line breaks

    Hello

    I spent days trying to fix this... including many hours of trawling the web, but nothing helped so I hope some of you can help out.

    I have a site that compiles to Actionscript 2.0 and Flash player 8.  This site uses the XML output from ASP.Net pages of database-oriented.

    The problem I have is basically where I have a tabstops set, in some cases, where the text from the first tab stop is over a certain length, a unwanted line break is released just before the last word in the entry.  (I know it's always the last word if I put a word on the end of the word chain that was originally on the new line being back in its place - so it doesn't seem to be associated with length).

    Indeed, what I want is as follows:

    Header1: descriptive text in the header 1-tete2: Description 2 header

    header3: Description 3 header4 header: header text 4

    text description here on multiple lines

    I mean, it is something like this:

    Header1: descriptive text in the header 1-tete2: Description 2 header

    header3: with a long Description 3 header

    Description header4: header text 4

    text description here on multiple lines

    I am loading Xml is as follows (this has been anonymised and rafters has changed to "[]")

    [? xml version = "1.0" encoding = "utf-8"?]
    [config scrollPosition = 'right' styleSheet=".\stylesheets\cv.css']
    [text]
    [textformat tabstops = "50,540,590"]: [tab /] T [tab /] T [tab /] T [tab /]: [br /]
    [list_by] Entered Date of CV [/ list_by]
    [br /]
    ["headertext"] Date: [/headertext]
    [tab /]
    [itemheader] September 2010 - March 2011 [/itemheader]
    [tab /]
    ["headertext"] Agency: [/headertext]
    [tab /]
    [itemheader] [a href ="http://www.xxxx.eu/xxxx.cfm"target = "_blank"] xxxxx [a] [/itemheader]
    [br /]
    ["headertext"] Role: [/headertext]
    [tab /]
    [itemheader] ABAP programmer Application Maintenance SAP ECC 6.0 Finland [/itemheader]

    [tab /]
    ["headertext"] Company: [/headertext]
    [tab /]
    [itemheader] [a href ="http://www.xxxx.com"target = "_blank"] xxxxx [a] [/itemheader]
    [br /]
    [br /]

    There are closing tags appropriate further down in the file.

    The CSS that relates to this is:

    HeaderText {}
    display: inline;
    color: #008000;
    }
    ItemHeader {}
    display: inline;
    color: #FFFFFF;
    }
    {list_by}
    do-size: 11pt;
    text-align: center;
    }
    {to preamble
    do-family: verdana_italic;
    text-align: justify;
    margin left: 150px;
    right margin: 150px;
    }
    {sum_title}
    text-align: center;
    do-size: 11pt;
    make-weight: bold;
    color: #FFFF00;
    }
    {text}
    do-family: verdana;
    do-size: 9pt;
    color: #FFFFFF;
    }

    And finally the Actionscript code:

    content_mc.scroll_txt.setTextFormat = tFormat;
    content_mc.scroll_txt.embedFonts = true;
    content_mc.scroll_txt.html = true;
    content_mc.scroll_txt.WordWrap = true;
    content_mc.scroll_txt. Multiline = true;
    content_mc.scroll_txt.condenseWhite = true;
    content_mc.scroll_txt. StyleSheet = myCSS;
    content_mc.scroll_txt. Text = sXml;

    In order to get the CSS work around the dynamic text field settings, I use an empty TextFormat object tFormat.  The XML is loaded with ignoreWhite set to true.

    Anyone any ideas?  Or I do not see the wood for the trees?

    Concerning

    Rich

    as I said, it may be a bug.

    and "unexpected" wasn't a good choice of words.  I expected because I'm familiar with the issue, but you're right, I wasn't expecting when I first met it.

  • I need to find all of the XML elements and add a line break for the text of each of them

    I need to find all XML elements and to add a line break the text of each of them.

    Is it possible with a script?

    Try this piece of code as it is. I hope that's what you want...

    var myDoc = app.activeDocument;
    var inddRooElement = myDoc.xmlElements.item(0);
    var xPathElements = inddRooElement.evaluateXPathExpression("//*");
    var elementCount = xPathElements.length;
    for(var eId=0; eId
    

    ----------------

    Green4ever

  • Add a line break, at textItem.contents

    Hello

    I'm trying to change the contents of a textItem, so I need to add a line break...  I am content = '\n' with no luck, it will record a square.

    Any ideas?  Thank you very much

    -Jacques

    Use instead the \r

  • How to add a line break in shortDesc?

    How to add a line break in shortDesc?

    Hey Danny,

    I think you can't... but I did two work around to achieve this goal:

    1. in IE7 (not Mozilla Firefox) If you type a space between the words will be automatically pass the new line like:


    shortDesc = "firstWord... spaces... Second word"/ >

    2. you can use popup like a ToolTip like:








    Sameh Nassar

  • Add the line break in the field 'ask '.

    Hello

    I am trying to create checkbox with a personal message for my iExpense page. The comment to go here is long enough and puts in place a horizontal scroll bar that damages the look and feel. I tried to adjust without wrap to FALSE, but which is overridden somehow. Can someone suggest how I can introduce a line break in the Guest section... I tried html breaks etc obviously, but they are coming as the exact line breaks not as characters.

    Hello

    As I mentioned in my email, this region is a region shared everywhere ebiz, if we programmatically change which will affect all applications.
    I've updated the other thread (root problem) soln,.
    iExpenses-Help for customization of a Standard of Notification Workflow page. ,

    Thank you.

    With respect,
    Kali.
    OSSi.

  • How to add a line break in the message

    Hello

    I want to add a new line in the message.

    So, it looks like this.

    Test: line1

    Line2

    This message is based on the element of text field that is returned by a stored procedure.

    I tried with Chr (10), too. Nothing works. Can someone help me with this?

    https://Apex.Oracle.com/pls/Apex/f?p=9086:10

    My problem was
    has been printed as it is somehow.

    This problem is fixed inside the stored procedure as below.

    apex_application.g_print_success_message is capable of printing at the APEX.

    Thanks to all who have helped me on this.

    p_result: = ' ERROR: failed to update Bugno ' | v_bugno |', question ID ' | p_issue_id | »
    '|| SQLERRM;

    apex_application.g_print_success_message: = p_result;

  • How can I add a \n line break in a string?

    How can I add a line break in a string?
    \n doesn't seem to work.

    I'm passing a string to my message to the alert box, but the string is too long.

    Hello

    SQL> SELECT 'HELLO'||'WORLD' AS VALUE
      2  FROM DUAL;
    
    VALUE
    ----------
    HELLOWORLD
    
    SQL> SELECT 'HELLO'||CHR(10)||'WORLD' AS VALUE
      2  FROM DUAL;
    
    VALUE
    -----------
    HELLO
    WORLD
    

    BTW maximum lenth of alert is 200 characters. If character length will be more then 200 high he'll jump either you add new line or display the text as it is.

    -Clément

  • Help with automated line breaks

    I import a file large tagged text created using XML and .xsl style sheets in CS4. The file is data directory of company that are transmitted as a paragraph in columns. We usually use Ventura to create this document and Ventura could process phone, fax, e-mail, and URL in one word and it breaks not between the lines. InDesign is to break these fields on new lines automatically as it strikes characters '-', ' @ 'and'. '.

    Is it possible in InDesign or my stylesheet .xsl to allow only line breaks on spaces and not others?

    For example, I get:

    ABC Company

    1234 main St, downtown, É.-u.

    01234, 555-555-5555, fax: 111.

    111-1111, info@abccompany.

    com, www.abccompany.com

    I want to:

    ABC Company

    1234 main St, downtown, USA

    01234, 555-555-5555, fax:

    111- 111-1111,

    info@abccompany. com,

    www.ABCCOMPANY.com

    I don't want to automatically add a line break before each element as the length would differ for each list and take too much space with forced line break.

    Thank you very much for your help!

    Ah. Try this GREP style, once again with No Break:

    [^ ]+

    This allows to keep whatever it is separated by spaces only together.

  • drop-down list - option line break

    Is it possible to add a line break to a drop down list?

    Or change the width of the drop-down list when the user clicks to view the options?

    Some of the text I have is very long and you can't read it all.

    With the help of this question, I could get this job.

    https://forums.Adobe.com/message/2208564#2208564

    Displaying the XML Source Code and adding
    to produce a carriage return.

  • Adding line breaks in an as3 string variable?

    Hey guys

    I have two globals vars...

    Globals.Data.var1 = "test1";

    Globals.Data.var2 = "test2."

    I then add to...

    Globals.Data.Everything = globals.data.var1 + globals.data.var1;

    which, once traced...

    trace (Globals.Data.Everything);

    outputs...

    test1test2

    I want to exit

    Test1

    test2

    How do I do that? What I put in the code: globals.data.everything = globals.data.var1 + globals.data.var1;

    I figured out how to add a space:

    Globals.Data.Everything = globals.data.var1 + "" + globals.data.var1;

    outputs...

    Test1 test2

    But I can't understand how to add a line break.

    Thanks for your help on this one.

    Shaun

    You are welcome.

    Please mark this thread as answered, if you can.

  • V9 Acrobat JavaScript Alert Box - possible to add space or line break after each element of the array?

    I have a Document level Javascript used to identify empty mandatory fields and fires on shares of paper, print and save. The script identifies the required fields empty, counties and outputs of an alert box indicating the number of required fields empty and lists the name of the ToolTip fields. The script identifies the required fields with an asterisk at the end of each balloon.

    Is my question possible to add a space or a line break after the decimal point for each item?

    Here is a picture of the exit where the items listed are all grouped together.

    Alert box array items need space or line break.jpg

    Here is the code:

    function validateFields()

    {

    a counter for the number of empty fields

    var = 0 flg

    count all the fields of the form

    var n = this.numFields

    create a table to contain the names of the required fields

    If they are determined to be empty

    fArr var = new Array();

    Browse all fields and look for ones that are required

    all fields that have a ' *' in their ToolTip are required

    for (var i = 0; i < n; i ++) {}

    var fn = this.getNthFieldName (i);

    var f = this.getField (fn);

    ToolTip is the property of 'userName' of the fields\;

    TT = f.userName var

    test the ' *';

    If (TT. IndexOf('*')

    ! =-1 & & f.value == f.defaultValue) {}

    increment the counter of empty fields;

    FLG ++;

    Add the fields username (ToolTip) to the list of the names of fields empty.

    fArr [fArr.length] = tt;

    }

    }

    now display a message if there are blank fields

    if(FLG>0) {}

    App.Alert ("there are '+ flg + areas that require a value\n\n' + fArr, 3")

    }

    else {}

    This.Print ();

    }

    }

    The required property is very easy to use. It's just a Boolean (true/false) value, then you can use it like this in your code. Instead of this line:

    If (tt.indexOf('*')! =-1 & f.value == f.defaultValue) {}

    Use this:

    If (f.required == true & f.value == f.defaultValue) {}

  • Line break in the data field

    How to make a make a line break in a data field?

    In the contract manager, it appears as a line break, but when I print a report, there is no line breaks.

    It is a problem known to Oracle. They are working on a fix, but now know when the fix will be sent.

  • &lt; xsl: attribute name = "break-before" &gt; page &lt; / xsl: attribute &gt;-add blank lines

    Hello.
    < xsl: attribute name = "break-before" > page < / xsl: attribute >-add blank lines.
    When to transfer the lines to the next page with the command
    < xsl: attribute name = "break-before" > page < / xsl: attribute >, a new page at the beginning of a blank line, then the data. And so on all pages. If < xsl: attribute name = "break-before" > page < / xsl: attribute > removed, the XML Editor displays all the lines correctly.

    I can send RTF and XML files.

    Does anyone know how can I solve this problem?
    Thank you

    Send me the xml files and the [email protected] model. I'll take a look. Also, can you clarify your needs and deliver a little clearer in your email?

    Thank you!

  • Prevent line breaks in the field

    Hello
    Some of my fields contain phrases that should stay together instead of on a line break. For example, one of my fields is a date field (e.g. October 27, 2009) and I had liike the date field to stay together on a single line. Is it possible to control this?
    Many thanks for any help provided!

    Yes, you can count the characters in the previous line.

      if string-length(//YOUR_NODE) > 10 then
        ...do something.
      end if;
    

Maybe you are looking for

  • memories of filling is not on tvos

    Hi, with navigation problems in the collection of photos in about 10 photos tvOS scrolling to find older pictures takes forever. The feature of 'memories' is empty, saying: "I don't have enough pictures in my library" to make it work, which is not at

  • lost sim support

    Hello.. I bought a HD Razr on ebay without the sim tray, so I was wondering if it is still possible to put the SIM on it... This little piece is hard to find here... im not in the United States. Thank you.

  • Ultiboard DXF to Gerber Polylines do not convert to polygons

    Hello I am trying to import a DXF to ultiboard antenna file and export it as a file gerber.  The DXF has two layers, edge contour and copper, I chose merger to the Board outline and the copper top.  I also check the option "Convert polylines, polygon

  • Touchpad not responding

    Original title: My touchpad has an amber light on it and it won't work... I can only use a mouse. How can this be repaired? Sometimes just randomly. My touchpad has an amber light on it and it won't work... I can only use a mouse. How can this be rep

  • Unable to restore WMP9

    Hi I have a Compaq Mini NetBook with XP SP3. I have someone who wants me by the latter, but wants to use WMP9 which he knows - he don't like the UI of 11 and believes that it is too picky. I have been unable to remove WMP 11 with 'Add Remove Programs