Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1083157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:23:58+00:00 2026-05-16T22:23:58+00:00

I am working on an WebForms app, and we want to put a speed

  • 0

I am working on an WebForms app, and we want to put a speed bump, for lack of a better term, in for the users at a particular point in the app. There is a particular action which is not supposed to be undone. So when they click the button to do that action we want to display a small confirmation window, have them enter a random string that we give them. Once they enter that string, and it matches the corresponding label, the submit button becomes enablesand they can perform the action. But for the life of me I can’t figure out a good way to do this client side with WebForms. Is there a simple mechanism to use this type of workflow without a ton of post back events?

Note: This is an internal app where high security isn’t truly a necessary requirement in this case. As I said, this is meant to be something to slow the user down slightly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:23:58+00:00Added an answer on May 16, 2026 at 10:23 pm

    This is similar to the mint.com confimration style.

    Add JavaScript to the textbox onChange or onKeyUp event, there do your check and enable the button.

    For example:

    <script type="text/javascript">
    function checkConfirmationText(){
     // Check if value of entered text = value of hidden text
     var isOk = document.getElementById('confirmation-label').value == document.getElementById('confirmation-text').value);
    
     // Show/Hide button depending on the text
     document.getElementById('btn-submit').style.dispaly = isOk ? '' : 'none';
    }
    </script>
    
    <!--  HTML  -->
    <input type="hidden" id="confirmation-label" value="DELETE" />
    Enter "DELETE": <input type="text" id="confirmation-text" value="" onkeyup="checkConfirmationText()" />
    <input type="submit" id="btn-submit" style="display:none" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a Webforms app (in VS 2010, .net 4.0, VB) that
I'm working on an ASP.NET webforms app that will serve as a simple intake
Working in Eclipse on a Dynamic Web Project (using Tomcat (v5.5) as the app
I am trying to cut over an existing WebForms app to use Routing, and
I've been working with web-forms and I want to switch to the MVC pattern
I'm working on a calendar app site for internal use here. It's basically a
I am a Asp.Net developer, currently working on Webforms in 3.5. I do C#
I'm working on a personal website and I'm using webforms and .NET 3.5 and
I'm working on a project in C# w/ XNA, and I want to reorganize
I'm a front-end guy who's picked up ASP.NET WebForms through working on various projects

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.