How to prevent duplicate entries because of multiple clicks..
-
Hi, I have a website in which users save thier reports but the problem is this after filling up all the information when user clicks the submit button lots of validation process takes place. So in slow speed internet connections they often press submit twice and beacuse of that information gets duplicated. I want to stop this duplicate entry. For this i tried to disable submit button when user clicks the button and enable it later on after all the processing is done but this doesnt work. Help me how to do it.
-
Hi, I have a website in which users save thier reports but the problem is this after filling up all the information when user clicks the submit button lots of validation process takes place. So in slow speed internet connections they often press submit twice and beacuse of that information gets duplicated. I want to stop this duplicate entry. For this i tried to disable submit button when user clicks the button and enable it later on after all the processing is done but this doesnt work. Help me how to do it.
-
Hi, I have a website in which users save thier reports but the problem is this after filling up all the information when user clicks the submit button lots of validation process takes place. So in slow speed internet connections they often press submit twice and beacuse of that information gets duplicated. I want to stop this duplicate entry. For this i tried to disable submit button when user clicks the button and enable it later on after all the processing is done but this doesnt work. Help me how to do it.
simple fix for this is to use js to disable the button once it is clicked.
Yusuf Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
-
Hi, I have a website in which users save thier reports but the problem is this after filling up all the information when user clicks the submit button lots of validation process takes place. So in slow speed internet connections they often press submit twice and beacuse of that information gets duplicated. I want to stop this duplicate entry. For this i tried to disable submit button when user clicks the button and enable it later on after all the processing is done but this doesnt work. Help me how to do it.
Devesh, There are multiple option to do it. You can use JAVA Script to Enable and disabled the button as Yusuf suggested. You can show a layer (Div)with proper message on you page which will prevent user to some more click on the page. Event Today I have read one interesting article in CP, hope this may help you Lock ASP.NET Page and Show Animated Image While Waiting for a Long Post-Back Cheers!!:beer:
cheers, Abhijit CodeProject MVP