text box question
text box question
text box question
text box question
text box question
text box question text box question text box question text box question text box question text box question text box question text box question
text box question text box question
text box question
Go Back  Xtreme Visual Basic Talk > > > text box question


Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2004, 05:57 PM
academy academy is offline
Newcomer
 
Join Date: Dec 2003
Posts: 4
Default text box question


Hello all,

I have 2 textboxes(txtbox1 & txtbox2) on the form(webform1.aspx). is there a way preventing the user to go on to txtbox2 if the txtbox1 is empty. in other words, he cant enter data to txtbox2 if he forgot to enter data to txtxbox1.

I am using vb.net. developing webapp

Thnaks
Reply With Quote
  #2  
Old 01-08-2004, 09:33 PM
Optikal's Avatar
Optikaltext box question Optikal is offline
Codeaholic

Retired Leader
* Guru *
 
Join Date: Oct 2002
Location: Winnipeg, MB, Canada
Posts: 4,543
Default

you should be able to use client-side script to disable/lock/hide textbox2, then have a client-side script associated with textbox1 that then enables/unlocks/displays textbox2 if it detects text being typed.
__________________
There are 10 types of people in this world, those that understand binary, and those that don't.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bullettin problem pckm_123 Word, PowerPoint, Outlook, and Other Office Products 1 12-03-2003 06:59 AM
text file question again toothpick General 6 09-25-2003 10:23 AM
Logging keys to edit text Wise_Reeper General 5 12-09-2002 08:01 PM
Text Box Question GregGG General 4 11-27-2002 03:47 AM
Wraping text around an image? Serevinus Web Programming 7 06-20-2002 01:46 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
text box question
text box question
text box question text box question
text box question
text box question
text box question text box question text box question text box question text box question text box question text box question
text box question
text box question
 
text box question
text box question
 
-->