By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,874 Members | 1,028 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,874 IT Pros & Developers. It's quick & easy.

List item based display of input text

vikas251074
100+
P: 198
I am creating an application for official use. This application will be used by employees to take items for official use.

I have a list, presently this list contains three items -
1) Cartridges,
2) Floppy,
3) CD

Note : If a user selects Cartridges then list of printer should display,
And if floppy or CD is selected, then 'purpose' text item should display.
And many many more,

I am got entangled in this problem that how to display list when cartridge is selected and then how to display 'purpose' text item when floppy or cd is selected.

User has choice to select more than one item. If any item is selected, then this item is displayed in a another box. All the selected items are displayed in this box.

My problem is only how to do list item based display of input text.

Thanks and regards,
Vikas
Aug 12 '08 #1
Share this Question
Share on Google+
2 Replies


jeffstl
Expert 100+
P: 432
There are 2 ways this can be done.

If you want the results to appear instantly when the user clicks on something in the list, you will have to use javascript (unless you are talking about asp.net here)

If you want the results to display with using strictly vbscript\ASP you will need to submit the data back to the server and return the list of results.

This is why i suspect for doing what you describe you will need to look into javascript solutions.

Here are some examples close to what you are referring to but using drop downs instead of list boxes which should be swappable.

Javascript form menu example
Javascript form navigation example
Aug 12 '08 #2

vikas251074
100+
P: 198
There are 2 ways this can be done.

If you want the results to appear instantly when the user clicks on something in the list, you will have to use javascript (unless you are talking about asp.net here)

If you want the results to display with using strictly vbscript\ASP you will need to submit the data back to the server and return the list of results.

This is why i suspect for doing what you describe you will need to look into javascript solutions.

Here are some examples close to what you are referring to but using drop downs instead of list boxes which should be swappable.

Javascript form menu example
Javascript form navigation example
I want the result instantly, so I will use javascript.

Thanks very much

Regards,

Vikas
Aug 18 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.