Floating Fields

I am trying to add a Floating Field into the body of some text on my form.
This field will simply add the first name of the customer into the text paragraph.
When I select the location where I want the field and insert it, {TextField} appears.
I then create another text field (also named TextField) on the form that I want to link to this one.
However, the customer's name never appears into the floating field.
Is there a proper way to link them?
Thanks,
MN.

If I understand correctly, you want the floating field to reflect what someone has typed in a field somewhere else? So if they type in their name as Hubert, when they scroll down the floating field will also show Hubert?
If that's correct, then I don't think it can be done, as floating fields are basically variables in static text, and I don't think static text can dynamically change like that after the form is rendered. Floating fields need to be bound to some data source (ie: xml data, or database) where the value is available before the form is rendered.
You could probably do what you want using a Text Field instead of a floating field, but you wouldn't be able to inbed the Text Field in static text (though you may be able to design it so that the user doesn't realize this).
H.

Similar Messages

  • Background fill floating fields?

    Is there a way to background specific text within a text object? I'm trying to shade my floating fields. It looks like the background fill
    only applies like borders, so it only applies to the entire text object.
    I know you can change the color of words within a text object. Seems like the ability to background fill particular words should be a basic feature.
    Thanks

    I figured this out. When you create the static text object at design time, make sure that it has a word with a different colour or font or something. That will ensure that its value property contains an exData object with contentType="text/html". Now you can change the contents at run time with (I've replaced the angle brackets with {}):
    var theXML = "{body xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:xfa=\"http://www.xfa.org/schema/xfa-data/1.0/\" xfa:APIVersion=\"2.5.6290.0\"}{p style=\"text-decoration:none\"}The{span style=\"xfa-spacerun:yes\"} {/span}{span style=\"color:#ff0000\"}quick{/span} brown fox.{/p}{/body}";
    StaticText1.value.exData.loadXML(theXML,true);
    Jared Langdon
    www.jlangdon.ca

  • Determine the number of lines of textfield or floating field

    Hi,
    Is there a way to determine the number of lines of text in a textfield or in a floatingfield.
    My problem is that I'm creating a form with three tables(made of subforms) underneed each other that needs to be set to hidden when the total of rows is greater than 25.
    Now it would be easy to just count the rows but these rows can exist of multiple lines of text.
    The fields of my row are floating fields so when the text is bigger than the displayable width the text continous on a new line in the same row. So I need to know when this happens because now I can show only 24 rows.
    I tried counting the characters but this doesn't work, when there are a lot of 'i,j,l' or other small characters I can place 40 characters in my textfield, but when there are a lot of 'm,w' characters I can place only 22 characters in my field.
    I also tried to use xfa.layout.h(TextField1,"cm") to determine the height of the field, but it always retuns the value -1. I get the same -1 with the y or x - position.
    Does anybody have an idea how to solve this problem?
    Thanks in advance,
    RonnyR

    oops ... i got it thanks.
    code below -----
    for(var i=0; i <= s.length-1; i++)
    sCurrentLetter = s.substring(i,i+1);
    if (s.charCodeAt(i) == 13)
    // this is a line break

  • Generic data source with float field possible?

    Hello,
    when creating an generic data source using a view with a float field I get error R8359 (extract structure: You tried to generate an extract structure with the template structure .... This operation failed, because the template structure quantity fields or currency fields, for example, field ... refer to a different table.).
    I changed the data element from ATFLV to e.g. FLOAT but it did not help.
    SAP hint 335342 deals with this issue, but I just want to use the float number without the unit.
    Is this possible or do I need to write a function module?
    Best regards
    Thomas

    Hi,
    you could try to add the unit table and field to your view. When saving the datasource in RSO2, you can choose to hide these fields if you don't want them extracted into BW.
    Regards,
    Øystein

  • Comparison with a float field

    Hi,
    I have to compare two float fields, one fetched from database and one passed as importing parameter.
    Now, i get "0.1" as a value in importing parameter for comparison. and the same is stored in the database, i.e. "0.1".
    But when I put a select query on the table and read the value, the value i get is 9.9999999999999995E-02.
    as a result, my comparison fails and the rest of logic crumbles.
    I am aware of the usual standard - not to compare two float variables, but in this case, it is a equipment reading - it has to be in float, which i am comparing against a threshold, which again has to be float.
    Is there any way to fix this through ABAP program?

    There are no conversion exits for floating type of data fields.
    The fields used for comparison are MRMIN, and MRMAX from the table IMPTT.

  • Newbie and floating fields

    Hi, I'm a newbie to LCD and I'm currently working with LCD as apart of my job... I'm currently working on and XDP that has floating fields defined within the document, i.e. {floatingfield} however within my XDP there is a piece of text defined as %signature% does anybody know what the %'s indicate/mean?
    Is there any useful guides for a newbie to LCD.
    Thanks

    Sorry,
    Here is the good one !
    https://workspaces.acrobat.com/?d=QOygMhCwFneyv8Tr1VskTA
    Many thanks

  • Floating Fields CSS2 directives not honored

    I have a form whose boilerplate will be dynamically populated based on a XML file. The variable content is bound to a floating field, and there is a draw that references this floating field. The issue is that the orphan and page break control CSS tags (orphans, widows, page-break-inside) are not honored when they are referenced from a floating field. See referenced form.
    https://files.acrobat.com/a/preview/3ee15572-bbd8-4269-97fa-cf5a507709ea

    I have a form whose boilerplate will be dynamically populated based on a XML file. The variable content is bound to a floating field, and there is a draw that references this floating field. The issue is that the orphan and page break control CSS tags (orphans, widows, page-break-inside) are not honored when they are referenced from a floating field. See referenced form.
    https://files.acrobat.com/a/preview/3ee15572-bbd8-4269-97fa-cf5a507709ea

  • Floating Fields with Designer ES2

    I just did an upgrade to Designer ES2.
    I created a new form with static textfields and floating textfields
    then i created a button that filles the floating field with a text using javascript.
    xfa.resolveNode("form1.#subform[0].Textfield1").rawValue
    = "it doen't work";
    But it doesn't work
    When i make the floating field visible, so i see the normally hidden field, the i see that the script works, but that te tekst doesn't show in my static textfield
    Anyone else with this problem?
    Can anyone tell me what i'm doing wrong?
    In the previous Designer ES it worked fine and opening those forms in ES2 still work
    But creating a new form with a floating text doesn't work

    I reinstalled Both Designer 8.x and ES2 several times, but i have the same problem with both versions.
    Now i only have Designer 8.x installed on my WinXP.
    i created a new empty form and add a static text field and a button.
    within that static textfield i insert a floating field.
    i add a Formcalc script to the click function of the button: Field.rawValue = "hello"
    i save it as a dynamic form.
    preview the form and when i click the button nothing happens
    Then i change the presence of the floating field to visible, so a normally hidden field is visible
    Now without changing anything i preview the document en click on the button
    Now i see the text in the field i just made visible, but still not in the static textfield where i inserted that floating field.

  • Floating Fields with .replace()

    Hi All,
    I'm having a problem with my floating fields.
    I have a variable declared in my function (floatingFunction), lets call the variable sPara.
    to sPara I assign a long Paragragh for example; sPara = "I, the undersigned FN in my capacity as a CP..." 
    In my hierarchy structure I have foating fields: fullName and capacity and an empty text call it displayfield, these three are in a subform hdDisplayText
    I also have  textfields called fullName & capacity.
    On exit event of the fullName textfield I have these two lines :
    header.hdDisplayText.fullName.rawValue= this.rawValue; floatingFunction.sPara
    = floatingFunction.sPara.replace('FN', this.rawValue);
    and on prePrint event of hdDisplayTest subform I have this:
    this.presence= 'visible';displayfield.rawValue
    = floatingFunction.sPara;
    When u click the print button for the first time it works fine, now the second time you enter a different Full Name and click print, it still prints what you entered the first time, now that is my problem, I've tried xfa.host.resetData(); after printing but that didnt help. Please assist, please.

    Ok I got it, I 'nm using xfa.form.remerge() just after printing.

  • Floating fields and added pages

    Hi everybody,
    My problem is to know how I could bind some floating fields when I get several pages. The user fill in the page 1 of a form and the text appear on the page 1 and on the two following cards. But, but it doesn't work when I add many pages. The text is different on the page 2 and so on.
    Here is a link to the file.
    https://workspaces.acrobat.com/?d=4odkUJkUHtogzw2VDmU9ww
    Many thanks for your help

    Sorry,
    Here is the good one !
    https://workspaces.acrobat.com/?d=QOygMhCwFneyv8Tr1VskTA
    Many thanks

  • Hide floating field

    Hi everyone,
    I know this is pretty comon question. But somehow its not working for me so pls help.
    I have a text element with 4 floating fields in it one below the other. I want to hide the 3rd floating
    Field if it has null value and the 4th floating field should move up to the 3rd floating field position. I tried java script on the 3rd floating field, also tried wrapping all the elements in a subform and had a java script at subform level. Still did not work. Please suggest.
    Appreciate your help.

    Hi,
    Is there any reason for its being a floating field...?
    If i were you I do the below.
    Lets say you have 4 fields to be displayed one below the other in the text object.
    So for these fields I create hiddenfields rathar floating.
    On the text object I have on floating field.
    On the form ready event of this floating field, I concatenate the 4 hidden fields value excluding the null ones and separated by "\n". "\n" is for javascripting new line.
    There might be otherway which I am not aware of.
    But this is simple....what do you say ...?
    Cheers,
    Sai.

  • What am I doing wrong when trying to create a floating field?

    I am trying to create a floating field that is 'connected' to a global Text field. To my opinion I followed all instructions as in the help file, but it doesn't seem to work. Anyhow, the information I type in the text field does not pop-up in the text. I have setup the floating field as follows:
    Type = Text field
    Appearance = none (I do not want a box or something around the text)
    Field format = plain text
    Presence = hidden (excluded from layout)
    Value = calculated (read only); I have tried all other options too, but nothing seem to work
    Calculation script
    Binding = global (and name is the name as used for the text field)
    I have used another text field that is connected to the same text field as referred to above and that works just fine.
    What am I doing wrong?
    Can anyone help me out here?
    Thanks!

    If anyone is following this thread, I found the solution to my problem where the Floating Fields did not work.  BTW, I am using LiveCycle Designer ES 4.
    Under Form Properties/Defaults, you need to change "Choose Target Version" to "Adobe and Adobe Reader 9.1 or later".  Save the change, and floating fields should work now. 

  • Printing 2 copies of a document where a floating field change

    hi experts,
    Context:
    I have an interactive form compiled by a user.
    when compiling is finished, I'd need to print 2 copies of that document; the 2 copies are exactly the same but a floating field that has to change, i.e. 'Copy for ME' and 'Copy for the CUSTOMER'.
    Placing  2 print buttons it's not a problem, in the first button I set the Floating field to 'Copy for ME' and send a print command, in the second I do exactly the same with the 'Copy for the CUSTOMER'.
    Which is the best strategy to print those 2 copies clicking the print button only once and showing the printing window only once with the whole printing spool (2 copies)?
    Best regards,
    Dariush.

    Try this in a click event of a "Print Form" object:
    form1.#subform[0].PrintButton1::click - (JavaScript, client)
    // First copy (with printer dialog):
    xfa.host.messageBox("Company copy (send this copy for blah blah blah)","Printer:");
    TextField1.rawValue="COMPANY COPY";
    xfa.event.re
    xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
    // Second copy (without printer dialog):
    TextField1.rawValue="CUSTOMER COPY";
    xfa.host.messageBox("Customer copy (save this copy for blah blah blah)","Pritner:");
    xfa.host.print(0, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
    The problem is messagebox. if second messagembox line is omited, no changes shown in texfield1 fields .
    First messagebox can be ommited but second messagebox sentence is mandatory.
    Other idea is using "post print" event for "reprint" entire form but untested for me.

  • Line breaks within contents of floating fields

    Hello everyone,
    I have the following question regarding the usage of floating fields and line breaks:
    I have a text that incorporates a companies name using a floating field.
    If the name of the company is too large, a line break is forced automatically. In some cases the companies name is like "Company 123 N.V.". When the line break is forced on this company, its shows "Company 123 N." on the first line and "V." on the second line.
    How can i prevent the line break at "N."? I suppose the break is because of the "." in the text. But I want it only to be a line break if the "." is followed by a space, not if there is more text to it.
    The same sort of issue we face with floating fields containing for example telephone numbers ( format: "+31 (0) 20 - 123 456 1", line break at the "+", "(" or the spaces) and e-mail addresses ( [email protected], line break at the "@" or the ".") .
    Thanks for any reply on this.
    Regards,
    Joris

    I have the same problem. Does anyone have an answer for this one, please?
    Thanks,
    Vanessa

  • Suppressing Footer by Sum Summary Problem - MSSQL float field?

    I'm evaluating CR2008 and came to a problem I can't find an answer to.
    I'm summarizing quantity of shares in a transaction log and if the sum is zero should suppress the Footer as there is no quantity to report.  This works for 95%+ of cases but there are instances where the zero is not being supressed.  I'm not sure this is a problem with MSSQL's float field or if it is a problem with CrystalReports.
    I have a suppression formula as follows:
    If Sum({Transactions.Quanity, {Securities.Description}) = 0 Then
        True
    Else
        False
    This works as I stated for most instances.  But some it will display a 0.0000000000 (testing with the largest rounding and decimals to see if there is a rounding problem).
    The values are stored in a MSSQL database and the quantity field is of type 'float'.  As a test I queried the database for one of the failing instances with query "select quantity from transactions where portfolioid=XXXX and symbolid=YYYY".  This returns 52.732 and -52.732.  If I where to change the suppression formula to
    If Sum({Transactions.Quanity, {Securities.Description}) <= 0.0000000001 And
    Sum({Transactions.Quanity, {Securities.Description}) >= -0.0000000001 Then
        True
    Else
        False
    the suppression works correctly.  Could someone shed some light on this issue?

    Debi is the one that is correct but it still is something weird about it.  When I do the multiplication by 10000000000, I get some trailing fractions converted into a zero value as expected like 527320000001.  But if I do the same multiplication in an query on MSSQL, ie. "select quantity * 10000000000 from transactions where portfolioid=XXXX and symbolid=YYYY" I do not get the trailing fractions but the numbers I would hope to get 527320000000.  Somewhere along the way the float is converted into a number on CrystalReports and the fractions are not kept as is on database.  Null values are not allowed on database schema so those would not be an issue.

Maybe you are looking for

  • Oracle Reports 10g Error Codes Details

    Hi, I would like to know which documentation will give me the details for the description and category (Warning/Fatal Error/User Error) for all the possible error codes that can be reported by Oracle 10g while the excution/scheduling of reports. The

  • How to load .cod files in BB Device ?

    Hello Experts,     I want to load CommonClient.cod, MessagingClientApp.cod, MessagingClientSettings.cod, MocaClient.cod, WorkflowResources.cod files for My workflow application but in Blackberry Desktop Manager , its allow me to load only .alx file.

  • Does HP sell a USB extension for the finger-print reader in an Elitebook 8540p?

    I have an Elitebook 8540p. I can use the fingerprint reader to log in to Windows when the screen is open. However, when the laptop is 'docked' the screen is closed, covering the built-in finger print reader. Does HP sell a USB fingerprint extender or

  • Protected Field in Purchase Requisition

    When a certain scenario occurs in a Purchase Requisition the G/L Account field is not changeable. I would like to make it changeable. Is this possible in SPRO Screen layout, or other way?  Thank-You

  • JCheckBoxMenuItem - border

    Hi all, I have a JMenu. It has a menu item "JCheckBoxMenuItem". I can select it. So I can see the check sign. I can also unselect. But unfortunately the border of the CheckBox (square) does not appear. I am implementing on XP and using UIManager.setL