Cannot get Submit button to work

I am really stumped with this one. The Submit to Manager button is not working. The only error I get is that assocID is not identified, but as far as I can tell it is identified.
Any help would be appreciated.
Thanks,
MDawn

I think the variable names may be causing a problem. I commented out the variable names, and it worked correctly, except for name. I had to change it to empName instead. Then that one worked. There's a good bit of overlap between your variable names and object names. (e.g., var assocID = assocID.rawValue) That was causing problems, too.
Here's what I ended up doing to make the alerts/email work:
//Create a variable to hold the document object
var empname = empName.rawValue;
var jobtitle = jobTitle.rawValue;
var mgrname = mgrName.rawValue;
var associd = assocID.rawValue;
var accvachrs = accVacHrs.rawValue;
//NAME
if (empName.isNull){
          xfa.host.messageBox( "Please enter your name" );
          xfa.host.setFocus("page1.empName");
//JOB TITLE
else {
                    if (jobTitle.isNull){
                              xfa.host.messageBox( "Please enter your job title" );
                              xfa.host.setFocus("jobTitle");
//MANAGER'S NAME
                    else {
                              if (mgrName.isNull){
                                        xfa.host.messageBox( "Please enter a your manager's name" );
                                        xfa.host.setFocus("mgrName");
//ASSOC ID
                              else {
                                        if (assocID.isNull){
                                                  xfa.host.messageBox( "Please enter your Associate ID" );
                                                  xfa.host.setFocus("assocID");
//ACCRUED VAC HOURS
                                        else {
                                                  if (accVacHrs.isNull){
                                                            xfa.host.messageBox( "Please enter your accrued vacation hours" );
                                                            xfa.host.setFocus("accVacHrs");
                                                  else {
                                                            page1.Button4.execEvent("click");

Similar Messages

  • Cannot Get Animated Buttons to Work in DPS (InDesign 6.0) Help Please!!

    In DPS tips, using the iPad app, some of the navigational buttons appear like SWF buttons, but, I cannot get SWF buttons to work in DPS. I have been trying with Multi-States, but, cannot get that to work either. Can you tell me how to get a SWF like button to work in DPS - I'm working with ID 6.0.
    Do you have an eaasy answer? Is there a tutorial out there I can view? Is their a step-by-step I can read?
    BTW, I do understand how buttons work and the types of events that work in DPS.
    Thank you
    Lain Kennedy

    Hi Uwe,
    First, let me say "I cannot even believe all the wonderful information I have recieved from my original post," and, I want to thank you for your understanding.
    I have been a designer for many years, working before the computer, and, since the mid 80's working with a variety of software to produce both print and web projects. I must say, I am biased on the Adobe Creative Suite, and, have had amazing success with these tools.
    Nonetheless, I have been working with DPS for about a month now (and a month does not make a career), and, have to admit, I am looking at DSP as a Hybrid between Print and Web. Yet, it is neither print or wed, it is it's own element, and, I'm just having growing pains learning, especially the terminology.
    Yes, I am trying to explain SWF Buttons, when in reality, it is DPS Buttons, and, my thinking is based on print and web. Now, it is - in some ways - like going back to school learning DPS and DSP terminology. It is a bit frustrating, but, I know I will get it.
    Now that I have looked at my first MSO test, I followed the instructions in DPS Tips, I realize that the Button is in the "Normal State" as I (interact, this is my terminology) touch or hover to make the button work. It is in the "Click" state that the Button triggers the MSO to work, and, I finally get that now - okay, I'm slow to learn. And, I will be building a complex MSO to prove the point to myself.
    I was wondering, besides DPS Tips, are there any books, apps, specific sites that are very specific on "ALL" the things one can do with DSP? 
    Again, thank you and, all the folks who have taken their time to respond to my post. All the information is truly appreciated.
    Sincerely,
    Lain Kennedy

  • Getting submit button to work online in Adobe Reader

    We've been having problems getting the Submit button to function in an Adobe form we use online. I searched this forum and others but came up with no solution other than instructing the user to download the form and open it locally in Reader then fill it out and submit. This seemed counter intuitive so we called Adobe and got the following bit of info that worked like a charm so we thought we'd share it with others who may be experiencing the same problem.
    In Adobe Acrobat Professional
    Go to “Advanced” in the menu
    Select “Enable Usage Rights in Adobe Reader...”
    When you do this it prompts you to save it. Once this is enabled you can't edit the document any further so you may want to save it as a new name and upload it to the web and the submit button should then work in the browser.   

    I can't read the form on this machine (meaning it is not backward compatible to this version). However, the typical problem is that you are trying to have a full form submitted. Simply change to the FDF or XML data which can be imported to the form. There are restrictions on the saving that is needed for the full form and also there may be problems with using e-mail -- e-mail depends on the client machine setup in many cases and will fail.
    Follow up:
    I looked at the submit button. There are two aspects that are issues, one that is probably the problem you are having.
    1. You use e-mail submission. This may cause problems for some folks due to their system not being setup for MAPI or related automated mailto: operation. That is likely not your problem, but can be an issue.
    2. You have selected to submit the entire PDF. Change that to a FDF submission for now and it will probably work fine. Depending on your version of Acrobat you can fine a menu item listed as Form Data with the option to import data. That is all you need to get the data back in the same form as in the PDF that was completed. You will have to open the form and then import the data, unless the form has not moved and the FDF file still has the file path information to open the data in the file automatically.
    3. To enable the full form, you run into issues with the license agreement if it is be used by more than 500 folks. It may be an issue for a company as large as your's. In that case, use the form data. If you can insure that there will be no more than 500 folks using the form (see Sec 15 of the EULA), you can enable Reader Rights (need AA8 or AA9). I would suggest you are better off not enabling the form in your work place, but having the data submitted. The user can print the form (and markup) for their records.

  • How to get submit button to work after posting form to website?

    I have created a pdf fillable form with a submit button so that the form can sent to me via email.  The submit button does not work once the form has been posted to our website.  How do I get it to work?

    Hi,
    The form was created in Adobe Acrobat Pro XI.  It was saved Protected to Restrict Editing.  The submit button was formatted with URL mailto:[email protected] and Export format PDF the complete document.  Once posted onto our website when you click on the submit button nothing happens.

  • I cannot get my @ button to work on the iMac why is this not working?

    Cant get the @ button on my iMac to wwork is there another way to get it to work other than the usual way of shift up and @

    If you have access to another keyboard, you could see if the issue is really in that,
    or if the problem could have some other cause... Even a PC keyboard may help
    to troubleshoot this one aspect. I try to always have a spare USB keyboard/mouse.
    Not sure if you could re-assign other keys, such as the F_ keys across the top, to
    have a different one for the @ symbol. There is a code for each one of those items
    and you could use it, or have a text document handy to copy-paste that one item.
    And if you have an antique iMac, or a newer intel-based one, they have different
    operating systems; and troubleshooting may take on different dimensions, too.
    So advice and results may vary depending on hardware & software in use.
    Good luck & happy computing!

  • Help please--cannot get summary button to work???!!!!

    Hi all,
    I am trying to get a summary of results on a survey, and I did have a portion of it working, but needed to add more code to complete it.
    When I hit the display summary button--nothing happens. There is a problem with my logic, but no logic errors come up. I must have created an infinite loop.
    Your help is much appreciated!!!!!
    Here is the code
    rivate void summaryJButtonActionPerformed( ActionEvent event )
           //declare variables
           double perAgree = 0.00;
           double perDisagree = 0.00;
           double perNuetral = 0.00;
           //calculate percent response for each category
           perAgree =  ((double)numAgree/total) * 100;
           perDisagree = ((double)numDisagree/total ) * 100;
           perNuetral =  ((double)numNuetral/total) * 100;
           //clear old results
                  summaryJButton.setText("");
           //add header to output area
           resultsJTextArea.append( "RESPONSE\tFREQUENCY\tPERCENT\tHISTOGRAM");
           //display results
           resultsJTextArea.append("\n" + "Agree" + "\t" + numAgree + "\t" + perAgree + "%"  );
           resultsJTextArea.append("\n" + "Disagree" + "\t" + numDisagree + "\t" + perDisagree + "%"  );
           resultsJTextArea.append("\n" + "No Opinion" + "\t" + numNuetral + "\t" + perNuetral + "%"  );
           do
                if (numAgree < total)
                     resultsJTextArea.append("\t" + "\t" + "\t" + "*");
                if (numDisagree < total)
                     resultsJTextArea.append("\t" + "\t" + "\t" + "*" );
                if (numNuetral < total)
                   resultsJTextArea.append("\t" + "\t" + "\t" + "*");
          } while (numAgree + numDisagree + numNuetral <= total);
       } // end method summaryJButtonActionPerformed
    /code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi and thanks for your help!
    I did invoke the method with a handler. Maybe I should have given you the entire code that I have in the first place.
    The first part of the code, and the other method seems to be working, so I was focusing on where the problem is.
    By the way- tried the system.out.printli, but since nothing happens when I click the summary button, I cannot even get any values to print in the command prompt.
    Here is the entire app:
    // Application summarized results of a survey
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.text.DecimalFormat;
    public class Survey extends JFrame
       // JLabel and JTextField read response
       private JLabel responseJLabel;
       private JTextField responseJTextField;
       // JButton initiates display of results
       private JButton summaryJButton;
       // JTextArea for survey results
       private JTextArea resultsJTextArea;
       // JButton resets to start again
       private JButton resetJButton;
       // DECLARE COUNTERS FOR VALID RESPONSES
       private int numAgree = 0;
       private int numDisagree = 0;
       private int numNuetral = 0;
       private int total = 0;
       // no-argument constructor
       public Survey()
          createUserInterface();
       // create and position GUI components; register event handlers
       private void createUserInterface()
          // get content pane for attaching GUI components
          Container contentPane = getContentPane();
          // enable explicit positioning of GUI components
          contentPane.setLayout( null );
          // set up responseJLabel
          responseJLabel = new JLabel();
          responseJLabel.setBounds( 116, 8, 70, 23 );
          responseJLabel.setText( "Response:" );
          contentPane.add( responseJLabel );
          // set up responseJTextField
          responseJTextField = new JTextField();
          responseJTextField.setBounds( 215, 8, 70, 23 );
          contentPane.add( responseJTextField );
          // ADD THE ACTION LISTENER TO THIS FIELD
          responseJTextField.addActionListener(
                    new ActionListener() // anonymous inner class
                        // event handler called when user clicks responseJButton
                        public void actionPerformed ( ActionEvent event )
                           responseJTextFieldActionPerformed( event );
                    } // end anonymous inner class
                 ); // end call to addActionListener
          // set up summaryJButton
          summaryJButton = new JButton();
          summaryJButton.setBounds( 116, 40, 170, 26 );
          summaryJButton.setText( "Display Summary" );
          summaryJButton.setEnabled(false);
          contentPane.add( summaryJButton );
          summaryJButton.addActionListener(
                    new ActionListener() // anonymous inner class
                        // event handler called when user clicks summaryJButton
                        public void actionPerformed ( ActionEvent event )
                           summaryJButtonActionPerformed( event );
                    } // end anonymous inner class
                 ); // end call to addActionListener
          // set up resultsJTextArea
          resultsJTextArea = new JTextArea();
          resultsJTextArea.setBounds( 16, 78, 400, 100 );
          resultsJTextArea.setEditable(false);
          contentPane.add( resultsJTextArea );
          // set up resetJButton
          resetJButton = new JButton();
          resetJButton.setBounds( 175, 200, 70, 23 );
          resetJButton.setText( "reset" );
          contentPane.add( resetJButton );
          // ADD THE ACTION LISTENER TO THIS BUTTON
          resetJButton.addActionListener(
                    new ActionListener() // anonymous inner class
                        // event handler called when user clicks resetJButton
                        public void actionPerformed ( ActionEvent event )
                           resetJButtonActionPerformed( event );
                    } // end anonymous inner class
                 ); // end call to addActionListener
          // set properties of application's window
          setTitle( "Survey Summary" ); // set title bar text
          setSize( 450, 275 );         // set window size
          setVisible( true );          // display window
       } // end method createUserInterface
       // method reads user input and accumulates totals
       private void responseJTextFieldActionPerformed( ActionEvent event )
            String input;             //used to store user's input
            boolean valid;
            int response;
              //test for no input
            if (responseJTextField.getText().equals(""))
                              JOptionPane.showMessageDialog( null,
                            "Please enter a response to the survey ", "Message",
                             JOptionPane.INFORMATION_MESSAGE);
                                 return;
              //read user input and convert to number
            input = ( responseJTextField.getText() );
            response = Integer.parseInt (input);
            // display error when response is not valid
                      if (response == 1 || response == 2 || response == 3)
                        valid = true;
                        total++;
                        summaryJButton.setEnabled (true);
                        responseJTextField.setText("");
                   else
                        //display error message
                        JOptionPane.showMessageDialog( null,
                      "Please enter a valid response ", "Message",
                       JOptionPane.INFORMATION_MESSAGE);
                       return;
                 //add totals for each category
                 if (response == 1)
                        numAgree++;
                   if (response == 2)
                        numDisagree++;
                   if (response == 3)
                        numNuetral++;
       } // end method responseJTextFieldActionPerformed
       // method displays survey summary
       private void summaryJButtonActionPerformed( ActionEvent event )
           //declare variables
           double perAgree = 0.00;
           double perDisagree = 0.00;
           double perNuetral = 0.00;
           //calculate percent response for each category
           perAgree =  ((double)numAgree/total) * 100;
           perDisagree = ((double)numDisagree/total ) * 100;
           perNuetral =  ((double)numNuetral/total) * 100;
           //clear old results
                  summaryJButton.setText("");
           //add header to output area
           resultsJTextArea.append( "RESPONSE\tFREQUENCY\tPERCENT\tHISTOGRAM");
           //display results
           resultsJTextArea.append("\n" + "Agree" + "\t" + numAgree + "\t" + perAgree + "%"  );
           resultsJTextArea.append("\n" + "Disagree" + "\t" + numDisagree + "\t" + perDisagree + "%"  );
           resultsJTextArea.append("\n" + "No Opinion" + "\t" + numNuetral + "\t" + perNuetral + "%"  );
           do
                if (numAgree < total)
                     resultsJTextArea.append("\t" + "\t" + "\t" + "*");
                if (numDisagree < total)
                     resultsJTextArea.append("\t" + "\t" + "\t" + "*" );
                if (numNuetral < total)
                   resultsJTextArea.append("\t" + "\t" + "\t" + "*");
          } while (numAgree + numDisagree + numNuetral <= total);
       } // end method summaryJButtonActionPerformed
       // method resets and clears to enable re-start
       private void resetJButtonActionPerformed( ActionEvent event )
            numAgree = 0;
            numDisagree = 0;
            numNuetral = 0;
            total = 0;
           responseJTextField.setText( "" );
          resultsJTextArea.setText( "" );
          summaryJButton.setEnabled(false);
       } // end method resetJButtonActionPerformed
       // main method
       public static void main( String[] args )
          Survey application = new Survey();
          application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
       } // end method main
    } // end class Survey

  • Cannot get iTunes DJ to work

    No doubt it is something really obvious that I'm missing, but I cannot get iTunes Dj to work. If I click on iTunes DJ in the left column, right section of the window says "iTunes DJ" and explains that I can make a continuous mix, but there is no list of music. The play button is greyed out.
    The help file says "To select a specific playlist (instead of your library) for the live mix, choose an option from the Source pop-up menu at the bottom of the iTunes window."
    but there is no Source pop-up menu at the bottom of the iTunes window.
    Any ideas?

    Do you see the grey bar at the bottom of the screen when you select iTunes DJ, the one with the Settings and Refresh button, as seen in the picture on this web page? If not, then the bottom of the window may just be off the screen on your system so you don't see the Source selector. If that does seem to be the problem, try changing the resolution of your Mac's screen (Displays system preference) to the highest resolution. If it already is, try changing it to a lower resolution, then back. That may get the iTunes window to reappear..
    If not, open the Script Editor application, paste in the following text (up to and including the line that says "end tell") and click the "Run" button:
    tell application "Finder"
    set {d1, d2, d3, d4} to (get bounds of window of desktop)
    end tell
    tell application "iTunes"
    set margins to {d1 + 10, d2 + 54, d3 - 10, d4 - 148}
    set bounds of window 1 to margins
    end tell
    If the iTunes window is running off the screen, that should restore it.
    Hope this helps.

  • Some how i cannot get my ipod to work it is where the apple is there and on itunes it said that i do not have a ipod at all i have a touch

    i cannot get my  ipod to work i cnnot turn it off or start it it is stuck with the apple on it

    - Try resetting the iPod:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Try connecting it to your computer and restoring it.  You may have to place the iPod in recovery mode.  For recovery mode see:
    http://support.apple.com/kb/HT1808

  • I cannot get Copy & Paste to work in iOS 5

    I cannot get Copy & Paste to work on my iPhone or my iPad since updating to iOS 5.1
    I can copy and paste within an app, buy copying from one app, then going into another, Paste is not available.
    Anyone one else having this isuue? I have tried rebooting both devices but no change.

    I just checked this out by opening a doc in PlainText and copying some sameple text that I typed.  I hit enter a couple of times, pressed on the screen, the paste button appeared and I was able to paste no problem.
    I then opened a fresh document in Pages and pressed on the screen to open the paset button and got the text to paste into the Pages doc with no problem.
    You may have a glitch in your iOS 5.1 update.  You might try doing a reset all settings reset and set the phone as a new one (You should not lose any data, or media)  You will need to go in and reset any changes you may have made in settings as this set all of them back to factory defaults but your music, pictures, data, email accounts etc. will not be erased.
    If this doesn't work you may need to reinstall the iOS again.I think you can do this through iTunes but am not 100% sure.  You may need to take it to your local genius bar (Hope you have one close to your house) and ask them to reinstall the OS for you.

  • Does anyone know if iCloud is offline? I cannot get my mail to work this AM

    Does anyone know if iCloud is offline? I cannot get my mail to work this AM

    Have latest version of iTunes installed and running. Also make sure you have internet access working and can access Apple websites. Also, make sure you don't have any entries in your hosts file referring to gs.apple.com....If your not sure about how to do that, go ahead and do the rest first. You can come back to that later.....Plug in phone. Put phone in DFU mode.(google put iphone in DFU mode for instructions) Then restore the phone in iTunes by highliting your device in the left column and click on the Restore button. The latest iOS version is 4.3.3. That's what iTunes will restore it to. When it's done restoring, iTunes will ask if you want to restore from a backup or setup as a new phone. I would use the Setup as a New Phone option. Once it's done, you should have a clean install of the iOS and an operating phone, as long as there are no hardware issues with it.

  • I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.2 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    You can go to the Apple online store and purcahse a copy of Mountain Lion.  This will give you a redemption code, which you can use to download Mountain Lion from the App Store.  Unfortuantely, I'm not aware of any other way to legally purchase it.  I have never seen Apple release Muontain Lion on DVD.
    In terms of Apple Service, they just need the serial number of the machine to check the purcahse date.  It is usually correct, to within a few weeks.  A quick Google search should give you the correct number to dial.
    I hope this helps.

  • I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I have installed Mountain Lion 10.8.1 but still cannot get email from my work exchange account. I'd appreciate any help.  Thank you.

    I would delete the account and try to re-enter it. Also, you have to let your firm's IT department know that you want to sync work email on your personal devices before they actually work.

  • I cannot get GPS Only to work on my ipad3 (4g version, but not on an active cell plan, and wifi off).  Is there some new requirement in 7.1 or 7.1.1 to have cell and/or wifi enabled for GPS to work? I am testing with MotionX

    It seems like I cannot get GPS only to work on my ipad3 (4g version, but not on an active cell plan, and wifi off).  Is there some new requirement in 7.1 or 7.1.1 to have cell and/or wifi enabled for GPS to work? I am testing with MotionX, garmin blueChart mobile, and a GPS monitoring tool. All show no signal. If I turn on cell and wifi,  it says I get gps signal, but can't tell if that is from the GPS chip, or just from cell and wifi only (maybe with some gps mixed in)?  Any ideas on how to get iPad working with GPS only??

    Roger that.  Thanks for your time.
    System:
    Windows 7 64bit
    Processor: AMD phenom IIX4 965
    RAM:  Gskill Ripsaw F3-12800CL7D-4GBRM (2-2GB sticks)
    GPU:EVGA Classified Nvidia GeForce GTX 560 Ti 448 core
    PSU: Kingwin 1000W laser gold (LZG-1000)
    Yes. tried the one ram stick, no go.  I have been trying to boot off/install the windows 7 disk but am unable to get to the point where windows starts installing after its gathering information portion of the install.  I can get to the disk selection screen of the install with the WD HD on SATA port 2 but then get the "cant install messages" when I try to select the Vertex 3.  Yes I can see the Vertex 3 Drive as well as the WD drive at this point.  some times I have to hit "scan" a couple of times.

  • HT2240 I cannot get my registration to work for QuickTime Pro for Mac OS X 10.6.8 using QT 7.6.6

    I cannot get my registration to work for QuickTime Pro for Mac OS X 10.6.8 using QT 7.6.6  I have copied and pasted exactly as require (I don't have an organization).  Any suggestions?  Thank you!

    There is no QuickTime System Preferences pane in 10.6.8 or later.
    You enter the registration under the player 7 menu.

  • I cannot get airport extreme to work. Can you help me?

    I have a G5 Power PC. I recently purchased a macbook and an Airport Extreme. I cannot get the airport to work. Can somebody help me please??
    G5 Power PC and macbook   Mac OS X (10.3.9)   new OS X on Macbook

    I plug the ethernet from the airport to the back of the modem (a Webstar unit) from my cable provider. Then I plug the other cable from the back of the airport into my G5. Then plug in the power cord. I get lots of flashing lights - "thinkin & blinkin", but then I get a message that it cannot locate the server. Even rebooted. I've been waiting for the IT guy to call/email me back me back but no response yet. I'm guessing I may just need a new location, but I'm not wired to think IT-like (I'm a very right brained graphic designer), I I don't want to screw anything up.
    Do I need to just go through a new internet setup?
    G5 Power PC and macbook   Mac OS X (10.3.9)   new OS X on Macbook

