Getting error message "missing ; before statement 24"

Hello,
I'm getting the error message "missing ; before statement 24" in the following script:
//Create a variable to hold the document object
var StartDate = (xfa.form.form1.page1.signature.StartDate.rawValue);
var EndDate = (xfa.form.form1.page1.signature.EndDate.rawValue);
var assocName = (xfa.form.form1.page1.signature.assocName.rawValue);
var assocID = (xfa.form.form1.page1.subForm1.assocID.rawValue);
var assocEmail = (xfa.form.form1.page1.subForm1.assocEmail.rawValue);
var assocExt = (xfa.form.form1.page1.subForm1.assocExt.rawValue);
var assocDept = (xfa.form.form1.page1.subForm1.assocDept.rawValue);
var mgrName = (xfa.form.form1.page1.subForm1.mgrName.rawValue);
var mgrEmail = (xfa.form.form1.page1.subForm1.mgrEmail.rawValue);
var salariedHourly = (xfa.form.form1.page1.subForm1.salariedHourly.rawValue);
var directReports = (xfa.form.form1.page1.subForm1.directReports.rawValue);
var perfRating = (xfa.form.form1.page1.subForm1.perfRating.rawValue);
var howLongWorking = (xfa.form.form1.page1.request.howLongWorking.rawValue);
//SUBMIT DATE
if (StartDate == "") Then
xfa.host.messageBox( "Please enter a Submit Date" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.StartDate");
//HIRE DATE
elseif (EndDate == "") Then
xfa.host.messageBox( "Please enter a Hire Date" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.EndDate");
//NAME OF ASSOCIATE
elseif (assocName == "") Then
xfa.host.messageBox( "Please enter your Name" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.assocName");
//ASSOCIATE ID
elseif (assocID == "") Then
xfa.host.messageBox( "Please enter your ID" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.assocID");
//ASSOCIATE EMAIL
elseif (assocEmail == "") Then
xfa.host.messageBox( "Please enter your email address" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.assocEmail");
//ASSOCIATE EXTENSION
elseif (assocExt == "") Then
xfa.host.messageBox( "Please enter your telephone extension" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.assocExt");
//ASSOCIATE DEPARTMENT
elseif (assocDept == "") Then
xfa.host.messageBox( "Please enter your department" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.assocDept");
//MANAGER NAME
elseif (mgrName == "") Then
xfa.host.messageBox( "Please enter your manager's name" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.mgrName");
//MANAGER EMAIL
elseif (mgrEmail == "") Then
xfa.host.messageBox( "Please enter your manager's email address" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.mgrEmail");
//SALARIED HOURLY
elseif (salariedHourly == "") Then
xfa.host.messageBox( "Please enter whether your are salaried or hourly" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.salariedHourly");
//DIRECT REPORTS
elseif (directReports == "") Then
xfa.host.messageBox( "Please indicate whether you have any direct reports" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.directReports");
//PERFORMANCE RATING
elseif (perfRating == "") Then
xfa.host.messageBox( "Please certify your last performance rating" );
xfa.host.setFocus("xfa.form.form1.page1.subForm1.perfRating");
//HOW LONG WORK
elseif (howLongWorking == "") Then
xfa.host.messageBox( "Please indicate how long you anticipate working this arrangement" );
xfa.host.setFocus("xfa.form.form1.page1.questions.howLongWorking");
else
Button6.execEvent("click");
page2.presence = "visible";
EndIf
I've been hunting for several hours and can't seem to find or correct the problem. Can anyone help?
Thanks,
MDawn

I'm still having trouble. I tried to change the script to JavaScript. Now I'm getting "subForm1 not defined" error message. But it appears that subForm1 is set up properly.
Any thoughts?
Thanks,
MDawn

Similar Messages

A: While installing OD XE 11 g, I get error message just before finish

Hello, and welcome to the OTN forums!
i was told that this prg will install in my 64 bit OS (Windows 7).Who told you that, and why don't you ask him/her why it didn't work? (just kidding...)
In fact, XE 11.2 is currently not supported on 64 bit Windows machines. See the [url http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#BABHICJH]System Requirements documented in the Installation Guide for XE 11.2.
The error you receive has been reported often when people tried to install on 64 bit anyway. There are workarounds for that issue, e. g. described in this thread: {thread:id=2289186}
-Udo

Hello, and welcome to the OTN forums!
i was told that this prg will install in my 64 bit OS (Windows 7).Who told you that, and why don't you ask him/her why it didn't work? (just kidding...)
In fact, XE 11.2 is currently not supported on 64 bit Windows machines. See the [url http://docs.oracle.com/cd/E17781_01/install.112/e18803/toc.htm#BABHICJH]System Requirements documented in the Installation Guide for XE 11.2.
The error you receive has been reported often when people tried to install on 64 bit anyway. There are workarounds for that issue, e. g. described in this thread: {thread:id=2289186}
-Udo

  • Am getting error message missing MSVCR80.dll and itunes will not run

    am getting error message missing MSVCR80.dll itunes will not run

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.

  • Receiving a "missing ; before statement" error message

    I cannot see what I'm missing on this one.  This is an Adobe form testing a checkbox (New) and if it has been checked it is required that at least one of the following checkboxes (A or B) is checked. If not, an error is to display on the form to the user.
    This is code in Adobe LiveCycle Designer:
    var BoxCount = xfa.resolveNode(''TopmostSubform.#subform[1].A'')A.rawValue  + xfa.resolveNode("TopmostSubform.#subform[1].B")B.rawValue
    if (new.rawValue==1) {
      if (BoxCount == 0) {
        (app.alert ("You must select at least on Building for Access");
    When running the debugger I get:
    missing ; before statement
    1: Console.Exec
    undefined
    Any help is appreciated!

    Thank you Paul -
    I now have:
    var BoxCount = xfa.resolveNode("TopmostSubform.#subform[1].A").rawValue + xfa.resolveNode("TopmostSubfomr.#subform[1].B").rawValue
    and get the following error:
    xfa.resolveNode("TopmostSubform.#subform[1].A") has no properties
    1:Console.Exec
    What am I missing?
    Thanks for your guidance!!

  • I recently upgraded to iCloud 3.0 on home computer and now i get error messages when I open Outlook 2010.  It worked fine before with iCloud 2.1.2.  Any solutions?  I'm on Windows 7, Outlook 2010.

    I recently upgraded to iCloud 3.0 on home computer and now i get error messages when I open Outlook 2010.  It worked fine before with iCloud 2.1.2.  Any solutions?  I'm on Windows 7, Outlook 2010.

    HOW FRUSTRATING! NOW WHAT IS HAPPENING? WHEN I GO TO ANY WEBSITE THE PAGE FREEZES. TOP OF PAGE READS, MOZILLA FIREFOX NOT RESPONDING, THINK I"LL GO BACK TO IE, WAY TOO MANY ERRORS AND NO TECH SUPPORT ANSWERS

  • When connect ipod nano 6th gen i get error message "you need to format the disk in drive G: before you can use it Do you want to format it?"

    when connect ipod nano 6th gen i get error message "you need to format the disk in drive G: before you can use it Do you want to format it?" Any suggestions please

    Hi Michael
    These are the answers
     to your questions
    What is the OS version, Windows Server 2008?   
    Microsoft Windows [Version 6.0.6001]  
    SP1
     On which disk you choose to install it, the C: drive? 
    I have Raid 5
    What
    is the output of the Checkdsk?   It find Nothing
    Could
    you please upload us a screen shot?  I have no 
    Screen shot
    Is
    the C: drive is a external drive?  NO
    Besides,
    have you manually assigned the drive letter? 
    NO
    Thanks

  • When downloading iTunes I get error message that msvcr80.dll is missing. I can't uninstall iTunes.

    When downloading iTunes I get error message that msvcr80.dll is missing. I can't uninstall iTunes. How do I fix the problem?

    You have to uninstall everything!  Check out Turingtest2 remarks
    https://discussions.apple.com/message/24652557#24652557

  • I am try to burn a dvd from iPhoto in iDVD, when I click burn I get error message I don't have SuperDrive and dvd is ejected. I have burned dvd's before. What am I doing wrong?

    I am try to burn a iPhoto slideshow on to a dvd in iDVD, when I click burn I get error message and dvd is ejected. I have burned dvd's before. What am I doing wrong?

    error message I don't have SuperDrive and dvd is ejected
    If you don't have a SuperDrive you will not be able to burn DVDs. 
    Did iDVD come preinstalled on your Mac?  If it did then you should have a SuperDrive and be able to burn DVDS. Check the Disk Burning section of System Information
    to see what you can read and write with your optical drive:
    OT

  • I keep getting the error message "Missing PDFMaker files. Do you want to run the installer in repair mode"

    I keep getting the error message "Missing PDFMaker files  Do you want to run the installer in repair mode"when I try to convert a file into a pdf.  I have tried uninstalling then reinstalling but I continue to get the message.  I am able directly print file, but there are some errors in the pages, but some of them have font errors. Please advise.

    Hey Suzanne,
    Could you please let me know what Acrobat version are you using and what kind of file are you trying to convert to PDF.
    If you are using an MS Office application, then PDF Maker has to be an active plug-in for the PDF conversion.
    Have you tried using Print to PDF option from the File menu for the same?
    Please check and then let me know.
    Regards,
    Anubha

  • I have Adobe Photoshop Elements 5.0 and am trying to upgrade to 13 - getting error message that "file archive part" of Adobe 13 is missing. When I try to download installers for older products it only goes back to v7, not v5 what to do next?

    I have Adobe Photoshop Elements 5.0 and am trying to upgrade to 13 - getting error message that "file archive part" of Adobe 13 is missing. When I try to download installers for older products it only goes back to v7, not v5 what to do next?

    TDFields you will want to ensure the 7z and exe file are in the same folder/directory.  You can find more details at Find a download link on Adobe.com.

  • Keep getting error message saying ipod detected but could not be identified properly - I have tried all the steps on the support page twice and it still will not work!  I am running windows 8 (which it has worked with ok before) - struggling :(

    keep getting error message saying ipod detected but could not be identified properly - I have tried all the steps on the support page twice and it still will not work!  I am running windows 8 (which it has worked with ok before) - struggling
    I recently bought some new albums and can't play them on my ipod

    I just encountered the same problem on my 2 month old MBPro.  I found a work around by changing USB ports.  As for the actual cause or the reason why that worked, I dont know.  The USB port I was using works fine with my phone or other USB devices.

  • HT203687 Trying to install iCloud on a new Toshiba laptop so I can sync with my iPad and iPhone. I get error message HRRESULT:OX8007OBC9, says the installer encountered errors before iCloud Control Panel 2.0 could be installed. Same problem trying to inst

    Trying to instll iCloud on a new Toshiba laptop so I can sync contacts, calendars, email with my iPhone and iPad. Get error message HRRESULT:OX8007OBC9, says installer encountered errors before iCloud Control Panel 2.0 could be configured. Have the same problem trying to istall  iTunes.

    Quote from: lcwhitlock on 04-April-14, 13:44:09
    Hello darkhawk,
    Thank you for the recommendation.  I somewhat understand what a MS DOS disk is, but I'm not sure how to go about creating one. I've seen where you can use a program, like Rufus, to create a usb one  - but I'm leery about using 3rd-party programs (especially ones I'm not familiar with). I've come across a couple of 'how-to' tuts, but they didn't clarify what files (if any) I would need to include on the disk (for my particular situation). Right now I don't have any blank cds, nor any extra flash/thumb drives - wish I did, but hadn't needed these for years. There has only been one other time where I needed to re-install Windows, but that was over 15 years ago - I did it through BIOS, reformatting my drives, and then reinstalled via the Windows XP disk. Windows 8 is an entirely different breed, which has left me feeling a bit stumped, at times. If there was a way I could perform it (successfully), similar to the first time I did it years ago, I'd give it a try - but at the same time, I'm a bit reluctant, because if it doesn't work, then I'm stuck without any internet access to get further help.
    Ask and ye shall receive. This should be doable in Windows 7 and Windows 8 on another PC. I recommend using a USB Flash drive like in this tutorial, but I'm sure you could use something else.
    If you want, you could also use Hiren's BootCD to make a bootable CD with many options and programs on it (I keep one, just for certain situations) that will allow you to do the same things.
    http://www.hiren.info/pages/bootcd
    Also very useful for sorting out virus's as long as it's downloaded and made on another PC that is virus free......

  • I cannot transfer my Ical on my Imac with Mavericks 10.9.2 to my iphone 4 with the latest operating system.  I get error message "403" when it attempts to upload to the cloud before transfering to the iphone.  Any advice would be greatly appreciated.

    I cannot transfer my Ical on my Imac with Mavericks 10.9.2 to my iphone 4 with the latest operating system.  I get error message "403" when it attempts to upload to the cloud before transfering to the iphone.  I've tried shutting down the computer and iphone but it has not been successful.  There is plenty of data available on the icloud as I've not used it for anything else.   Any advice would be greatly appreciated.  Thank you.
       Kevin

    Hello kmcnern3,
    Thank you for providing the details of the calendar issue you are experiencing with your iMac and iPhone.  I recommend following the steps in the section titled "Troubleshooting on OS X" in the following article to assist with syncing your calendar events between your devices:
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/ts3999
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I get the error message "Missing PDFMaker files" when trying to convert a microsoft word document(.docx)

    When I right click the word file and select Convert to Adobe PDF, I get the error message "Missing PDFMaker files".
    Im using Windows Vista Home Premium, Service Pack 2, 32 bit operating system.
    Im using Microsoft Office Home and Student 2010
    I have Adobe Reader X installed
    Thanks

    Hi RhodaMcP,
    You might want to check the KB: http://helpx.adobe.com/acrobat/kb/troubleshoot-acrobat-pdfmaker-problems-office.html
    Regards,
    Rave

  • TS1424 I get an error message "missing msvcr80.dll".  Can anyone help?

    I'm getting an error message "missing msvcr80.dll".  Can anyone help?

    there are numerous threads on this... the latest update kind of messed up (I'm being polite here) and I found a good solution under the thread title
    for all those having issues with the 11.1.4.62 update
    I tried to copy & paste, but it's not possible on this site.

  • Maybe you are looking for

    • My system is asking to run the hard disk test run...What i have to do? can any one guide me????

      model is Hp Pavilion  g6.. windows 7 home basic, My system is asking to run the hard disk test run.. i have run , there was no error, but the message is still comming, i do not kow whether i amdoing it in a right way or not.. Please any giude do that

    • HT1296 i synced my iphone to my computer but now it has all my ipod data how do i get my iphone data back

      i synced my iphone yesterday now it looks like my ipod!!! please need help fixing this and getting all my iphone data(messages and contacts) BACK. How do i do this?

    • Drag And Drop Components IN Flex

      hello all, could we do code for drag components or controls like boxes,slider,data grid,and related things from 1 canvas to another canvas ? I want to show all controls in left canvas and allow user to drag it and drop in right canvas . Thanks, Bachi

    • Average Calculation

      Hi, I am finding some problem while doing the Average Calculation in the Query. My data is like this: Batch      Stock       PO Qty          STO Qty B1           1000         1000               200 B1           1000         1000               500 In

    • Down Loading Photoshop Elements 10.0

      I have a downloaded trial version of Photoshop Elements 10.0 on my computer. I intend to buy the full version. Will the serial number that comes with the CD work for the trial version or will I have to reload the program?