ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 7th, 2005, 10:49 PM
deming0911 deming0911 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 3 deming0911 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Multiple select list/menu problem

Hi,
I want to create a page like this:
on the left side, there is a multiple select list named "SelectList", on the right side, there is another list named "PickList". Users can add items from "SelectList" to "PickList" by selecting in the "SelectList" and clicking "add it" button which located between two lists. After the selection, users can click submit button to save the results into database. I am new to Coldfusion, how can I do it? Could I anybody help me?

Thanks a lot!

Reply With Quote
  #2  
Old January 8th, 2005, 12:52 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,682 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 15 h 42 m 54 sec
Reputation Power: 53
This is done on the client with Javascript, it doesn't have anything to do with ColdFusion. If you search the web for Javascript libraries you will find many like this. The QForms Javascript API does this as well.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #3  
Old January 8th, 2005, 02:44 PM
deming0911 deming0911 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 3 deming0911 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you very much. I'll try to see if I can find something on google.

Quote:
Originally Posted by kiteless
This is done on the client with Javascript, it doesn't have anything to do with ColdFusion. If you search the web for Javascript libraries you will find many like this. The QForms Javascript API does this as well.

Reply With Quote
  #4  
Old January 8th, 2005, 02:48 PM
deming0911 deming0911 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 3 deming0911 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I forgot to say that I know how to use javascript to move items between the two lists. I just don't know how to save the data on "PickList" into database and get out to display. That's my major problem.

Quote:
Originally Posted by kiteless
This is done on the client with Javascript, it doesn't have anything to do with ColdFusion. If you search the web for Javascript libraries you will find many like this. The QForms Javascript API does this as well.

Reply With Quote
  #5  
Old January 8th, 2005, 04:54 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,682 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 15 h 42 m 54 sec
Reputation Power: 53
You won't be able to save anything to the database unless you submit the form and make another page request. Until the data is submitted to CF it can't do anything with it.

That said, you could probably get into more complicated Javascript and execute some http requests from the Javascript. This is how Google Suggest works, but it's quite complicated.

Reply With Quote
  #6  
Old January 10th, 2005, 09:45 AM
glively glively is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 17 glively User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 51 sec
Reputation Power: 0
If you already know how to move the items between the 2 boxes, great. If you then want to SAVE the picked items, then onSubmit(), you'll need to select all items in the pickedItems select box.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Multiple select list/menu problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT