Double Click handling with Submit Button

Does a submitButton on the page automatically handle / block the user's double click action?
I have an application where a submit button causes processing & commits to occur.
I want to make sure that when the user "double-click" the button, it doesn't cause problems.
Thanks

Hi
Does a submitButton on the page automatically handle / block the user's double click action?No it doesnot handles so..
You can write the below code in processRequest method of your controller to disable the button till the moment processing is going on,After processing completes you can again click submit button.
OAWebBean body = pageContext.getRootWebBean();
if(body instanceof OABodyBean)
((OABodyBean)body).setBlockOnEverySubmit(true);
}Please refer to this article for more details
http://mukx.blogspot.com/2009/12/blocking-user-on-submit-action-in-oaf.html
Moreover,if you want to disable the button after first click then on click of get an event redirect it to same page and make it disabled or use Partial page rendering for this.
Thanks
AJ

Similar Messages

  • Call BADI  on click of a submit button in ESS

    Hi All,
    I am trying to call a function module ( i.e through BADI ) in a different browser by clicking on a submit button in Travel & Expenses Iview in ESS ( EP 6.0 ) but i didn't see any new window/ browser opened when i clicked on submit button.
    The BADI is activated and its working fine because the same functionality is working good when i tested this through trans. code  PR_WEB_1200. When i clicked on a submit button, a new browser was opened and the form was displayed the way we want in a different browser.
    But when i tested the same in ESS, i couldn't see any new browser or window opened. If the BADI was called when i clicked on the submit button atleast a new browser has to open with a blank page.
    Please guide me, If anybody knows, how to call a function module in a new browser by clicking on a button in ESS - Portal.
    Thanks.
    Anil

    Hi Jayesh,
      You can use the BADI BBP_CUF_BADI_2 to change the display from customer-defined fields to the SAP standard screen. This BAdI enables you to control whether the fields can be edited, and how they are displayed.
    MODIFY_SCREEN method will Show/hide field display and restrict edit options.
    For more information on BADI please go to SPRO -> BADI.
    OR  View the information on BADI's.
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    Hope above proves helpful to you.
    Regards,
    Rajeshree.

  • Associating two events with submit button using  javascript in jsp

    Hi
    How can i Associate two events with submit button using javascript in jsp. Firstly it should insert the data to database and secondly it should close the same pop-up window

    Have something like :
    <input type="submit" name="submitbtn" value="Click me" onClick="function1(); function2(); " />
    You just call both functions sequentially, it's that simple. Although using javascript to work with a database, that seems a bit tricky.

  • Problem with submit button in wweb dynpro abap

    hi all,
                we have problem in submit of our interactive form in web dynpro abap.
    my scenario.
                             on event submit we have to fetch data from database table and display the same.
    On click of the SUBMIT button for the first time it fetches data but when we change the input field and submit again it dsnt trigger the event(We need to double click only then event is triggered).
    Can anyone guide us on how to fetch the data at single click.
    Thanks and Regards
    Vinoth

    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.

  • Can a program a double click event for a button in Flash Catalyst?

    I currently have a button programed in FC with a single click. I would like the exact same behavior to happen whether there is a single or double click on the same button.
    Is there a way to do this in FC? If not can I pull it into another program to edit the code?
    Thank you!
    Sarah

    Thanks for letting me know.
    Unfortunatly it looks like I can't upgrade unless I upgrade my whole suite, which is a bummer. We just spent a small fortune on upgrading everyone from CS3 - SC5. I will have to check with our account rep, but I doubt I can get another software update approved this year. Maybe next.
    Thanks again Chirs!

  • I updated my iPad to ios 7.1, and now I can't double click on the home button to switch between apps, or to close them. What happened? How can I fix this?

    I can't double click on the home button to switch between apps, or to close them. This happened after I updated to ios 7.1

    Swiping up from the bottom of the screen with four fingers did not bring up the app preview. A single press on the home button still brings me back to the home screen, but a double press of the home button does nothing following updating to 7.1   Given that, when I added a software home button as suggested by DIAVONEX, I found that all of the apps WERE still open! So thank you DIAVONEX, and you should be careful, bobseufert, as your information was inaccurate.( I did try turning it off and that didn't change anything. ) I don't really want a software home button on my screen, but I guess I will use it until either there is another update to resolve this glitch or someone else identifies a quirky setting that I inadvertently activated...

  • When click on the submit button i got the below error.

    Hi Gurus,
    i am very new to oaf.
    i am trying to insert data into database tables.
    so i am entering the data and click on the submit button i got the below error in createPG rightside the top
    Error while creating a new entity row for NewManagerCustomTableEO
    Plz help me
    thanks
    latha.

    Hi,
    Please provide the code that u r using..
    Thanks
    Raghav.

  • I have an InfoPath with submit button, publish the same to form library.

    Hi All,
    i have an InfoPath with submit button, publish the same to form library.
    Now, i open the form  fill it and attach some files, when i press submit button, that attachments will go to the particular document library.
    Can any one help me out.
    Thanks in Advance!

    Hi Anil,
    According to your description, my understanding is that the attachments attached to the form were submitted to an documents library.
    By default, the attachments should be attached with the InfoPath form and will not be submitted anywhere.
    There may be some customizations on the form that is to submit the attachments to the document library.
    Please check the links below if the customizations are made in the form.
    http://www.bizsupportonline.net/blog/2010/01/upload-document-sharepoint-infopath-form/
    http://www.bizsupportonline.net/blog/2010/04/top-10-questions-infopath-file-attachments/
     Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Error handling with SUBMIT

    Hello Experts!
    Is it possible to handle errors generated in a program called with SUBMIT ?
    for example I am calling a program REPORT00
    SUBMIT REPORT00
            WITH  PARAM_1 = 'X'
                AND RETURN.
    And say there are some validations in REPORT00 that throws an error.
    I see that when it throws an error, the screen on REPORT00 is displayed, which would not be prefered!
    Is there a way to handle this?
    Awaiting your valuable responses....
    Thanks in advance

    REPORT00 need to write the messages to File and download it later or need to write to spool... I guess its not possible to handle with submit statement...

  • I was online earlier this week and liked the forms with submit buttons and the Adobe site directed me to upgrade to Adobe PRO XI in order to use forms so I bought five licenses. Just had it installed today and it is now asking me to sign up for forms Cent

    I was online earlier this week and liked the forms with submit buttons and the Adobe site directed me to upgrade to Adobe PRO XI in order to use forms so I bought five licenses. Just had it installed today and it is now asking me to sign up for forms Central in order to use this feature. What gives? The Adobe site gave me the impression that I would have this feature after purchasing the new upgrade. I would not have purchased the upgrade, let alone five of them had I know this. Am I missing something?

    Acrobat XI comes with the Fromscentral AIR application and the ability to create PDF forms authored in Formscentral. To have more than the free (1 form with 50 responses) level account you need to sign up for a Formscentral subscription.
    Andrew

  • Recently my iPad does not consistently respond to a single or double click on the home button and i've had no choice but to turn it off and back on to escape fron the app  i'm using. Can't say it is consistent with any one app. Suggestions are asked for

    My ipad recently seems to be freezing and not responding to home button single or double clicks?

    While this could potentially be a hardwar issue:
    Try a rest: Simultaneously hold down the Home and On buttons until the iPad shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the iPad back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray before doing the reset.
    If the reset doesn't work, you may need to consider restoring the iPad to factory settings

  • Created a form in Forms Central. Exported the PDF with Submit Button Option. When the PDF is filled out and submit clicked, it comes back asking for required fields to be filled but they already are. Any Help?

    b

    Hi;
    OK - I can clarify some things and tell you how to do what your looking for. 
    The desktop FormsCentral application tools are really designed towards create forms that do collect data on FormsCentral servers.  You can still easily create PDFs that do not submit data to FormsCentral, but you'll have to add any alternative submit functionality using the Forms tools in Acrobat.  You can create a PDF without the submit button in either case, signed in/out of the Desktop Application from the "File" - "Save as PDF Form" menu item.  You can then modify the PDF in Acrobat XI Pro by doing a "Save A Copy", when you open the copy you can edit it any way you like, adding a "Submit" button that email's the PDF/Responses back to you...
    Here's how: In Acrobat open the PDF you saved from the FormsCentral Desktop application and go to "File" - "Save a Copy" and choose a location, this will remove the security.  Open up the copy you just created and you can now edit it, here is a YouTube video tutorial using Acrobat XI, he covers the email button in about two minutes, there are lots of tutorials out there but this one is easy to follow:,
    http://www.youtube.com/watch?v=Jql1wp5Gofs
    Thanks,
    Josh Corey
    FormsCentral Team

  • "Check Names: Microsoft Outlook does not recognize '1. double click the attachment'" submit error

    I have seen this question/issue on multiple forums and nobody seems to have an answer/fix yet.  I included an e-mail submit button for my form, and when I practice submitting, everything sends fine.  However, if I distribute the form (to allow for tracking, etc.) I get an error pop-up window that reads "Check names"  "Microsoft Outlook does not recognize '1. double click the attachment'".  What I mostly don't understand is "1. double click the attachment" is part of the directions/content in the e-mail after they actually, successfully submit the form.  Why is the content auto-populating as part of the mailing address??  After you "Show More Names" and search for the correct recipient(s), you have the same error pop-up again with the 2nd step that's show in the content of the e-mail: "2. Acrobat will prompt you to select a responses file", until you select the recipients again by clicking "show more names".  Then the e-mail populates, with "Completed Form&body=Instructions to add this form to a responses file: [email protected]?subject=Submitting" as a recipient, as well as the 2 recipients you had to search for.
    Does anybody know why this happens and how to fix it!?

    We are having the same issue of trying to send a Shared Review from Adobe Pro XI and getting a error. We are currently using Outlook 2010. Hope someone from Adobe support can answer this issue and other Shared Review issues that are related in nature.

  • Client side validation with submit button in another region

    Hi,
    I have two regions, one containing a form with input texts for the user to fill in, and another region with a command button. A few of the input fields use the ADF "required" validator.
    My problem is that when I click the submit button, and it does some logic to commit the form to a data base, even if the validator triggers and says that one of the required fields is empty, all the other fields get committed, except the ones that are empty. They get the last valid value.
    What I want is the button to trigger the ADF message that doesn't allow the user to continue with the update. This doesn't happen though.
    Anyone have any ideas? If you need a more thorough explanation, please let me know.

    Regions work as indipendent pages.
    Yet if submit buttons are partialSubmit="false" then both regions (pages are submited).
    Still there is a bug when commiting data:
    [http://adfbugs.blogspot.com/2009/08/page-with-region-validations-bug.html]

  • Acrobat form with submit button

    Have a coldfusion app that includes an acrobat form that contains a submit button.  The button submits the form to another CF page.  I'm making some fixes to this app and need to change where the form submits, currently it's going to production but i need it to go to test.  When I open the form in Acrobat 8 or Livecycle I don't see any script.  Anyone know where to change wheer this form posts?

    Not sure about LiveCycle, but here's how to do it in acrobat.
    1) Right click on Form Button -> Properties -> Actions
    You should see a list of actions associated with the button.  something like:
    - Mouse Up
           Submit a Form
    2) Select on "Submit a Form" and click "Edit" at the bottom of the screen
    3) Edit URL in "Submit Form Selections" window.

