Email Submit button works in Acrobat but not Reader

I have a form with an email submit button.  When those who have Adobe Reader click on the Submit button, nothing happens.  For the users with Acrobat, the submit button works as designed. The users all have the latest version of Reader, Java and Flash.  When the Acrobat users click the button a box appears asking them to select Desktop or Internet email.  Once they make a selection, the form is sent.  When the Reader users click the button nothing happens.  I'm sure there must be a setting somewhere that I need to adjust.  Can you help me?

Hi Susan,
I appreciate we have meandered through this, but bear with us...
Here is a screen shot of a regular button set up to return the completed form as a PDF.
Now if you deploy this form WITHOUT Reader Enabling the form, then users with Reader will see this warning:
However before you deploy the form open it in Acrobat and go to the Advanced menu (in version 9) and select "Extend features in Acrobat Reader" and save the form with an amended name. Then send this new "Reader extended" form out to the users with Reader and they will be able to return the completed PDF.
Without seeing the actual form it is difficult to work out how the submit button is set up.
Hope that helps,
Niall

Similar Messages

  • Submit Button Works for Me but Not Client

    I have created an interactive PDF form, using Adobe Acrobat 7, for my client so they can pass it to their clients. It's basically an agreement form where they have to sign and date then press the submit button to email it to my client when finished. I used the combo box tool to create the submt button: Under the Actions Tab I chose mouse up for the Select trigger, Submit a form for the Select Action, selected PDF completed form and the URL as mailto:clients email address.
    I tested it on myslef and saw that it opens Windows Live, which is my main email program, and it successfully opened the email with the attached PDF ready to send. I then sent the file to my client, who uses Adobe Reader 8, and says that when she presses the submit button an error message pops up saying operation not allowed.
    At this point I'm fairly stuck on what I should to to make this work. Any suggestions as to how I can fix this or why it is doing this? Thank you.

    George Johnson wrote:
    As mentioned by others, you can configure the form to submit just the form data, but only if it doesn't included digital signatures. You'll need to send the entire PDF if it does.
    Acrobat 8 is not the latest version, so Adobe no longer sells it. Acrobat 10 (X) is the latest version. Also, why are you using a combo box instead of a button?
    Mostly because I'm very new at interactive PDF's. This isn't my usual job for them, just helping them out. They gave me a link to a tutorial site for interactive PDF's and this is how they showed me to do it. So I really don't know anything about these, that's why I am here.
    If a button is the way to go then I'll try it. I went a ahead and did that and sent a test to my client to see if it works better.

  • InitState works in Acrobat but not Reader

    Hi I am new here and not very good with javascript, so please bare with me.
    I have created a document with five radio buttons that toggle between layers via executing OCG .state and .initState scripts depending on which button is selected.  Both work fine in Acrobat in setting the current state and the default state of the layers. But when I open the document in Reader, only .state seems to toggle between layer visibility and .initState fails to set the default state of layers.  Essentially what I need is to be able to set the default state to layers in Reader.   I noticed that the Layer Properties panal is not editable in reader and that this may be the culprit, but I can not find how to activate it or to even enable manualy setting the default state of layers to on or off.
    In addition to the FindOCG script at the document level here are samples of what I have set as mouse up actions to the radio buttons.
    FindOCG("LayerName).state = true;
    FindOCG("LayerName").initState = true;
    Each of these is its own action.
    I am using Acrobat Pro 10.1.8 and Reader 11.0.3 on Windows 7 Ultimate.
    Any help with this would be greatly apriciated.
    Thanks
    Jesse

    I have a project to create editable business cards to be distributed through our franchise system.  We have several designs and combinations of double sided business cards.  In short my goal was to be able to toggle between combinations of front and back designs (1st and 2nd pages) in the form of different layers for double sided business cards.  It seemed doable at first and is functioning just fine in Acrobat.  I thought it would be nice to distribute one PDF rather than several, which is what our franchisees like. The PDFs have form fields for all the variable information.  I can toggle between form and design layouts, but the design layouts do not hold after saving and re-opening in Reader because in adition to toggling the layer visibility I have to set the default open state of the visible layers to on so that when the PDF is re-openend, say at a press to be printed, the correct layers are displayed and printed without the press having to make any edits.  The .initState simply is not effecting the default states in Reader.  As for runtime code, I don't know what that is.  I don't know much about coding, I figured out just enough to get this far.

  • Tab Order works in Acrobat, but not Reader?

    Using LiveCycle 8.0, I set the tab order in this fiscal chart so the order would flow in the direction of the arrows depicted in the chart below. Saved the LiveCycle doc; then I opened it in AcrobatPro 8.0 and enabled Reader usage rights. Saved file. It tested fine and tabbed in the order that I wanted. However......see second screen shot:
    When I tested the form in Reader 9.0, the tab order is not in the sequence that I set it up in LiveCycle. Now it tabs horizontally, then down to the next row. I need it to tab each column vertically (See screen shot above). Did I miss a step somewhere?
    Click here for the form.

    I cannot duplicate your issue .....I tried it with version 9 or Acrobat and version 8 of Reader and it behaved as you set it
    Paul

  • Flattening annotations (comments) changes highlight color in Acrobat, but not Reader

    I have a pdf document with multiple comments consisting of sentences highlighted with different colors. The colors are the default, bright colors in the default commenting "Highlighter Tool Properties" palette. When I flatten with either Adobe Acrobat Pro 9 or X (Tools - Print Production - Preflight - flatten annotations and form fields) the colors of the highlights change from the normal 'bright' colors to dull 'pantone'-like colors. Interestingly, if I view the flattened file with Reader, the colors are fine (back to the bright colors), but when viewing with Acrobat Pro they are the dull pantone colors. It is as if there is a 'flag' in the file telling Acrobat (but not Reader) to change the displayed highlight colors.
    I'm using Mac OS X 10.9.5
    Does anyone know how I might change this so that the highlight colors do not change when flattening?
    Thanks

    Well, I was able to answer my own question. You have to go into "Flattener Preview" and change "Color Space" from the default "none" to something else, in my case, "Device RGB". Also, make sure to set page range.

  • EMail submit Button: send back as PDF, not as XML

    Hello,
    I have integreated an email submit button in my interactive form for sending the PDF back to the SAP-CRM.
    If I click this button, an eMail opens with an XML attachment. But I want to send it back in PDF format by clicking this button. (because I want to save this document at the content server and so on..).
    Thanks in advance
    Rogger

    Hi Roger,
    This is possible. There is a thread already in this Forum on that. If i remember the script, i shall post it :). Please do search it.
    Got ->
    <a href="/people/juergen.hauser2/blog/2007/06/03/dynamically-populating-the-email-address-of-an-email-button-on-a-sap-interactive-form fella :)</a>. You may work on this or search for more scripts related with it.
    This will work :).
    Thanks and Regards,
    - anto.[
    Message was edited by:
            Antony John Isacc

  • Interactive PDF–buttons working in preview but not in PDF

    I have a series of buttons that reveal hidden graphics. One of those hidden graphics is a background layer, in a separate layer, that should appear when a button is clicked. It is showing up, but in front of all other content, even though the layer is in the background. I have nothing else on the background layer. Also, the preview in InDesign shows this working properly, it's the exported Interactive PDF that is having problems. Any suggstions?

    Show/hide buttons can let you show and hide graphics which have been themselves turned into buttons. But in InDesign, they cannot control the visibility of layers. I think that's because of the way buttons are handled in the PDF file. I think the buttons themselves are seen as a separate layer above the "content" of the PDF.
    You can change layer visiblity with buttons but not in InDesign. You have to do it in Acrobat.
    Create your layers in InDesign. Export as a PDF but in the Export Adobe PDF dialog box, you must select Acrobat 6 compatibility and check Create Acrobat Layers. This takes InDesign layers and makes them PDF layers which you can work with in Acrobat.
    You can either create the buttons in InDesign or in Acrobat, but controlling layer visibility isn't an available action in InDesign. So you'll need to change their action WITHIN ACROBAT.
    In Acrobat, you can choose View > Navigation Panels > Layers. You can turn the eyes on and off to control visibility like in InDesign. Then set the layer visibility the way you want the first button to set and set the action for the first button to be Set Layer Visibility. When you click Add. It sets the visibility to the current state. Repeat the process for the second button.
    In InDesign CS5, to export buttons you'll need to choose File > Export > Adobe PDF (Interactive). Check Acrobat Layers.

  • Flash buttons work in FireFox but not IE

    Please can someone please take a look and see if they can
    figure it out cos i can't!
    roundshaw (dot) co (dot) uk
    The increase and decrease flash buttons at the top of the
    page works ok in FireFox but not in Internet Explorer.
    Can anyone see what i have missed that stops it working in
    IE?
    thanks in advance for your help.
    Jason

    Hello again,
    Yep, sounds like you've got the general idea.
    hries22 wrote:
    I'm going to start from scratch and give it another go...would you reccomend converting every button to a symbol? Then give the symbols  a mouseover, click, and mouseout?
    I'd take all the elements that make up the button, and convert that into a symbol. Then you can go to labels with your code without worrying about the main timeline. Put all your code on the elements themselves, and not on the symbol instance.
    hries22 wrote:
    Also - and this minor - but is there a way to get a button's mouseover area to recognize transparency? For instance - I'll use a .png with transparency for a button...let's say the T-shirt. I want the mouseover to activate only when the mouse is over the t-shirt, and not over the transparent area around the t-shirt...any thoughts?
    By default, the hit area of a div in HTML is its bounding box. Right off the top of my head, I'm not sure there's a way to change it...maybe someone else can chip in?
    EDIT: here's an old-school way...could be a lot of work: http://www.svennerberg.com/2008/09/imagemap-rollover/
    hth,
    Joe

  • Simple buttons working in Preview, but not on iPad

    Hello everyone. I have a Button (I'm working in InDesign CS6), with instructions "Go to State". It links to a photo on a seperate layer. The link works perfectly in the SWF preview (shift-command-return). But when I update the file to view it in Adobe Viewer it does not work. (I am using Viewer Vers 25) There are no other functions on the page that could be "blocking" it. In fact, on some pages where there are two or three buttons (all of them with instructions of "Go to State"), 2 may work and one not. I am confused as to how I can see it working in the Preview, but not on the iPad. Any suggestions appreciated. Many thanks!!

    Bob, just got in and downloaded the patch - the buttons are working perfectly now!!
    Thank you for taking the time to help me out!! I'll be more diligent from now on in checking for updates. Thanks again. James

  • Buttons work in Test but not online??? HELP!

    When i test my movie the buttons work fine they get the URL that i want but then when i upload it to my page it does not get the URL. Am i uploading it wrong??? I Uploaded the SWF to the Server and posted it that way is there more involved or did i do something wrong in the actual movie.
    PLEASE HELP!!!!
    LINK FOR THE FLA FILE:
    http://www.common-grind.com/movie/BIGGIVEPARTNERS.fla

    I don't know what/how you did it, but your file is exhibiting behavior that I have never seen before... it is animating and interactive in the editing mode.  I cannot look at anything on the stage because it reacts to trying to use a mouse to select anything... and the camel animates in a few places.  The only thing I can guess is that you are using one of the Tween graphics as the content, and those are usually generated to fill in faulty timeline tweening.
    What you may need to do is back up and start with adding each button one at a time on the main timeline  Don't worry about animating the camel at this stage, just get the buttons working properly.  I can't tell you how to change the code for the buttons because I can't find any of the code for them.

  • Email Submit Button to send message but no PDF attachment

    Hello:
    I have a PDF form with alot of information. I have a submit button which needs to send an email to someone with pieces of the information but doesnt need the PDF document. At the moment, I have manipulate the msg, subject, cc, bcc, etc.. but I cannot get it to stop attaching the document. anyone know how I can update my code for this?
    var oDoc = event.target;
        oDoc.mailDoc({
        bUI: false,
        cTo: textbox.rawValue,
        cCc: textbox1.rawValue,
        cSubject: "AWARDED "
        cMsg: "hello custom message"

    Hi,
    to send only a message you need another method than mailDoc().
    Use app.mailMsg() instead.
    Here's a macro for Designer ES2/ES3, that can create both methods easily.
    http://thelivecycle.blogspot.de/2012/05/mailto-maker-marco-v1.html

  • Email Alerts are working for some but not all users

    If some users are getting the alerts and some not, it seems more likely that the issue is with your email server or email clients, not with your SW setup.
    Have you checked SPAM / Junk folders on the server and on the clients?

    We have alerts setup for multiple scenarios.  All of our users are setup the same but not everyone is getting the alert.  We are using the spiceworks mail servers and I have checked the Spiceworks App Notifications are set to Yes.  Any ideas?  
    This topic first appeared in the Spiceworks Community

  • Menu button works on pc but not on tablet and mobile

    Hi! I've made a desktop site and I've published it. Everything works on a pc browser but into tablet and mobile, there is a button on a menu that doesn't work..the link to the rest of the site doesn't start. Maybe because that link goes to a part of the site that is too heavy (the structure under that button goes to 30 different pages)?

    This is the url:
    http://www.babylove2000.com/
    If you try to visit the site by tablet or mobile, you cannot enter in the section 'MARCHI' trough the correspective button. The other buttons work correctly.
    Thanks,
    Marianna

  • Nokia x3 help! menu button works for lock but not ...

    i have a new nokia x3, around 2 months old, after restarting the phone one time, the main button (the menu button) works for locking/unlocking and even makes the keytone sound when you press it, but i cant open up the menu, its really annoying because without the menu i cannot access the phone!
    i can still make calls/text messages, but i really want to fix this.
    thanks in advance

    just to clarify, the menu button works such as when i slide the phone closed, the 'lock' option appears, and the button works then, but when i unlock, i goes back to the usual 'menu' option which just doesnt work.
    i can use text/calls from the shortcut buttons such as left/down/right and some buttons work on in certain places, such as when the 'send' option appears for sending a text.
    i have tried to soft reset  using the code, before, and i have tried restarting it.
    none of them worked, does anyone have a solution, also does anyone know the hard reset code?
    thanks in advance.

  • JavaScript works in Pro but not Reader - NotAllowedError

    I have created a web form in Adobe XI Pro. We have some progress bars at the top with number of fields completed type of thing. All of my JavaScript works perfectly in Acrobat. I save it like so Save As Other > Reader Extended PDF > Enable More Tools. Again everything works in Acrobat. When I open the PDF in Reader the JavaScript won't work. My forms still fill I can save and such, but no JavaScript progress bars. We create this form frequently and it has always worked. I assume it is some sort of new update to Adobe XI Pro. Here is the error I receive in the debugger:
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.title:27:Document-Level:Progress
    I was thinking it might be related to the security settings these are the only 2 things not allowed.
    Document Assembly : Not Allowed
    Page Extraction: Not Allowed
    But as I read through the forums I am not sure that is actually the problem. Any ideas?
    Thanks in advance,
    Jen

    //Turn off the warnings when JavaScript is enabled
    this.getField("JavascriptWarning").display = display.visible;
    this.getField("ProgressTracking").display = display.visible;
    //Required fields warning
    this.alerted = false;
    //Define all required fields
    this.first = this.getField("FirstName");
    this.family = this.getField("FamilyName");
    this.addressOne = this.getField("AddressOne");
    this.addressTwo = this.getField("AddressTwo");
    this.postcodeOne = this.getField("Postcode-1");
    this.daytimeTelephone = this.getField("DaytimeTelephone");
    this.payrollReference = this.getField("PayrollReference");
    //---P46
    this.nationalOne = this.getField("NationalInsurance1");
    this.nationalTwo = this.getField("NationalInsurance2");
    this.nationalThree = this.getField("NationalInsurance3");
    this.nationalFour = this.getField("NationalInsurance4");
    this.nationalFive = this.getField("NationalInsurance5");
    this.nationalSix = this.getField("NationalInsurance6");
    this.nationalSeven = this.getField("NationalInsurance7");
    this.nationalEight = this.getField("NationalInsurance8");
    this.nationalNine = this.getField("NationalInsurance9");
    this.title = this.getField("Title");
    this.surnameOne = this.getField("SurnameFamilyName-1");
    this.firstOne = this.getField("FirstorGivenName-1");
    this.dobOne = this.getField("DOB-1");
    this.dobTwo = this.getField("DOB-2");
    this.dobThree = this.getField("DOB-3");
    this.dobFour = this.getField("DOB-4");
    this.dobFive = this.getField("DOB-5");
    this.dobSix = this.getField("DOB-6");
    this.dobSeven = this.getField("DOB-7");
    this.dobEight = this.getField("DOB-8");
    this.houseOne = this.getField("HouseOrFlatNumber-1");
    this.restAddressOne = this.getField("RestOfAddress-1");
    this.dateOne = this.getField("Date-1");
    //---Leidos Employee Bank Details For Payroll
    this.employeeNumber = this.getField("EmployeeNumber");
    this.bankName = this.getField("BankName");
    this.bankAddressOne = this.getField("BankAddressOne");
    this.bankAddressTwo = this.getField("BankAddressTwo");
    this.bankPostcodeOne = this.getField("BankPostcode-1");
    this.bankSortCodeOne = this.getField("BankSortCode-1");
    this.bankAccountNumber = this.getField("BankAccountNumber-1");
    this.effectiveDate = this.getField("EffectiveDate");
    //---Baseline Personnel Security Standard
    this.birthPlace = this.getField("PlaceOfBirth");
    this.birthNationality = this.getField("NationalityAtBirth");
    this.presentNationality = this.getField("PresentNationality");
    //Load them all into an array
    this.REQUIRED = [first, family, addressOne, addressTwo, postcodeOne, daytimeTelephone, payrollReference, nationalOne, nationalTwo, nationalThree, nationalFour, nationalFive, nationalSix, nationalSeven, nationalEight, nationalNine, title, surnameOne, firstOne, dobOne, dobTwo, dobThree, dobFour, dobFive, dobSix, dobSeven, dobEight, houseOne, restAddressOne, dateOne, employeeNumber, bankName, bankAddressOne, bankAddressTwo, bankPostcodeOne, bankSortCodeOne, bankAccountNumber, effectiveDate, birthPlace, birthNationality, presentNationality ];
    //Define the colors to be used
    this.gray = ["RGB", 0.208, 0.208, 0.208];
    this.amber = ["RGB", 0.992, 0.905, 0];
    this.red = ["RGB", 0.937, 0.282, 0.212];
    this.green = ["RGB", 0.431, 0.710, 0.016];
    //Call the document-level functions to update the Checklist
    updateAll();
    function updateAll()
      Dupdate();
      EOWupdate();
      LNHupdate();
      EBDupdate();
      BPSSupdate();
    //Updates the P46 entry.
    /*----------------NEW-------------------*/
    function Dupdate()
      this.DfieldCount = 0
      this.DnumComplete = 0;
      //Get all required fields in the form ----------- ecFirst, ecNationalOne
      var postcodeOne = this.getField("Postcode-1");
      var nationalOne = this.getField("NationalInsurance1");
      var nationalTwo = this.getField("NationalInsurance2");
      var nationalThree = this.getField("NationalInsurance3");
      var nationalFour = this.getField("NationalInsurance4");
      var nationalFive = this.getField("NationalInsurance5");
      var nationalSix = this.getField("NationalInsurance6");
      var nationalSeven = this.getField("NationalInsurance7");
      var nationalEight = this.getField("NationalInsurance8");
      var nationalNine = this.getField("NationalInsurance9");
      var title = this.getField("Title");
      var surnameOne = this.getField("SurnameFamilyName-1");
      var firstOne = this.getField("FirstorGivenName-1");
      var dobOne = this.getField("DOB-1");
      var dobTwo = this.getField("DOB-2");
      var dobThree = this.getField("DOB-3");
      var dobFour = this.getField("DOB-4");
      var dobFive = this.getField("DOB-5");
      var dobSix = this.getField("DOB-6");
      var dobSeven = this.getField("DOB-7");
      var dobEight = this.getField("DOB-8");
      var houseOne = this.getField("HouseOrFlatNumber-1");
      var restAddressOne = this.getField("RestOfAddress-1");
      var dateOne = this.getField("Date-1");
      var dFields = [postcodeOne, nationalOne, nationalTwo, nationalThree, nationalFour, nationalFive, nationalSix, nationalSeven, nationalEight, nationalNine, title, surnameOne, firstOne, dobOne, dobTwo, dobThree, dobFour, dobFive, dobSix, dobSeven, dobEight, houseOne, restAddressOne, dateOne];
      //Check required fields for completion and visibility
      for (var i in dFields)
      if (dFields[i].display == display.visible)
      this.DfieldCount++;
      if (dFields[i].value != "" && dFields[i].name != "ReceiveCopy")
      this.DnumComplete++;
      if(dFields[i].name == "ReceiveCopy")
      if(dFields[i].value == "Yes" || dFields[i].value == "No")
      this.DnumComplete++;
      var t = this.getField("PFortySix");
      if (DnumComplete == 0)
      t.fillColor = this.gray;
      this.getField("DProgress").userName = "";
      else if (DnumComplete < DfieldCount)
      t.fillColor = this.amber;
      this.getField("DProgress").userName = "";
      else
      t.fillColor = this.green;
      this.getField("DProgress").value = this.DnumComplete + "/" + this.DfieldCount;
      if (this.DnumComplete == this.DfieldCount) this.getField("DProgress").userName = "Done";
    //Updates the Leidos Expression of Wish entry.
    /*----------------NEW-------------------*/
    function EOWupdate()
      this.EOWfieldCount = 0
      this.EOWnumComplete = 0;
      //Get all required fields in the form ----------- ecFirst, ecFamily, ecAddressOne, ecAddressTwo, ecPostcodeOne, ecNationalOne
      var first = this.getField("FirstName");
      var family = this.getField("FamilyName");
      var addressOne = this.getField("AddressOne");
      var addressTwo = this.getField("AddressTwo");
      var postcodeOne = this.getField("Postcode-1");
      var daytimeTelephone = this.getField("DaytimeTelephone");
      var payrollReference = this.getField("PayrollReference");
      var nationalOne = this.getField("NationalInsurance1");
      var nationalTwo = this.getField("NationalInsurance2");
      var nationalThree = this.getField("NationalInsurance3");
      var nationalFour = this.getField("NationalInsurance4");
      var nationalFive = this.getField("NationalInsurance5");
      var nationalSix = this.getField("NationalInsurance6");
      var nationalSeven = this.getField("NationalInsurance7");
      var nationalEight = this.getField("NationalInsurance8");
      var nationalNine = this.getField("NationalInsurance9");
      var dobOne = this.getField("DOB-1");
      var dobTwo = this.getField("DOB-2");
      var dobThree = this.getField("DOB-3");
      var dobFour = this.getField("DOB-4");
      var dobFive = this.getField("DOB-5");
      var dobSix = this.getField("DOB-6");
      var dobSeven = this.getField("DOB-7");
      var dobEight = this.getField("DOB-8");
      var eowFields = [first, family, addressOne, addressTwo, postcodeOne, daytimeTelephone, payrollReference, nationalOne, nationalTwo, nationalThree, nationalFour, nationalFive, nationalSix, nationalSeven, nationalEight, nationalNine, dobOne, dobTwo, dobThree, dobFour, dobFive, dobSix, dobSeven, dobEight ];
      //Check required fields for completion and visibility
      for (var i in eowFields)
      if (eowFields[i].display == display.visible)
      this.EOWfieldCount++;
      if (eowFields[i].value != "")
      this.EOWnumComplete++;
      var t = this.getField("ExpressionWish");
      if (EOWnumComplete == 0)
      t.fillColor = this.gray;
      this.getField("EOWProgress").userName = "";
      else if (EOWnumComplete < EOWfieldCount)
      t.fillColor = this.amber;
      this.getField("EOWProgress").userName = "";
      else
      t.fillColor = this.green;
      this.getField("EOWProgress").value = this.EOWnumComplete + "/" + this.EOWfieldCount;
      if (this.EOWnumComplete == this.EOWfieldCount) this.getField("EOWProgress").userName = "Done";
    //Updates the Leidos Limited New Hires entry.
    /*----------------NEW-------------------*/
    function LNHupdate()
      this.LNHfieldCount = 0
      this.LNHnumComplete = 0;
      //Get all required fields in the form ----------- ecFirst, ecFamily
      var first = this.getField("FirstName");
      var family = this.getField("FamilyName");
      var lnhFields = [first, family ];
      //Check required fields for completion and visibility
      for (var i in lnhFields)
      if (lnhFields[i].display == display.visible)
      this.LNHfieldCount++;
      if (lnhFields[i].value != "")
      this.LNHnumComplete++;
      var t = this.getField("LimitedNewHires");
      if (LNHnumComplete == 0)
      t.fillColor = this.gray;
      else if (LNHnumComplete < LNHfieldCount)
      t.fillColor = this.amber;
      else
      t.fillColor = this.green;
      this.getField("LNHProgress").value = this.LNHnumComplete + "/" + this.LNHfieldCount;
      if (this.LNHnumComplete == this.LNHfieldCount) this.getField("LNHProgress").userName = "Done";
      else this.getField("LNHProgress").userName = "";
    //Updates the Leidos Employee Bank Details for Payroll entry.
    /*----------------NEW-------------------*/
    function EBDupdate()
      this.EBDfieldCount = 0
      this.EBDnumComplete = 0;
      //Get all required fields in the form -----------
      var first = this.getField("FirstName");
      var family = this.getField("FamilyName");
      var employeeNumber = this.getField("EmployeeNumber");
      var bankName = this.getField("BankName");
      var bankAddressOne = this.getField("BankAddressOne");
      var bankAddressTwo = this.getField("BankAddressTwo");
      var bankPostcodeOne = this.getField("BankPostcode-1");
      var bankSortCodeOne = this.getField("BankSortCode-1");
      var bankAccountNumber = this.getField("BankAccountNumber-1");
      var effectiveDate = this.getField("EffectiveDate");
      var ebdFields = [first, family, employeeNumber, bankName, bankAddressOne, bankAddressTwo, bankPostcodeOne, bankSortCodeOne, bankAccountNumber, effectiveDate ];
      //Check required fields for completion and visibility
      for (var i in ebdFields)
      if (ebdFields[i].display == display.visible)
      this.EBDfieldCount++;
      if (ebdFields[i].value != "")
      this.EBDnumComplete++;
      var t = this.getField("EmployeeBankDetails");
      if (EBDnumComplete == 0)
      t.fillColor = this.gray;
      else if (EBDnumComplete < EBDfieldCount)
      t.fillColor = this.amber;
      else
      t.fillColor = this.green;
      this.getField("EBDProgress").value = this.EBDnumComplete + "/" + this.EBDfieldCount;
      if (this.EBDnumComplete == this.EBDfieldCount) this.getField("EBDProgress").userName = "Done";
      else this.getField("EBDProgress").userName = "";
    //Updates the Baseline Personnel Security Standard entry.
    /*----------------NEW-------------------*/
    function BPSSupdate()
      this.BPSSfieldCount = 0
      this.BPSSnumComplete = 0;
      //Get all required fields in the form -----------
      var first = this.getField("FirstName");
      var family = this.getField("FamilyName");
      var addressOne = this.getField("AddressOne");
      var addressTwo = this.getField("AddressTwo");
      var postcodeOne = this.getField("Postcode-1");
      var daytimeTelephone = this.getField("DaytimeTelephone");
      var dobOne = this.getField("DOB-1");
      var dobTwo = this.getField("DOB-2");
      var dobThree = this.getField("DOB-3");
      var dobFour = this.getField("DOB-4");
      var dobFive = this.getField("DOB-5");
      var dobSix = this.getField("DOB-6");
      var dobSeven = this.getField("DOB-7");
      var dobEight = this.getField("DOB-8");
      var birthPlace = this.getField("PlaceOfBirth");
      var birthNationality = this.getField("NationalityAtBirth");
      var presentNationality = this.getField("PresentNationality");
      var bpssFields = [first, family, addressOne, addressTwo, postcodeOne, daytimeTelephone, dobOne, dobTwo, dobThree, dobFour, dobFive, dobSix, dobSeven, dobEight, birthPlace, birthNationality, presentNationality];
      //Check required fields for completion and visibility
      for (var i in bpssFields)
      if (bpssFields[i].display == display.visible)
      this.BPSSfieldCount++;
      if (bpssFields[i].value != "")
      this.BPSSnumComplete++;
      var t = this.getField("Baseline");
      if (BPSSnumComplete == 0)
      t.fillColor = this.gray;
      else if (BPSSnumComplete < BPSSfieldCount)
      t.fillColor = this.amber;
      else
      t.fillColor = this.green;
      this.getField("BPSSProgress").value = this.BPSSnumComplete + "/" + this.BPSSfieldCount;
      if (this.BPSSnumComplete == this.BPSSfieldCount) this.getField("BPSSProgress").userName = "Done";
      else this.getField("BPSSProgress").userName = "";

Maybe you are looking for