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

Similar Messages

  • Make a check box in LiveCycle with a personal character or image as check mark ( info to share...)

    Hello everybody,
    It makes now several weeks i go trough the different forums to find a way to make the check mark of a check box in LiveCycle with a personal color instead of the default black mark, that seems to be the only option available.
    I saw somebody else with that question, but no answer.
    So i found a work around, that make the check box really flexible.
    Here it is:
    REMEMBER that this will work only with forms saved as dynamic PDF.
    Open a new form in Livecycle.
    1) Open Library panel ( Shift+F12) and select Check Box and put it in the page with the dimension and position you like and select it.
    Open the Object panel ( Shift+F7), select field section and under Caption make it blank. Select Binding Section and under name write in ' CheckBox '. for the rest leave all the section values as they are.
    2) In Library select, in the standard section, the icon for making a text object. Put it in the page and size it to your needs and put it on the top of the CheckBox. Select it.
    In the Object Panel, Draw section and under Presence 'Visible'.
    Open the Font panel ( Shift+F4) and under font section, Font : select the Wingdings font and choose the symbol to use as the mark, under Size : the size you need, under Style: font color you like. If the result of the mark is to your feel, set the object to 'invisible'. Leave all other values as they are.
    Open the Hierarchy panel (Shift+F11), right click on the static object and rename it to ' CheckMarkModel ' .
    For information : changing the text object to an image object let's you use an image for the mark in the checkbox.
    3) In Library, select in the standard section the icon for making a Button. Put it in the page and size it to the CheckBox dimension and put it on the top of the text object. Select it. In the Object panel, under Caption : make it blank, under Appearance : select custom in the drop down list an in the dialog box that comes up set the edges to none and the
    background to none. Leave the rest as it is.
    Open the Hierarchy panel (Shift+F11), right click on the Button object and rename it to ' ClickCheckBoxButton ' .
    Now open the Script Editor (Shift+Ctrl+F5), on the left under Show : select in the list the ' Click ' event, under Language : select JavaScript, copy to the window the following script :
    if (CheckMarkOnOff.rawValue == "0")
    CheckMarkOnOff.rawValue = "1";
    CheckMarkModel.presence = "visible";
    else if (CheckMarkOnOff.rawValue == "1")
    CheckMarkModel.presence = "invisible";
    CheckMarkOnOff.rawValue = "0";
    4)Now put in the page an other Check Box, put it on the top of the Button object and select it. In the Object panel, Field section, under Caption : make it blank, under Appearance : none, under Presence : invisible, let the rest as it is. In the Value section, under Type : Read Only, under Default : Off. In the Binding section, under Name : name it CheckMarkOnOff, leave the rest as it is.
    5) So you have now four objects in the page 1. In the Hierarchy panel set each object by dragging them in
    this order :
    CheckBox
    CheckMarkModel
    ClickCheckBoxButton
    CheckMarkOnOff
    In the form select all the objects and group them. If you copy the group as many times you need you automatically will have an other Check Box, ready to work.
    So here you are with an personal Check Box.
    Don't forget to set the preview PDF to dynamic under Menu /File/Form Properties, the in the dialog box that shows up /Default tab and under the XDP Preview format : select in the list an Acrobat Dynamic form.
    REMEMBER that this will work only with forms saved as dynamic PDF.
    If somebody from Adobe could upload the sample file i made, to the forum, so that anybody can download it to his computer, would be appreciated, email me at : [email protected] .
    Regards Mike.

    I also faced this same problem and there is an actual solution but it involves modifying the xml source for the checkbox - however it is a simple modification so if your not familiar with editing the xml source don't worry about that. <br /><br />Click on the checkbox you want to modify and then click on the XML Source tab. LiveCycle will take you to that point in the XML. <br /><br />Now, scroll down until the close of the ui node( </ui> )within the checkbox field and modify the font node to look like the following:<br /><br /></ui>  -- close of UI node<br /><font typeface="Arial"><br />   <fill><br />      <color value="0,0,255"/><br />   </fill><br /></font><br /><br />This produces a checkbox with a blue check mark. <br />You can, of course, make the color any RGB number you want.<br /><br />You can then save that field in your library and reuse it anytime you want and it will always have that color checkmark. <br /><br />Good luck. <br />-Andrew

  • 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

  • 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

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

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

  • 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

  • Alignment of check boxes in LIveCycle

    Hi,
    This is my first try using LiveCycle. I have a form that is almost filled with check boxes. I cannot figure out how to algin the boxes-horizontally, vertically, left, right and to each other. I have used the align tab but it only aligns one direction.
    Thanks for your help in advance,
    Patty

    Hi,
    you can order the checkboxes with the following:
    Click on Layout - Align - choose your preferences.
    But you can also use the layout where you can play with the x and Y or the length and hight of the fields. Also you can say if you want to have the checkbox left or right and the space it needs (in caption)
    I hope this can help you

  • Validating forms using check boxs

    hi i am trying to validate a form using check boxs where all of the elements have the same name. Using the code below it enables validation when only one check box is available, however with muliple check-boxs it goes into and eternal loop and never executes the code! Any help on this matter would be most appreciated.
    <SCRIPT language="javaScript">
    function validate()
    if (!document.myform.pkey.checked)
    alert("Please Select a Questionnaire to delete!!");
         return false;
    </SCRIPT>

    Hi,
    When you have multiple checkboxes with same name, it will form an array of check boxes. So you have to validate them as below.
    flag=0;
    if(chkcntr>1)
    for(i=0;i<frm.ch.length;i++)
         if(frm.ch.checked)
    flag=1;
    break;
    else
    if(frm.ch.checked)
    flag=1;
    if(flag==1)
    //checkbox selected,can give any action
    else
    // checkbox not selected,give alert

  • Berechnen in LiveCycle Designer ES2

    Hallo,
    ich wollte mich aml etwas mit dem Thema PDF Formular und LiveCycle Designer beschäftigen.
    Ich habe ein Formular erstellt mit ein paar Felder und noch eine Tabelle dazu.
    In der Tabelle würde ich gerne ein paar Zwischensummen berechnune und später dann die Gesamsumme.
    Konnte schön die Felder formatieren und angeben ob Kommazahlen, wie viel Dezimalstellen usw.
    Ich finde überhaupt nichts zum Rechnen.
    Nach was muss ich suchen, wie nennt sich das?
    Ich hab mit LCD noch nie gearbeitet, nur mit Acrobat Pro, da finde ich das Rechnen und kann es benutzen aber hier leider nicht. :-(
    Ich will einfach nur in einem Feld z.B. Zwischensumme das Ergebnis von Anzahl der Stunden * dem Berechnungspreis stehen haben.
    Danke

    In Designer wird mit Skripten gearbeitet.
    Dafür gibt es einen Skripteditor (Strg + Umschalt + F5).
    In dem Skripteditor kann man dann JavaScript oder FormCalc verwenden, um alle möglichen Dinge anzustellen.
    Ich empfehle FormCalc zum Berechnen, da es wesentich einfacher ist.
    Bevor du damit startest solltest du dir in der Hilfe (F1) aber ersteinmal das Kapitel "Skripterstellung mit Designer ES(2)" ansehen.

  • Adobe livecycle designer es2

    hi,
    i have a pdf form made by adobe livecycle designer. here there r 2 fields. say one field A and anothe is B . i want to populate info in field b which will depend on value of A. IF i put 4 in A then B will 17., if A 5 B 21 .... etc. can u pls help to make such tye of code? 
    thanks
    Ali

    Write the code in exit of field A
    if(A.rawValue == "4")
    B.rawValue = "17";
    else if(A.rawValue == "5")
    B.rawValue = "21";

  • 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

Maybe you are looking for

  • Master detail detail in one single page

    Hello, Building a page showing a master/detail relationship is straightforward. Now I need to build a page showing a master/detail/detail relationship ? How do i do this ? Thanks for your help, Seb.

  • Updated iphone and now outlook is prompting for password

    My boss is having an issue with his phone.  He updated the software for his iphone by plugging it into his office PC and using itunes.  Unfortunately, his Outlook software on his PC is prompting him to enter his password every few minutes.  The user

  • Setting up Gas Procedures in Register

    Hello Everyone, I am trying to carry out gas billing settings in SPRO. I gave done the general settings in ISU->Contract billing->Special functions etc. For gas billing the procedure has to be defined at the register level. While trying to do a Full

  • Is there iPhoto program available for iPad?

    I would like to use Iphoto to make a book in ipad. Is there a way other than just using icloud to stream the individual images? As in can I download something to do make a book on my ipad or do I have to do it on my macbook pro? Thanks.

  • How do you have couninous play with cover flow

    How do you have continous play with cover flow