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.

Similar Messages

  • 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.

  • How do I lock fields with designer?

    I mean after someone enters some info and tabs out of the field, I want it to lock, or set to read-only. You can do it with acrobat, is it possible in LIveCycle?

    You need to change the access to "readOnly."
    Let's say your field is called "EnterText." It would look something like this:
    EnterText.access = "readOnly";
    Then, to open it again, make it
    EnterText.access = "open";
    I would put the script in either the "change" or "exit" event. Hope that helps!

  • Designer Crashing with floating fields

    I am using Designer 8.0. I have not figured out exactly what the cause is but Designer is crashing pretty regularly whenever I try to use a floating field. It seems like it is related to putting something in the calculate event of the field.

    This was in 2008 so i cannot remember ...if you send the form and a description of the issue I will have a look. Send it to [email protected]
    Paul

  • Adobe LiveCycle Designer 8 floating fields

    We have several PDF templates for our customers. We created an editable text field with a lot of default content in it. The customer is able to modify this content.
    Is it possible to add floating fields in a Text Field? (in the object - value - default). I know it is possible to add floating fields into a Text label but as far as I know it is impossible to edit Text labels in the PDF template.
    Any advice/information would be nice!
    Steven De Smet

    Hi,
    I have same issue mentioned below. Any idea on how it can be resolved in Adobe LiveCycle Designer.
    We use iText as well to generate pdf from forms created through live cycle designer.

  • Union two tables with diffrent count of fields with null and float value

    Hello,
    i want to union two tables, first one with 3 fields and second one with 4 fields (diffrent count of fields).
    I can add null value at end of first select but it does not work with float values in second table. Value form second table is convert to integer.
    For example:
    select null v1 from sessions
    union
    select 0.05 v1 from sessions
    result is set of null and 0 value.
    As workaround i can type:
    select null+0.0 v1 from sessions
    union
    select 0.05 v1 from sessions
    or simple change select's order.
    Is any better/proper way to do this? Can I somehow set float field type in first select?
    Best regards,
    Lukasz.
    WIN XP, MAXDB 7.6.03

    Hi Lukasz,
    in a UNION statement the first statement defines the structure (number, names and types of fields) of the resultset.
    Therefore you have to define a FLOAT field in the first SELECT statement in order to avoid conversion to VARCHAR.
    Be aware that NULL and 0.0 are not the same thus NULL+0.0 does not equal NULL.
    In fact NULL cannot equal to any number or character value at all.
    BTW: you may want to use UNION ALL to avoid the search and removal of duplicates - looks like your datasets won't contain duplicates anyhow...
    Regards,
    Lars

  • 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

  • Livecycle Designer ES2 Windows -- Disable purple field borders?

    Hi all --
    I'm new to the majority of the Adobe Suite, but not to many similar programs. I'm making a complex form in Livecycle Designer ES2 and many of the fields are close together in a grid-like fashion. The problem is the light purple border that shows up on a field when you click on it. It obstructs fields around it. I have to constantly click away from a selected field to clear my selection if I want to click a nearby field.
    Is there a way to turn off this border?
    Thanks in advance.

    Thank you, Niall!

  • 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.

  • FormsCentral - design form : Initialize form field with default value

    Hello,
              My customer asks me to initialize text fields with default values. Example , Name , email , phone number etc to be displayed by default till it is overwritten by values entered. Could you please guide me how to achieve this ?
    Many Thanks,
    Sree

    Hi,
    see Re: sequencing problem-Forms
    Regards Michael

  • Livecycle Designer Es2 Crashes with Fragments

    I have a fragement that I want to use in a form.  I also want a slightly different version of that fragment to use everywhere.  Each time I try to save a copy of the first fragment and try to load it, LC always crashes.  I really need to be able to get fragments to work as I need to have variations on the reports
    I am on version 2.5 and on windows 7. The error I get is
    Problem signature:
      Problem Event Name:          APPCRASH
      Application Name:          FormDesigner.exe
      Application Version:          9002.4179.2.0
      Application Timestamp:          4feae299
      Fault Module Name:          MSVCR80.dll
      Fault Module Version:          8.0.50727.4940
      Fault Module Timestamp:          4ca2b271
      Exception Code:          40000015
      Exception Offset:          000046b4
      OS Version:          6.1.7601.2.1.0.256.48
      Locale ID:          1033
      Additional Information 1:          4baf
      Additional Information 2:          4bafb927a2ab11ada2032d1c0cdb9188
      Additional Information 3:          640d
      Additional Information 4:          640d2f3556a370f6f2c56ebc59b5bcde
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

    Does anyone have any tips on how to resolve this?  My LiveCycle form is a dynamic form.  It seems like livecycle Designer ES2 has corrupted it or designer ES2 has a bug that makes reader and acrobat print engine not recognize the pages.
    Any help would be great.
    Thanks,
    Josh

  • Redistilling an Encrypted PDF - Acrobat 9 Pro Extended & Livecycle Designer ES2

    Hello There - a little help or advice please!
    I have created a very comprehensive interactive form in Livecycle Designer ES2, complete with many interactive buttons (visible screen only).
    This document is then completed on screen in Acrobat or Reader which all works fine.
    For the end user, a copy of the completed and processed form need's to be distributed, purely as a Read Only document which allows no copying of text or images. I can apply these settings via Security Management in Acrobat which is fine, but all of the interactive buttons are still visible on screen and for some reason the email submit button is still active.
    The perfect solution would be to use Adobe PDF printer as it also reduces the file size (which works fine with No security settings) however I am aware that encrypted files cannot be redistilled which is what I really need. Unfortunately I cannot have end users having the ability to copy the images or text within the read only document.
    I've seen on the Livecycle ES2 forum that it would be possible to lock all the fields by adding script and hence make the fillable form non fillable, but it is removing the buttons and stopping the ability to copy text / images I am slightly more interested in. Any advice would be gratefully received especially if there may be a workaround.
    Thankyou!

    I can't open the Form Tools though is what I'm saying. When I open the document in Acrobat 9 Pro I have no form tools.
    I have to go to [Forms] -> [Edit Forms in Designer] in order to open the form tools.
    Only when I select to open in designer I do not get the Acrobat Pro Designer, it automatically opens the document in LiveCycle and I have no option or ability to change the document designer to Acrobat Pro.
    Is there some way I can "Force" the docement to open in Acrobat 9 Pro designer JUST so I can add the print button?

  • 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

  • Help, please -  I need a box to pop-up when user hovers over a field with their mouse??

    I created a form with several drop-down fields / questions.  I would  like to create a box that pops up when the person who is filling out the  form hovers over the question/ field with his or her mouse.  The box  would contain additional information about the question that the person  might consider before they select the answer.  I don't want to clutter  the form (and not all form-filler-outers will want or need to see the  additional information) so I want it to pop up when the person hovers  over the question with their mouse.
    Can someone provide some help with how I can do this?
    I'm still new to this.
    Thank you!!!

    Hi,
    To follow on from radzmar, here is a summary of the features that are available/restricted depending on how you deploy your form.
    There are two ways to apply Reader rights, one is using Acrobat Standard (v9) or Acrobat Professional (v8). The other is using an Adobe server product called LiveCycle Reader Extensions ES2.
    You don't need script to apply the Reader rights to your form. Once you have applied the rights, users with Reader will be able to save the data in the form, however there may still be other restrictions in place, like attaching documents to the form or exporting XML data.
    There summary is also available in PDF, with screen shots, here: http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
    Hope that helps,
    Niall

  • How to avoid multiple DataConnections with LCD ES2

    Hi, we are just starting using the data connections to connect via a database with LiveCycle Designer. It seems we are missing something important regarding to manipulation of data from the PDF.
    At first we have tried to apply a INSERT command to our first table and be able to browse through the items in the database. We are able to browse through the database only before we have inserted something.
    If we insert an item and then try to browse through the database with (Next, Previous, Last or First) it will crash and have an error of the following :
    (Next, Previous, Last or First) failed. Multiple-step operation generated errors. check each status value [ID:@11]
    So then we have decided to create a second data connection which would have each of the column in the database except for the ID which appears to make everything crash.
    E.G.:  Table_1
    DataConnection1 --> ID, Field1, Field2, Field3, Field4          SELECT Command connection
    DataConnection2 --> Field1, Field2, Field3, Field4               INSERT Command connection
    Seems like we can't have a SELECT and INSERT in the same DataConnection because with those 2 different connections it works fine....
    Then we are trying to show multiple data's in a table which is linked with the ID of the Selected ID in DataConnection1.. To show the data is all fine using a 3rd connection for that Table_2, then we are making sure a blank row is always there at the end of the table to be able to add this new entry to the database with a Add button to INSERT into the Table_2... Unfortunately we do not have a 2nd connection to that table because we cannot link those fields with the database for the purpose of a multiple entry view.
    We have tried to make a 2nd connection for the purpose of the INSERT but it doesnt work at all.
    We are basing ourselves on the sample provided by Stefan Cameron in his blog http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/
    I am wondering if we are using the right functionalities and if it is the simplest way to work with databases...
    If anyone can help, it would be greatly appreciated!!
    Thanks in advance!
    Mag

    Don't forget to activate the RESOURCE_LIMIT parameter, which default is FALSE :
    alter system set RESOURCE_LIMIT = true;
    Laurent, I had a similar problem some time ago : I didn't want to avoid multiple access, but only control who was doing what. That's because moving from Client/Server to Web the TERMINAL column in V$SESSION becomes useless.
    I tried your solution, but I had to give up with it, because in my Forms9i application some forms call Reports, which generate a new session.
    I decided to use DBMS_APPLICATION_INFO, and this is satisfactory for my requirements, but I'm interested to discover other solutions.
    P.S. with my solution I'm able to limit accesses, because in the CLIENT_INFO string I put, among other things, the
    application user, so I can control if an user is already connected. The problem is that existing applications have to be modified .....:-(

Maybe you are looking for