How To Disable Submit Button After Form Submission In Javascript

So in this tutorial, we are going to see how to prevent or stop an HTML form from submitting even after clicking the form submit button. First I would disable the button as soon as it is pushed (enable = false). When working with forms we have 2 options: the first one is to disable the submit button if the form is invalid (meaning there is at least one invalid field) and the second option is to validate the form before the HTTP POST action is executed by the code and display a message to the user to fix any pending validation errors. I’ve added some extra info as I figured part of it out but I still can’t get the button to submit the action – bkcol Feb 24 '16 at 2:32 add a comment | Your Answer. The save button is disabled by default so when the submit button is clicked and the form is submitted, the save button will be enabled. To link a submit button to another webpage, use the form action attribute. But disabling the button will prevent the form submission, as you cannot submit the form if the button is disabled. On Click of ASP. Disable submit button after click the onsubmit code to only disable the submit button if the form check has been passed first. That’s all you need to disable submit button using HTML and JavaScript to prevent multiple submission. add an extra page to the form where you show the data to be deleted and ask for confirmation there. If all these validations are passed then only the submit button will be enabled for the visitor to submit. It could be easy to add an additional parameter to fields which gives the user the option to "Disable Form Submission" based on a certain selection. but I don't want it to be validated in form. Rather than dealing with this problem server side, eating up your CPU process time, it is much easier and better to deal with this problem client side using JavaScript. how to Disable enable submit button using javascript simora How can I have the submit button disabled by default, an enable it only if 2 specific input box values match. The formnovalidate attribute is only used for buttons with type="submit". and a separate text block that pops up if the answer is yes. How to Add Form Validation, Disable Browser Caching and Embed HTML with PHP by Christopher Heng, thesitewizard. In this post, we will learn about how to change a button from enable. Tip: Use the reset() method to reset the form. How to disable a button in a jsp page? Hi, there are many roles like xx,yy,zz in my project. When creating a Submission form, Caspio Bridge allows many possible actions after the end-user clicks the Submit button. Net submit button when it is clicked after PostBack occurs to prevent users double click on the button using JavaScript TAGs: ASP. The formnovalidate attribute is only used for buttons with type="submit". find('input[type=submit]'). I want to disable a button after the user clicks the button. To restrict users to click submit button again and again, we can use the following jQuery to disable submit button. Disable Submit Button After a Form is Submitted May 17, 2015 Once a user has submitted a form, you generally don’t want them to submit it a second time. Java Project Tutorial - Make Login and Register Form Step by Step Using NetBeans And MySQL Database - Duration: 3:43:32. That works great. After form submit, disable submit button. i wish to write a script that can be included externally and will work on any generic forms. If all these validations are passed then only the submit button will be enabled for the visitor to submit. Sets or returns whether a submit button should automatically get focus when the page loads: defaultValue: Sets or returns the default value of a submit button: disabled: Sets or returns whether the submit button is disabled, or not: form: Returns a reference to the form that contains the submit button: formAction. I created a readonly input box that changes from white to a visible color to use as. This site uses cookies for analytics, personalized content and ads. On Jul 10, 2:36 pm, "Willie" element in which you return false in order to prevent the form from being submitted. getElementById(‘theForm’); theForm. PHP How To Prevent Multiple Form Submission On Submit With Javascript preventing spammers from submitting multiple submittions on your website can be annoying. or If a specific form field is => than some value in another form field or hidden field, the Submit button is re-enabled. The form object includes the form element that was submitted. open ("Your_URL"); Insert your URL instead of Your_URL 2. Problem The submit button in my ASPX page stays active, allowing the user to submit multiple times while the form submission is being processed which results in getting many submissions. Yes, but when i render the form in workspace, the flash complete button is tied to the submit button. I think I would replace the submit button with an ordinary button and use JavaScript to add the confirmation message. You can then have a form where you add another button and configure it to be a Save and Submit button. ; Modifies options hash's :data element, setting a default value for key disable_with that will not apply if there's already a value there, thus allowing the default to be overridden by any individual button. I will help you for how to disable submit button after click in jquery php. Add format rules on the other control. NET Developer / Enable & Disable a submit button Enable & Disable a submit button [Answered] RSS 4 replies. Disabling / hiding buttons after they've been pressed. Hi, I am having a problem with my script used to disable my submit button. That’s all on How to disable submit button in HTML and prevent multiple form submissions on Server. I have been trying to manage disabling a submit button after the button has been clicked. The response object includes the url that the page will redirect to. You can dynamically redirect a user to a specific URL based on their form input. If you would like to perform a jQuery or JavaScript action after a form is submitted, there are three different events you may use, depending on the "On Submit" action you have selected in your form's Settings. my reason is because click tracking on form submission. Basically, javascript has the capability of sending a request to the server, which can be handled by PHP code, and can send information back to the browser, which can be used by the Javascript (that’s AJAX). Enable the submit button only when necessary controls that are more than two controls have been filled out (I tried to do this on Current Event of the Form but did't work!). function formSubmit() {. This code will fail if form is submitted by this. onsubmit attribute also using jquery - no joy. Tip: Use the reset() method to reset the form. To restrict users to click submit button again and again, we can use the following jquery to disable submit button. Re: Re: Disable submit button on form submit [SOLVED] 9 years ago ghartwig, It's good practice when assing jquery selectors to variables to prefix them with $. Using this method, you’ll be able to disable and enable forms whenever you need to. Basically, javascript has the capability of sending a request to the server, which can be handled by PHP code, and can send information back to the browser, which can be used by the Javascript (that’s AJAX). This is probably the easiest method of stopping submission of a page twice, but you have to be careful you don't disable the button BEFORE you check for validation errors, otherwise your user will never be able to submit a page. this is a good plugin. With this the :input[type="submit"] buttons will be disabled and if the validation fails the buttons will be enabled again. juz wondering if i can use it in asp. Disable/reenable Form Submit With No Submit Button? Jul 5, 2010. Disabling / hiding buttons after they've been pressed. onsubmit attribute also using jquery - no joy. When creating a Submission form, Caspio Bridge allows many possible actions after the end-user clicks the Submit button. how to disable submit button in jsp based on the login credentials? suppose if Admin login, I need to show and enable the all the buttons like(ADD,EDIT,DELETE) but if Employee login then i need to show and enable only ADD button. I need to disable the submit button until all fields pass validation, if the fields pass validation and the user goes back and make changes that do not pass validation then the button becomes. When you disable the submit button instead of validating the data on blur or on form submission (in case when the submit button isn't disabled), you must inform the user clearly about the required fields. However, sometimes, you may need to submit the form programmatically using JavaScript. But sometime you require to prevent set timestamp of created_at and updated_at column, Maybe you don't have. The submit event occurs when a form is submitted. If you are allowing the user to fill and submit the form for insert data. This form comes with a PHP script to handle the form submissions. So the best solution in this case is to not try to "disable" buttons, but call custom modal window which will prevent user from multiple clicks and multiple form submission. Subject: How to disable the submit button after first click Hi Is there any way in struts that we can disable the submit button after first click just to avoid double submit? I know how to do that using javascript. NET submit button after a user clicks on it. So, to redirect page after form submission in SharePoint, create a custom NewForm. For example we have some choices for the visitor and one of the options is Others. aspx, hide the default "Ok" and "Cancel" buttons, and then insert the below code: Redirect NewForm EditForm Submit button:. submit() event handler for an OOTB Edit Form. Ajax Example. What this code is actually doing, is setting the disabled attribute on the HTML element to disabled, so when this code is executed, the HTML button will. Add format rules on the other control. But i am looking for non-javascript implementation. To make sure the user fills the required inputs and don't make them crazy pushing down the button submit when one required field on step 3 of 6 is no filled in, I decided to disable the button so they can see fast something is not right and check the form back. It gets submitted programmatically with document. Note: this is now a built-in feature of Formidable Pro. In my jsp page,I have two submit button,they will jump to different page,but when I first clicked one button then clicked the second button as quickly How to prevent to click multi submit button? (Servlets forum at Coderanch). I have the following code at the moment (which only does the first if statement). Hide or disable the submit button after it has been clicked; Display a message and/or image while waiting; Known issues: Hiding buttons of AJAX forms may cause unwanted results. As its stands the submit button gets disabled when pressed. or If a specific form field is => than some value in another form field or hidden field, the Submit button is re-enabled. I will help you for how to disable submit button after click in jquery php. I need to disable the submit button until all fields pass validation, if the fields pass validation and the user goes back and make changes that do not pass validation then the button becomes. A great deal depends on the situation. Hi, I have submit button thats an image. Once i select any one radio button and click submit button,the value will be set and sent to the server system. I have only very rarely found it necessary to do this but there are times when it can be a pain. Here i am using php to design the client application. this is a good plugin. The most basic (and pretty useless) example of disabling form submission:. Ajax Example. Disable Submit Button To Prevent Multiple Clicks When I was googled to get a solution for disabling a submit button after submission or prevent the user from multple clicks of the submit button, I am not able to find out the nice one. I had a form with input fields and a submit button on my page, I would like to have the feature that the 'submit' button is disabled until there are values on input fields. for rest of the roles the button should be in active mode only. disabled=true; Here we have given the id of l1 to our dropdown listbox. When a user clicks on submit button of a form, JavaScript onsubmit event will call a function. User fills out form and clicks submit (works) 2. user still have to waiting for it finished( 15 seconds). Hey, I think you're naming your functions badly. On Jul 10, 2:36 pm, "Willie" }); NOTHING seems to work - always always always the new event handler is completely IGNORED. NET submits a form when the enter key is pressed. This seems quite straightforward. It gets submitted programmatically with document. I wanted to solve it as simple as possible. I have a form without a submit button. GitHub Gist: instantly share code, notes, and snippets. ASP is executed twice and duplicate entries are inserted into Database. Open the Advanced section in that buttons settings. onsubmit attribute also using jquery - no joy. I enable JavaScript form validation for AJAX. NET Developer / Enable & Disable a submit button Enable & Disable a submit button [Answered] RSS 4 replies. I used the Submit by Email button for this function. When more than one is present, the first submit button in the page is 'clicked'. Set this field to True when the button is clicked after you successfully submit the form. In this article I will explain how to disable ASP. Language; HTML & CSS; Prevent a FORM SUBMIT with ENTER Tag(s): Form. If you want to prevent form submission more than one time after form is submitted, you must need to disable submit button once it’s clicked. I want to disable the submit button after it is clicked to prevent multiple submissions. I created a readonly input box that changes from white to a visible color to use as. function formSubmit() {. With this the :input[type="submit"] buttons will be disabled and if the validation fails the buttons will be enabled again. disabled=true; Here we have given the id of l1 to our dropdown listbox. Take the below basic form. I am trying to disable it after user clicks it once to avoid repeated form submission. I am trying to prevent to submit the form when a user is pressing enter. The function you want to bind to the element’s submit event. add an extra page to the form where you show the data to be deleted and ask for confirmation there. Thanks Priyadarsh Priyadarsh Kankipati Sapient India Pvt. However, the submit button is still active when I would rather it not be. Form submission is one of the most used actions and double form submission is one of most occurred problems in web development. Disable or enable listbox inside a form We can disable or enable a listbox by using its disabled property. The question was someone wants to submit a form but before the actual form submission occur he needs to make sure that whether the user wants to do the submission or not. You may use the frmPageChanged event to run custom code after the form is replaced with content from another page. Description: In previous articles I explained jQuery Get Current Datetime, Auto refresh page , Expand textbox on focus, Disable right click…. To restrict users to click submit button again and again, we can use the following jquery to disable submit button. 1 A nice way to handle this is to disable the submit button once the form has been submitted, while replacing the text in the submit button with a message to let the user know that their. Disable/Enable Submit Button until all forms have been filled. In Firefox the submit button remains disabled after pressing BACK so that you can't resubmit the form. If this flag is set, you do get the dialog that asks about saving the document. A disabled element is unusable and un-clickable. Re: Disable submit button on form submit [SOLVED] 11 years ago While I cant help with the button off the top of my head, Why would you want to post data noramlly if an ajax call to the same script fails?. Dear EE experts, We would like to ask on how to enable/disable the submit button. Those are good for intermediate HTML and JavaScript developer but a beginner might just get overwhelmed by amount of information presented and rather confused to use which approach will work, how exactly should I disable submit button to prevent multiple form submissions etc. I want my form submit button to be disabled/enabled depending on if the form is completely filled. juz wondering if i can use it in asp. Using the disabled tag, you can switch on and off elements in a form. Below is not working. open ("Your_URL"); Insert your URL instead of Your_URL 2. Description. I've even tried REMOVING the form. The disabled property sets or returns whether a submit button should be disabled, or not. The form object includes the form element that was submitted. If you would like to perform a jQuery or JavaScript action after a form is submitted, there are three different events you may use, depending on the "On Submit" action you have selected in your form's Settings. You may use the frmPageChanged event to run custom code after the form is replaced with content from another page. Disable Browser Back Button functionality after click on Logout Button Iwant to store data in two different tables when we click the button , I am using javascript save the content mentioned in the url when we click on html button. The serverside script entry point is handler. Hi, I am having a problem with my script used to disable my submit button. I am trying to disable it after user clicks it once to avoid repeated form submission. On Jul 10, 2:36 pm, "Willie" }); NOTHING seems to work - always always always the new event handler is completely IGNORED. I only want to disable the specific javascript form-submission hyperlink shown above, when the timer reaches 0. Enable Submit button based on reCAPTCHA results I am trying to use the new reCAPTCHA capability on a Web-to-Lead contact form that is being displayed on a Weebly website. For the button above, when you click on the submit button, the data passed to the server side script is: mysubmit="Click!" Multiple Submit buttons. NET / jQuery for the ASP. Upon clicking Submit, the modal dialog’s button will automatically disable to prevent duplicate submissions. Traditionally name of submit button is included in HTTP request only if form is submitted by clicking submit button otherwise no. NET postback mechanism. it will help you to disable submit button after click in php, laravel, codeigniter etc project that use jquery. After form submit, disable submit button. This article will cover below mention article also : disable button after click php, disable button after click html, disable submit button onclick, how to disable submit button after form submission in javascript, Disable Button and Submit button after one click using JavaScript, How to disable "Submit" button and multiple submissions. To submit the form only when user click the SUBMIT button. Form submission is one of the most used actions and double form submission is one of most occurred problems in web development. Double click the section in the InfoPath designer and add a conditional display to hide the button if the field is True. The solution is very simple and can be accomplished easily with JavaScript. Basically, javascript has the capability of sending a request to the server, which can be handled by PHP code, and can send information back to the browser, which can be used by the Javascript (that’s AJAX). Dear EE experts, We would like to ask on how to enable/disable the submit button. However once pressed it does not seem perform the submit. The disabled property sets or returns whether a button is disabled, or not. Once you are comfortable with simple way of disabling submit button you may go and explore multiple ways to prevent multiple form submissions or disable submit button. Here you need to connect the button to your "Submitted" field. NET / jQuery for the ASP. that is when, i click a button i want to validate first just like what you have done right now. In FF2 you used to be able to press REFRESH to get the submit button to work (and oddly the form content would be preserved). submit( function(e){}); NOTHING seems to work - always always always the new event handler is completely IGNORED. Disable Submit Button After a Form is Submitted May 17, 2015 Once a user has submitted a form, you generally don’t want them to submit it a second time. Open the Advanced section in that buttons settings. Clear all fields and disable both buttons after the first click on submit button. By default the submit button remains disabled. Enable Submit button based on reCAPTCHA results I am trying to use the new reCAPTCHA capability on a Web-to-Lead contact form that is being displayed on a Weebly website. You cannot mix it with action="" however as angular will process it normally. An ID would work fine here, but if we wanted to disable multiple form elements in the future, we then only need to apply this class to it for the JavaScript to work on those inputs/buttons too. NET button server control but although that. I want it to check to ensure all boxes have a value before submitting (I will make the verification more stringent later), and if there is none, to cancel the form submission. Popup appears to let them know form was submitted successfully (works) 4. It's much easier to check a box that says "pay deposit only" then submit than undo the pressing of the button that says "pay full amount" (followed by the exclamation of expletives). Please help if you know the best solution. I have the following code at the moment (which only does the first if statement). com/sources/JavaScript-How-to-Dis. That works great. People are really smart and the easiest way to test this assumption is place two submit buttons on a page. You can have more than one submit buttons in a form. If I removed the jquery to disable the button, the button then performs the submit normally. Some users might get impatient and click on the button more than once. jquery disable button after click, jquery disable button on submit The default behavior of a submit button obvious – clicking it submits the contents of a form to the server. This asset adds 2 methods on jQuery disableSubmitButtons() and enableSubmitButtons() which can be called from a. php code to disable a button. 1 A nice way to handle this is to disable the submit button once the form has been submitted, while replacing the text in the submit button with a message to let the user know that their. To submit the form only when user click the SUBMIT button. As per my application,we have client server architecture. Re: Re: Disable submit button on form submit [SOLVED] 9 years ago ghartwig, It's good practice when assing jquery selectors to variables to prefix them with $. function formSubmit() {. Choose 'Advanced 'and choose 'leave the form open ' after submit. Basically, javascript has the capability of sending a request to the server, which can be handled by PHP code, and can send information back to the browser, which can be used by the Javascript (that’s AJAX). Using the above code, after the form has been submitted, if the user clicks the browser Back button then the submit button remains disabled. I created a readonly input box that changes from white to a visible color to use as. I enable JavaScript form validation for AJAX. Selrach Well, if you submit to the server then this is moot since the page is going to be redirected anyways. In Domino, we can do it by JavaScript, using disabled property of the button. NET: Disable Submit Form on Enter Key By default, ASP. This technique can be useful in many situations: Multi-step forms where specific pages are filled out based on user type. What you need to do to fix this is to use the onSubmit tag in the element to set the submit button to disabled. Re: How to disable a button once submit the form? 843842 Oct 20, 2004 5:32 AM ( in response to 800332 ) Speaking about the client-side, you can use cookies to stop the submission. Net Submit button, we disable the button using javascript so that user cannot submit it again. I’ve added some extra info as I figured part of it out but I still can’t get the button to submit the action – bkcol Feb 24 '16 at 2:32 add a comment | Your Answer. Ltd 080-51047461(o. Check IsNumeric Function by Jeff Anderson. When the inputs are filled, the disabled button changes to enabled. First I would disable the button as soon as it is pushed (enable = false). AJAX Form Submit With Custom Feedback - FormJS. This article will cover below mention article also : disable button after click php, disable button after click html, disable submit button onclick, how to disable submit button after form submission in javascript, Disable Button and Submit button after one click using JavaScript, How to disable "Submit" button and multiple submissions. If the form is already submitted and the user tries to refresh the webpage then the browser will attempt to resubmit the form. How to disable a button in ASP code to prevent the users from clicking twice? Page1: Mainpage. We can enable the listbox ( available for selecting element ) by changing the property to false. "Enabling" you ask? Yes. I am trying to disable it after user clicks it once to avoid repeated form submission. If the users click the button twice by mistake, the DetailsPage. Just my 2 cents!. Tip: Use the reset() method to reset the form. I am trying to prevent to submit the form when a user is pressing enter. php (see in your downloaded zip file). As we know, we create new record in table using model then created_at and updated_at column value automatic set current timestamps. php code to disable a button. submit() event handler for an OOTB Edit Form. find('input[type=submit]'). Identifying the submit button on the server side. User fills out form and clicks submit (works) 2. In this article I will explain how to disable ASP. submit_name. InfoPath also configures the forms that are based on this form template to display a message to users after they submit their completed forms. A humble request Our website is made possible by displaying online advertisements to our visitors. I'm using an image as my submit button. On doing this the submit button must be. how to disable submit button in jsp based on the login credentials? suppose if Admin login, I need to show and enable the all the buttons like(ADD,EDIT,DELETE) but if Employee login then i need to show and enable only ADD button. This is a very simple trick but it's very useful and frequently used. I have illustrated three simple cases of web presentation to implement the functionality of "submit once" using an ASP. like you click 'submit' and instantly a message next to the button comes up saying 'the form has been updated', and i want to disappear the moment the user reloads the form. So in this post we will learn how to make disabled. The response object includes the url that the page will redirect to. I have a form without a submit button. Yes, but when i render the form in workspace, the flash complete button is tied to the submit button. To avoid such anomaly, one of the best solution is to disable the submit button through jQuery. When a user clicks on submit button of a form, JavaScript onsubmit event will call a function. Popup appears to let them know form was submitted successfully (works) 4. I want the button to disable upon correct submission of the form, and the button to be kept enabled if the required fields are not filled in. Set this field to True when the button is clicked after you successfully submit the form. here's what i come up with so far:. Subject: How to disable the submit button after first click Hi Is there any way in struts that we can disable the submit button after first click just to avoid double submit? I know how to do that using javascript. Take this example - A client may want you to start a particular form on December 16th for use with a Christmas sale and, after the sale, pause until next year. This attribute overrides the form's novalidate attribute. Disable button onclick to prevent double submition Today I had an simple task: to disable a button after a click to prevent double submitting the form data. For simplicity, the message-div and background-div as well as their style definition are directly placed on ASP. Using the disabled tag, you can switch on and off elements in a form. After success message. When more than one is present, the first submit button in the page is 'clicked'. User opens the popup and fills in the web-to-lead form. Add an action 'set a field's value'. Dear EE experts, We would like to ask on how to enable/disable the submit button. This will allow Chrome to disable the button immediately after it is pressed and the form submission will still go ahead…. tag is used to get user input, by adding the form elements. In this article I will explain how to disable ASP. Disable Submit Button To Prevent Multiple Clicks When I was googled to get a solution for disabling a submit button after submission or prevent the user from multple clicks of the submit button, I am not able to find out the nice one. NET button server control but although that. i wish to write a script that can be included externally and will work on any generic forms. I prefer to do this on client side using JavaScript to avoid server round trip. Different types of form elements include text input, radio button input, submit button, etc. Originally I thought this was going to be simple by using the onclientclick property of the ASP. Using disable mode sometimes causes problems with multiple operation. in the default page by entering as a particular like xx I want to disable a button ""add parameters"" from jsp page to a particular role only. Furthermore, the immediate visual feedback on the form after submission is designed to let customers know their button press is being processed. After you enable the submit data connection, InfoPath adds a Submit button to the Standard toolbar and a Submit command to the File menu. Once i select any one radio button and click submit button,the value will be set and sent to the server system. I want my form submit button to be disabled/enabled depending on if the form is completely filled. Disabling / hiding buttons after they've been pressed. If the users click the button twice by mistake, the DetailsPage. here's what i come up with so far:. So, PHP runs on the server, and Javascript runs in the browser. In this case, if the user refreshes the page then the data is reinserted on the MySQL database. My goal is that the user will be able to submit the form only once. If you want to prevent form submission more than one time after form is submitted, you must need to disable submit button once it’s clicked. net button - Stack Overflow Do the search yourself and you'll find lots others, please do basic research before asking a question. Use BusyBoxDotNet. That’s all you need to disable submit button using HTML and JavaScript to prevent multiple submission. The solution is very simple and can be accomplished easily with JavaScript. hi all, i've seen many scripts written to disable submit buttons after they are clicked once. PHP is widely supported server side scripting platform. In FF2 you used to be able to press REFRESH to get the submit button to work (and oddly the form content would be preserved). An ID would work fine here, but if we wanted to disable multiple form elements in the future, we then only need to apply this class to it for the JavaScript to work on those inputs/buttons too. User fills out form and clicks submit (works) 2. 1 A nice way to handle this is to disable the submit button once the form has been submitted, while replacing the text in the submit button with a message to let the user know that their. When the form is submitted, the javascript form submission event handler above collects the form data and sends it to the server side script. First I would disable the button as soon as it is pushed (enable = false). I prefer to do this on client side using JavaScript to avoid server round trip. The response object includes the url that the page will redirect to. If the users click the button twice by mistake, the DetailsPage. the thing that is poor about his solution is all someone has to do is hit the enter/return key and the form will submit automatically. Disabling the Submit Button to Prevent Double Form Submission. Enable / Disable submit button. Net, JavaScript. function formSubmit() {. The disabling code should not affect other javascript form-submission hyperlinks on the page. I want the button to disable upon correct submission of the form, and the button to be kept enabled if the required fields are not filled in. how to disable submit button in jsp based on the login credentials? suppose if Admin login, I need to show and enable the all the buttons like(ADD,EDIT,DELETE) but if Employee login then i need to show and enable only ADD button. I do not see where you can set a condition based on successful submit of a form. If I removed the jquery to disable the button, the button then performs the submit normally. Net button control before Page PostBack is done or the form is submitted so that user can’t click the button again. That’s all on How to disable submit button in HTML and prevent multiple form submissions on Server. NET: Disable Submit Form on Enter Key By default, ASP. When the form is submitted, the javascript form submission event handler above collects the form data and sends it to the server side script. They can’t interact directly. If your button is an html button (with you can simply add code to disable it when clicked:. What's actually happening: After the user presses the submit button, the page redirect occurs. We all know how to disable the submit upon form submission and the reasons for doing so, but what about re-enabling the submit button after an allotted amount of time. Often times, users like to press a few times on the submit button to make sure the button is surely clicked, and causing the double form submission issue. The serverside script entry point is handler. Java Project Tutorial - Make Login and Register Form Step by Step Using NetBeans And MySQL Database - Duration: 3:43:32. 1BestCsharp blog 7,380,961 views. up vote 13 down vote favorite. Press OK the form submit rule will appear.