Textbox validation problem

  • Thread starter Thread starter Durango2008
  • Start date Start date
D

Durango2008

Hi I have written code to validate a textbox and if that textbox is valid I
would
like to make the submit button on the page enabled otherwise leave it
disabled,
which is what its default value is.
I have tried doing this in my code however it remains disabled and I am new
to
this so I am looking for certain ideas or hints.

Excuse my ignorance and thank you for your help
 
Well, perhaps if you show some of your code, it would help. You say
page, which makes me inclined to think it is an ASP.NET page, but I can't
tell. If that's the case, then I expect you would be doing something
involving javascript.
 
Hi I have written code to validate a textbox and if that textbox is valid I
would
like to make the submit button on the page enabled otherwise leave it
disabled,
which is what its default value is.
I have tried doing this in my code however it remains disabled and I am new
to
this so I am looking for certain ideas or hints.

Excuse my ignorance and thank you for your help

Sounds to me like an ASP.NET problem.

What sort of validation are you doing? I suggest you take a look at
ASP.NET's validation controls ... they might be able to solve your
problem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top