Submit button image dosen't work...

Hi!
I have a html page with a form (start a servlet) in and it works without problems when I use an <imput type=submit....
if I change this with an image button.... I have an "Internal Server Error" ....
Why? whats the difference?
Thanks,
Calin

Try these two ways:
<html>
  <head>
    <title>Submit Image Button</title>
  </head>
  <body>
    <form name="TheForm" action="YourServlet">
     <!-- Works... You might prefer this example over the one below -->
     <input type="image" src="YourImage.gif" onClick="document.TheForm.submit();">
     <!-- Works, but doesn't show a finger when you hover over it -->
     <img src="YourImage.gif" onClick="document.TheForm.submit();">
    </form>
  </body>
</html>These both works in IE 6.x, NS 6.x and Opera 6.x . For my own development, I don't cover older browsers, so you might want to test it out.
I hope this helps.
/Gert

Similar Messages

  • Captivate 8 - submit buttons/images no longer showing on devices after adding text with javascript

    I'm working on a Captivate 8 project to publish to devices through PhoneGap. This is working successfully on iPhone and Android so far. I have modified the quiz so I have 2 types of quizzes with 3 levels each without the final score showing at the end (they have to get the answer correct to move on to the next question).  The submit buttons and image I added to each slide has been working perfectly until I added a text caption with a variable to show "Q X of 6" for each question, with X being a variable that increments by 1 for each slide and then I have another script at the end of each level to reset the variable back to 0.  This is working, however the submit button/success message and image on each slide is now not showing.  The submit button appears to still be on the screen as I can click in the same area where the it should be and it works but appears to be faded completely out, and the success message now shows so lightly I can hardly see it. My image does not show at all now.  I've checked the timeline and they are all set the same, to appear for the rest of the slide.  Any ideas?

    actually I think it might be an issue related to upgrading my Mac from Mavericks to Yosemite as the app was working perfectly before. I stripped all the javascript off and repackaged and it's having the same issue so I don't think it's the javascript. I'm going to keep looking into this.

  • Shortcut on Quiz Submit button make "click" not work! CP8 - HELP

    Can someone help me out here?
    Okay, I have a few quiz questions. If I have not shortcut on the submit button, it works just fine. If I put "Enter" on the submit button, I cannot click it. Yes, Allow Mouse Clicks is checked.
    I would like my users to be able to press enter or click.
    Running cp8 on win 8.1. Tried in preview mode, as well as published in IE and Chrome.
    Feels like I'm losing my mind! I have also tried with accessibility enabled and not. Not that it should make a difference, but I tried it.
    Thanks for any insight gang,
    Lori

    Looks like I have fallen victim to the transparent button again.  When I switch the quiz buttons to text or image, the shortcuts on them work just fine. Then they are transparent I have issues.  The nice thing about transparent is that you can color them. Because you can't use smartshapes as actual quiz buttons (submit, etc) at least not that I'm aware of, I have had to place a smart shape on the masterslide and overlay a text button with "make transparent" selected on top to make my buttons look AND behave correctly. Adobe is now aware of the issue.
    -- Lori

  • No "Submit to SAP" button, the submit button offered doesn't work

    Hello everyone,
    I am working with the interactive forms and I have tried going through the PDF about how to use an RFC with the interactive forms.  During the tutorial, they say to add a button called "Submit to SAP", but I don't have one.  I have groupings for Web Dynpro ActiveX and Web Dynpro Native, but neither of those have a "Submit to SAP" button, only regular submit buttons.  I have tried adding these submit buttons, but neither one actually submits my data.  When I click on them in the form nothing happens.
    I am running NWDS 7.0.10
    Thanks for the help,
    Logan

    We had the same problem and when we installed ACF on the client machine it resolved the problem.
    If you are using 04s you can use this link https://sapmats-de.sap-ag.de/download/download.cgi?id=HUU1XMYWJNEKKEXB7EG33N5LBBAXUEP4LBRZXKWFEZHBR74SWY
    to download ACF.
    Also, does this problem exist even when the Submit button is placed outside the Adobe form?
    thanks,
    Sanketh

  • Submit button on pdf not working?

    Unsure but submit button works fine on my system but when I have loaded on a web page it doesn't seem to work
    http://www.tlc.net.nz/wp-content/uploads/lts-registration.pdf

    I have made a form with email submit button in Adobe designer 8. Then I opened this form into Acrobat8 Professional to distribute the form. It worked fine. But the thing that upset me that the form receiver can distribute this form after receiving it. How I can restrict this distribution option to the form receiver?
    I will highly appreciate if any one can help me in this regard.
    Sohail Butt

  • Submit button in form not working

    Hi I've created a pdf forms, the submit button created (formcentral) does not appear in adobe reader for ipad while works great in the pc version
    Is it something that will be fixed in a new version?

    We've implemented Forms Central submit but are awaiting an approval from Apple to release our latest version. I'm hopeful you'll see it by the end of the month.

  • Button link dosen't work

    This link dosen't work. Any thing wrong here? Thanks.
    <input type="button" onclick="windlow.location.href="/App/myAction.do?User=<bean:message key="username"/>">

    I just typed here to show in this thread. No spelling mistakes in my actual code.

  • What is the purpose of Destination Function on Submit Button?(Doesn't work)

    Hi Gurus,
    There is a property "Destination Function" on Submit buttons.
    What is the purpose of this field.
    I tried setting some values here expecting following behavior in order:
    1. Process Form Request will get executed.
    2. User will be navigated to the OAF page related to the Destination Function.
    Destination Function property probably point to setInvokeFunction method of the OASubmitButtonBean.
    Please advise on this.
    Thanks and Regards,
    Prince

    Question 2. What is the purpose of View Instance on Submit Button? Is it there for BoundValues? Any examples how can we use this?
    Question 3. Related to Question 2, What is the purpose of View Instance and View Attribute on Button?

  • Submit button how does it work in noninteractive forms

    Hi ,
    I read the below part in one of the articles on interactive forms . can anyone explain how this is done ....
    An interactive form can, in standalone, make a call to some web service. And as you may know, in the NetWeaver versions of SAP systems, every remote-enabled function module can be exposed as a web service!
    The web service call logic is embedded in the Interactive Form you sent to your customer. When he clicks on 'Submit';, the web service is called, and your SAP backend is updated. Great!
    As per my understanding a RFC FM is created and it is configured in the SFP transaction.. is it correct ?

    Hi Abhilash,
    how create web service in WAS you can read in "Access SAP Business Functions (ABAP) via Web Services" https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/06adbf03-0a01-0010-f386-d8e45561a3c4
    Here is an example. Move code bellow to click event of a regular button (Control Type = Regular). In this example I use my function module ZHRABAM_ECHO_STRING which can be called as a web service.
    [code]callWebService();
    function callWebService() {
      var lXmlData=GetData();
      try{
        SOAP.wireDump = false;
        var oURL = "http://server:8005/sap/bc/soap/wsdl11?services=ZHRABAM_ECHO_STRING&sap-client=100";
        var service = SOAP.connect(oURL);
        if(typeof service != "object") {
          xfa.host.messageBox("Error calling the Web Service.");
          return;
        if (service.ZHRABAM_ECHO_STRING == "undefined") {
          xfa.host.messageBox("Error calling the Web Service.");
          return;
        var lResult = service.ZHRABAM_ECHO_STRING();
        if( lResult != null){
          xfa.host.messageBox("Result: "+lResult);
        } else {
          xfa.host.messageBox("Result is null.");
      } catch (e) {app.alert(e.message);}
    function GetData() {
      var myDataNode = null;
      var xml = "";
      try {
        myDataNode = xfa.resolveNode("$data.nodes.item(0)");
        xml = myDataNode.saveXML();
      } catch (ex) {}
      return xml;
    }[/code]
    [code]FUNCTION ZHRABAM_ECHO_STRING.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(IV_TEXT) TYPE  STRING
    *"  EXPORTING
    *"     VALUE(EV_TEXT) TYPE  STRING
    ev_text = iv_text.
    ENDFUNCTION.[/code]
    Michal

  • I have createad a from with a submit button which is not working at the receipents end.

    As far as we can tell, it only works when someone has Abode Acrobat Pro. It doesn't work with Adobe Acrobat 10. The form can be filled out but none of the writing can be emailed.

    Do you mean that it doesn't work with Adobe Reader? If so, did you Reader-enable the form before you sent it out?
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features

  • Submit Button In Web Dynpro Layout not working.

    Hi All,
             I have integrated an adobe form in my web dynpro application.According to my requirement the view of screen should change when the user clicks on submit button.So I have given the submit button as one of the UI element in my WD object along with the form.But when I click on the submit button the functionality doesnot work.
    The same submit button works when there is no adobe form integrated in my WD application.
    Please let me know what needs tyo be done so make that submit button work.
    Thanks and Regards,
    Sarang

    Sarang,
    Lets go step-by-step.
    1. Create two views in your applications lets say the names are View1 and View2.
    2. Goto Diagram View of the Window in under Windows node in your Web Dynpro Explorer in NWDS.
    3. Create Inbound and Outbound plugs for View1 namely inbView1 and outView1
    4. Repeat the same for View2. So names will be inbView2 and outView2.
    5. Create a navigational link between the Vies by creating a link from outView1 plug to inView2 plug.
    6. Goto Layout tab for the View1. This is where you have embedded the Interactive form element.
    7. Set the displayType property to native.
    8. Under Events there will be onSubmit method, craete a new method called navigateToView2 and click Go. This will take you where you can implement your logic.
    9. Fire the outbound plug of View1. See following code snippet:-
    public void onActiong navigateToView2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiongotoView2(ServerEvent)
        wdThis.wdFirePlugOutView1();
        //@@end
    10. Edit the Interactive form, it should open Adove LiveCycle Designer.
    11. Drag-drop Submit button from WD Native library ontot the form.
    11. Don't modify anything and check if you see below code snippet in the Editor.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051114114126.253659.250577 - SubmitToSAP.xfo
                          ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
                          // END OF DO NOT MODIFY
    12. Now whenever you click submit button on the form, what it does is that it makes call to WD framework and the onSubmit action handler is called where you have written the code to navigate to View2.
    Chintan

  • Submit button not working in IE

    Hi there
    I have a submit button that is not working in IE 7 is there anyone that can help there. The username and password are both admin.
    http://www.plusonetesting.co.uk/login.php

    And the other 12 errors found here http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.plusonetesting.co.uk%2Flogin. php
    Ben

  • Problem with Submit Button in Adobe Forms Central

    I have a PDF form that I uploaded to Adobe Forms Central.  I created the fillable fields & the submit button in Forms Central.  I have several documents like this.  All have worked in the past.  Today on my latest file, the submit button doesn't always work.  I am getting some submissions, but some people have reported to me that the submit button does not work.  I tested it myself to see.  I had to create a Digital ID for myself, which seemed to work fine.  But when I click on submit, the form says "Submission Failed.  This form can no longer be submitted. Please contact the author."  I'm the author & don't know what the problem is.  Anyone know what the problem could be?

    The form is open. I should have mentioned that I made sure to check that first.  The form was created by uploading an existing PDF file that I created from a MS Word file to Adobe FormsCentral. Once the form was completed, I had a coworker test it & it worked.  We sent the form out & I have received some back, but have also received reports of the form not working.  I downloaded the form to my computer & tested it using Adobe Acrobat 9.0 Standard.  I use a Windows environment on a Dell laptop.  The form does not work for me.

  • Submit button issue in Acrobat 8 Professional/LifeCycle Designer

    I am using Acrobat 8 Professional and LifeCycle Designer 8.0 on a PC with XP Pro. I first made forms using the default email submit button and had an XML data file submitted.
    I'm now making the forms to submit as a pdf file rather than an XML file. I selected a regular button rather than the email submit button provided and made it a submit button to be submitted as a pdf.
    The forms are being sent as pdf files attached to emails using Outlook. The issue is that every computer has a different "reaction" to this submit button. My computer (PC), when I tested the forms,everything was fine - Outlook opened and I was able to submit the file. On another PC in my office, when she clicked the submit button, nothing happened at all. On a PC at home, I got an error message "this operation is not permitted." And someone on a Macintosh did not even get a submit button showing up on the pdf.
    We need to be able to send these files out so that everyone can complete them easily. I would appreciate any ideas on how to make the submit button so that it works on all platforms and computers.
    Thank you so much,
    Marcy

    Thank you to you both for your suggestions.
    Actually, Bill, this will not be a controlled environment at all. We want to be able to email forms to all of the 80 parents in the school, and have the parents complete them as pdf's and submit the information back to us as a complete pdf form. This opens up the potential for 80 different computers/ISPs/environments. And of course, my supervisor wants it seamless and easy with no glitches for all 80!! So as you can see, I have my challenge with this project.

  • Submit button problem

    I am using Acrobat 8 Professional and LifeCycle Designer 8.0. I first made forms using the default email submit button and had an XML data file submitted.
    I'm now making the forms to submit as a pdf file rather than an XML file. I selected a regular button rather than the email submit button provided and made it a submit button to be submitted as a pdf.
    The forms are being sent as pdf files attached to emails using Outlook. The issue is that every computer has a different "reaction" to this submit button. My computer (PC), when I tested the forms,everything was fine - Outlook opened and I was able to submit the file. On another PC in my office, when she clicked the submit button, nothing happened at all. On a PC at home, I got an error message "this operation is not permitted." And someone on a Macintosh did not even get a submit button showing up on the pdf.
    We need to be able to send these files out so that everyone can complete them easily. I would appreciate any ideas on how to make the submit button so that it works on all platforms and computers.
    Thank you so much,
    Marcy

    It might work on your machine as you designed in & using Adobe Acrobat. In order to make it work with rest of the world (Adobe Reader) you may have to assign certain rights using Reader Extensions server. Also heard Adobe Acrobat is preloaded with limited capacity to enable such rights even if you do not have "Reader Extensions".

Maybe you are looking for