Maybe you are looking for

  • How can I convert a Gift Certificate from Canadian Store to US Store?

    My sister, who lives in Canada, bought us an iTunes gift certificate for Christmas. We tried to redeem it, but because she bought it through her account in the Canadian store, it is not accepted. Anyone know what we can do so we can use this money? I

  • 6321 performance problems

    Hello again, we are experiencing performance problems with the 6321 in our environment - 10 kHz system clock, i.e. the analog input channels should be read in every 100 µs. This works fine with one card (differentially cabled), but if we plug a secon

  • USB or COM what can I do?

    Hello every one I have to send a text file by an optical transmitter device. This instrument connect to USB (but it has a driver soft ware that when I check my device manager it shows USB by COM) so what is this connection how can I send the data ?

  • BUG in SelectBooleanCheckBox component binding Simple Use Case

    I have a table called Customer have four fields. Id, Name, Gender, Regular. The sample data is --- 23, Mark, M, Y --- 26, Fiona, F, N I want to show an updatable form to the end user for the same using ADF. The UI components for Name, Gender are Outp

  • Billing Index for Rebate agreement

    Hi , When i m activating the rebate agreement for a particular Sales Organization and saving it, system asks if we need to recreate the billing index. Can anybody please help me to know its purpose and impacts ?? Regards, Manish