Maybe you are looking for

  • How do I set up backup for multiple iphones (40 ) in one Itune?

    We will as soon as IP5 is released transfer all of our users from IP3/4 (40+) and to make that progress smoothly we want to backupp all IP's on one computer. Is it possible to backup multible iphones/Ipads in one Itune? How do I set it up? /Anders

  • Home Sharing No Longer Works in iTunes 11

    Ever since iTunes 11, the home sharing to my two Apple TVs, iPhone and iPad has been disabled.  I've checked the firewall and iTunes is listed as having an open port, adjusted the compatibility settings on iTunes for Windows 7.  Apple fix this.

  • With clause within the cursor ???

    Hello gurus, Can we have a with clause within the cursor ??? something like this .. cursor test_cur is WITH unpivoted_data     AS      SELECT DISTINCT f.cust_id           f.office_cd           f.type_cd      FROM      refoff      ro,           cutome

  • Need Win XP to recognize external monitor connected to Macbook in BootCamp

    I have a Macbook running Leopard connected to an external monitor. When I close the lid, it goes to sleep and I can click mouse or spacebar on keyboard to wake it up and show the image on the external monitor. Can't achieve the same thing in Win XP o

  • Camera raw 6.5 limiting crop size

    When I load up a raw image in camera raw 6.5, CS5 - the cropping tool suddenly is not working correctly It limits the size of the crop that I can do.  I used to be able to surround the entire image with a crop and then edit it smaller on each of the