Solved

ASP tab control

Posted on 2007-11-21
4
929 Views
Last Modified: 2010-04-21
HI,
  Is it possible to have tab control using ASP?  I have a few forms that need to be filled by users and I want to use Tab control so that user can fill all the fomrs in 1 page

Thanks
0
Comment
Question by:gorexy
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
B_Dorsey earned 50 total points
ID: 20329417
you could accomplish this with show/hide div layers with javascript, so you show your first form, then at the top you have some tabs, and when the user clicks them the initial div layer is hidden, and the new one is shown (vice versa), that way when the page is submitted you get all the form objects submitted.
0
 
LVL 4

Expert Comment

by:swinslow
ID: 20331865
In your form fields just add the tabindex attribute to your form fields for example:
<input type="text" name="SomeField" tabindex="1">
<input type="checkbox" name="YesNo" tabindex="2">
0
 

Author Comment

by:gorexy
ID: 20332122
swinslow, how it works?  I tried but seems doesn;t work.

B_Dorsey's concept seems work well although I didn't test it.
0
 

Author Closing Comment

by:gorexy
ID: 31410339
I think Layer is a good idea! Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now