Connecting Tech Pros Worldwide Forums | Help | Site Map

List item based display of input text

vikas251074's Avatar
Familiar Sight
 
Join Date: Dec 2007
Location: Patna
Posts: 198
#1: Aug 12 '08
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

jeffstl's Avatar
Expert
 
Join Date: Feb 2008
Posts: 414
#2: Aug 12 '08

re: List item based display of input text


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
vikas251074's Avatar
Familiar Sight
 
Join Date: Dec 2007
Location: Patna
Posts: 198
#3: Aug 18 '08

re: List item based display of input text


Quote:

Originally Posted by jeffstl

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
Reply


Similar ASP / Active Server Pages bytes