LiveCycle Designer ES2 some scripted changes not preserved after Save

Hi,
I have some Text Field names that are changed by Javascript in certain Click Events. These renamed fields are used for navigation purposes in conjunction with xfa.form.resolveNode, and all works flawlessly until the form is saved, and re-opened.
After opening the saved form, all data entered is preserved, but the new Field names have not been preserved and resolveNode returns a null value.
The "Preserve scripting changes to form when saved" is set to "Automatically" in the Form Properties.
Any ideas/comments?
Thanks,
Ron

Hi Ron,
I don't think that you will get this to work. I suspect that when the form is reopened the Template DOM contains the original name of the text field and that this is used when the form is rendered.
You could test this with a temporary button with this is the click event:
console.println("Textfield name BEFORE remerge: " + TextField.name);
xfa.form.remerge();
console.println("Textfield name AFTER remerge: " + TextField.name);
You would click this AFTER your other script has changed the name of the text field. Also you will need to open the JavaScript Console (Control+J) in order to see the results.
Good luck,
Niall

Similar Messages

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

  • LiveCycle Designer ES2 global variable manipulation trouble

    I'm using LiveCycle Designer ES2.  I've created a global form variable and would like to increment and decrement it based on the state of many checkboxes across many subforms.  Ultimately, a script on a button will query the value of this variable and decide whether to display one or more objects.  I can't seem to get the variable to update (increment/decrement) and was hoping someone could give me some pointers on getting this done properly.  Thanks in advance for your help.
    Chuck

    How are you setting the variable? You could be able to set the variable by doing the following:
    variableName.value = "value";
    Note that all variables are strings. So to do arithmetic, you must cast the variable to a number then cast back to a string prior to assignment.
    //increment variableName by one
    variableName.value = (parseInt(variableName.value) + 1) + "";
    Also note that variables do not retain their state when a form is saved in Acrobat / Reader, so it cannot be relied on for forms that can be saved and revisited.

  • If I use adobe reader 7.0 to open LiveCycle Designer ES2, what will happen?

    Hi,
    I am planning to recommend adobe LiveCycle Designer ES2 as a forms designer software to a corporate client. But it seems that the client is still using the old version of adobe reader 7.0.
    So I need to know that is it essential to use adobe reader 9.0 for designer ES2, and if by adobe reader 7.0, what problem would be happen?
    It is very helpful If there is some detailed information about it.
    Thanks
    En Shoku

    Hi,
    When you design a form in LC Designer ES2 you can set the target version of Acrobat/Reader in the File > Form Properties > Defaults tab.
    While you can target v7, you need to be aware that some of the functionality in LC Designer ES2 is not supported in Reader v7. For example in LC Designer you can set the presence of an object to 'visible (screen only)', but this is not supported in Reader v7, so would cause a problem. So for each form you would need to set the target version and then check the Warnings palette to see if there are any problems.
    Check out the post by John Brinkman discussing Acrobat X, as this has a very handy table for the LC Designer/XFA Specification and Acrobat/Reader versions: Acrobat X and XFA 3.3
    XFA Version
    Acrobat/Reader
    2.1
    6.02
    2.2
    7.0
    2.3
    7.0.1, 7.02
    2.4
    7.0.5, 7.0.7
    2.5
    8.0
    2.6
    8.1, 8.1.1
    2.8
    9.0
    3.0
    9.1, 9.2, 9.3
    3.3
    10.0
    You can see there are alot of changes around v7 and that if the user has Reader v7.0.7, then you can utilise the features in XFA Specification 2.4.
    The other issue to be aware of is that users with Reader will NOT be able to save data in the form UNLESS the form has been Reader Enabled before the form is deployed.
    The form can be Reader Enabled in two ways:
    Using Acrobat Standard v9 or Acrobat Professional v7 or v8. Has licence restrictions, see EULA.
    Using a server produce called Adobe LiveCycle Reader Extensions ES2. Additional costs.
    Here is a summary of the options available to users with Reader, depending on whether the form is Reader Enabled AND how it was enabled:
    There is a post here and a PDF summary:
    http://assurehsc.ie/blog/index.php/2010/05/using-livecycle-forms-in-acrobat-and-reader/
    Hope that helps,
    Niall

  • Font Issue in Form created in LiveCycle Designer ES2

    I have a PDF form that was created originally from Word's Acrobat conversion tool. Now I need to add functionality thru LiveCycle ES2 and have imported the form into LiveCycle.
    There is a set of text running down the side which indicates it is Times New Roman (In LiveCycle). I have made the changes but have not touched this text at all.  The form is saved as a Static PDF.
    When opened in Full Acrobat or Reader, the text running down the side is no longer in Times New Roman, but Myriad Pro.  I don't understand why LiveCycle is changing the font on text that I did
    not edit at all. 
    My Livecycle Form Properties are set to Embed Fonts.
    Trying to understand what is going on with this font and any help would be appreciated as I've racked my brain all afternoon on this trying different things.
    (As part of my troubleshooting process, I reviewed the original Acrobat form and in Acrobat that same text indicates the original font used for that text was Times New Roman PSMT and if you wanted to edit it, Acrobat would substitute Times New Roman. Not sure if this helps but thought I'd mention this....)
    4/18/14 UPDATE - ISSUE FIXED FOR NOW
    My original process above was to import the PDF into LiveCycle to Dynamic XML. The text would appear as Times New Roman but after adding functionality and saving, Livecycle continued to convert the text from Times New Roman to Myriad Pro. Embedding fonts and checking substitution list did not resolve.
    After spending the day trying to get LiveCycle to save the PDF and keep the problem text in Times New Roman, I finally reimported the original Acrobat PDF form into Livecycle all over again but this time as a Fixed Page Layout, where the document gets imported as artwork and cannot be edited. I then added functionality in Livecycle and resaved. 
    Message was edited by: LBarton

    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

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

  • Validating Yes/No Check boxes in Livecycle designer ES2

    Hi everyone,
    I need to validate 5 questions that have yes and no check boxes for "insured" "Spouse" and "Dependents" in one section of my form in LCD ES2 .  I am looking for a javascript code that can check if for each ("insured" "Spouse" and "Dependents")  5 questions has at least a yes or no checked under each and if not an error message is produced.  Thanks for any help you can provided.
    Thanks
    Jagan

    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

  • 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

  • How secure are livecycle designer ES2 forms?

    When a form is created using livecycle ES2 - are the responses submitted over email then secure?
    Ie. when both submitted or attached (as required with yahoo & hotmail accounts)

    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

  • LiveCycle Designer ES2 - There are no pages selected to print Error

    I have recently updated by forms to liveCycle Designer ES2 and Adobe Acrobat X.  We are experiencing an issue with printing the form that was updated to use ES2.  When send it to the printer we get 2 error messages and it doesn't print.  First Error: "The Document could not be printed"  Second Error: "There were no pages selected to print".
    I am not sure way I am getting these errors now but it is becoming a large issue.  Other PDFs not created in liveCycle Designer ES2 print fine.  Also it is not just one computer that doesn't print it is at least 20 computers (windows 7, adobe reader 10.1).
    Any help would be appreciated.
    Thanks,
    Josh

    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

  • Script does not work after download

    Hi,
       I have build a form in SAP enviornment using Adobe Life Cycle designer, while designing I have been using XML datasource and wrote scripts for different events on the elements of the form, the script works perfectly fine while designing, but fails when downloaded through an application. I downloaded form and to check if the scripts are still there or not, the script was present, but would not simply execute, for ex. while on clicking of button, certain fields on the form are to be hidden, but this would not work.
    ex. this.parent.parent.StaticText39.presence
    = "hidden";this.parent.parent.STELL_STEXT.presence
    = "hidden";
    The above scripts work perfect durong designing the form, but would not work after form is downloaded through an applciation. Could any one have answer to wierd behaviour?
    Regards,
    Shishir.P

    Was the form saved as a dynamic XML form?
    While the default preview in LiveCycle Designer may be set to dynamic XML form, thus providing the dynamic behaviour you are seeking, if the form is not saved as a dynamic XML form Adobe Reader and Acrobat will not respect the changes to the presence property at run-time.
    Steve

  • Does LiveCycle Designer ES2 support developer plugins?

    Do the Designer products themselves support writing custom plugins through some SDK or API? Similar in nature to writing a custom plugin for Photoshop, allowing a custom user interface that can fully interact with the current document? I see a lot of information on the Internet about the ability the ability to do plugins and other custom functions for LiveCycle but not LiveCycle designer.
    Any information on this would be appreciated.

    Hi,
    Not sure if I got you post right, but I suspect that there are several plugins available for the enterprise suite of LiveCycle (for example www.avoka.com). However I am not aware of specific plugins for Designer that affect the UI for the users.
    John Brinkman has a blog on the new ability for developers to set up macros for Designer. However this is a new feature and not fully supported. In addition you would need LC Designer ES2 (v 9). See http://blogs.adobe.com/formfeed/2010/01/designer_es2_macros.html
    Windjack Solutions www.windjack.com have several plugins for Acrobat. Some of these can be used to create custom buttons and dialogs. These are developed in Acrobat, but the javascript can then be used directly in LC Designer. These give your users a custom look and feel. AcroDialogs is a particular favourite.
    Good luck,
    Niall

  • Adobe LiveCycle Designer 8 - Crash (Memory could not be "written")

    I was using Adobe LiveCycle Designer 7.1 for the past half year. All of a sudden, it started to crash - Memory could not be "written".
    During that period I heard quite a lot about Adobe's bugs, so I decided to install Adobe LiveCycle Designer 8.0 hoping to see improvement over software stability and compatibility.
    Of course I uninstalled the older verion, deleted the older file folders then did a clean-install of 8.0
    Interesting enough, the first time I open up Adobe LiveCycle Designer 8, everything went normal. Without doing anything, I closed it then tryied to re-open it, the splash screen shows up then nothing happens - not a single error message.
    Then I tried the following:
    1. restarted PC. Tried the open-close-reopen squence, same thing happened.
    2. uninstalled 8.0, deleted the folders, reinstalled 8.0. open-close-reopen, same thing happed.
    2. uninstalled 8.0, deleted the folders, reinstalled 7.1. Open LiveCycle Designer 7.1 -> Crash (Memory could not be "written")
    Findings:
    1. the errors are consistent
    2. it can open ONLY once, is this an activation issue? is there a corrupted file?

    Well when I tried to open the sample project I got this error:
    "Open project was cancelled or the application was unable to load database for "C:\PROGRAM FILES\Adobe\Adobe RoboHelp 8\RoboHTML\Samples\en_US\CCC\CCC.cpd""
    I couldn't delete the CPD file because this client has locked down the computer to the point where I cannot do anything more than view the files in the program folder. Without having the ability to write to the program files folder is it possible this is an issue? Or is it ok that I do all the creating content in the RoboHelp Project on the C drive?
    It allowed me to copy the Sample folder to the RoboHelp Project folder on the C drive. I deleted the CPD file then opened it without a problem.  I created a topic and added some content, but nothing happened. When RH8 crashed before there was no rhyme or reason and I cannot duplicate the error. Just seems very sponataneous.
    I need to finish the style guide project today, but I will also play with the sample folder and see if (1) it happens again and (2) if I can figure out how to duplicate the error consistently. The first 2 times I had been in the new topic and wrote several paragraphs without saving it. Can't remember how long from topic creation to crash. And I can't remember if it crashed on trying to save or not, but I'm pretty sure I had not tried to save prior to the crash.
    Regards,
    CJ

  • Adobe LiveCycle Designer ES2 email button question

    I am using Adobe Lifecycle Designer ES2 to create an Adobe Acrobat X pdf form. The form uses a checkbox to select different options, and then the form is sent via e-mail to a specific e-mail address. I am wondering if it is possible to script the following option when sending the e-mail:
    I have a dropdown list box where a person's name is selected e.g. John Smith.    Depending upon which person is selected, is it possible to include their name in the cc field of the e-mail message, so that John Smith is appended to @abc.com  for an e-mail address of [email protected]
    Any help would be greatly appreciated.
    Thank you.

    Hi,
    You can do the following:
    You have to use a normal button!!
    Please copy the following code in the click-event of the normal button!
    You have only adapt if the name of your DropDwonList is not the same ( in line 1 and line 4)!!
    If the user don't use the DD the buttons don't works. The button works if the user select any emal of the DD.
    if(DropdownListe1.rawValue != null)
        //fill in e-mail
        var Mailto = DropdownListe1.rawValue;
        //var Mailto = "[email protected]";
        //fill in subject
        //var YourSubject = Formular1.s1.subject.rawValue;
        var YourSubject = "Test Subject";
        //fill in message
        //var YourMessage = "Content PDF:\r" + "Field content: " + Formular1.s1.inhalt.rawValue + "\rName: "
        var YourMessage = "This is a test message.\r2.row start here.\r3.row here.";
        //fill in e-mail cc
        //var CC = Formular1.s1.emailcc.rawValue;
        var CC = "[email protected]";
        //fill in e-mail bcc
        //var BCC = Formular1.s1.emailbcc.rawValue;
        var BCC = "[email protected]";
        var Mail = "mailto:" + Mailto + "?Subject=" + YourSubject + "&Body=" + YourMessage + "&cc=" + CC + "&bcc=" + BCC;
        //cSubmitAs: "PDF" send the pdf as attachment
        //cSubmitAs: "XML" send the pdf as xml-attachment
        event.target.submitForm({
        cURL: Mail,
        bEmpty: true,
        cSubmitAs: "XML"
    Hope it will helps you,
    Mandy

  • Uninstall LiveCycle Designer 9 via script

    Hello,
    I am having issues with LiveCycle Designer 9 that got installed inadvertently with a mass roll out of Acrobat 10.1.8 via SCCM.
    I am in a very large environment (80,000 + systems per network covering 3 networks) and during our deployment of 10.1.8, LiveCycle got installed.  Well now we are faced with the large challenge of uninstalling it.
    What I need is for someone to help me with a .bat file that we can use with SCCM to uninstall LiveCycle Designer 9.
    I may be blind, but I have not been able to find anyone on the web that has done this and can’t find it in the Adobe forums. 
    Any ideas or has anyone successfully done an automated uninstall of LiveCycle Designer 9?
    Thank you.

    I'd contact Adobe support.

Maybe you are looking for

  • I want to remove iCloud (shock, horror) because its like pulling teeth...

    Hi.. I wish to delete iCloud and revert to my mac running as before. This is because of many issues but mostly because my mac (which has been trouble free for 3/4 years) is behaving badly, as well as my other devices. So much so that I am sending it

  • How can I get refund codes back after deleting the e-mail?

    A mistake by iTunes had me purchase Taylor Swift's Red album for full price even though I had previously purchased a few singles. iTunes sent me an e-mail with some refund codes, but I can no longer locate the e-mail. I looked on my account under "Gi

  • HT5295 Can you stop autoplay in the Podcast app?

    Is there a way to stop the Podcast app from automatically playing the next episode? It goes into streaming the next episode if it's not downloaded, and I don't want to be running my data while out.

  • Temporary image persistence in a 27inches iMac

    Hello guys. My iMac(27 inches, late 2012) had a strange issue 2-3 hours ago. This is the second machine I got, as the first machine I had received suffered from heavy image persistence and it was replaced. So, I have had this second machine for six m

  • c:import   import jsf page

    I make one template jsf page (buttons.jspx) with backing bean and pageDef. Than I make page (employees.jpx) in which I put page buttons.jspx with <c:import url="../../../template/buttons.jspx>, but when I make second page (department.jspx) in which I