Current location: Hot Scripts Forums » General Web Coding » JavaScript » transfer multiple value of a form field to another field


transfer multiple value of a form field to another field

Reply
  #1 (permalink)  
Old 06-16-04, 03:33 AM
ore ore is offline
New Member
 
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
How to transfer multiple value selected on a form field list/menu to another (txtfld)

Hi, I was trying to create a web application (for SMS sending). Here is my scenario: On the page there is a form having two fields, the recipient and the text message. I would like to place a link called "Insert Recipients" that when clicked will open a new window (icontacts.asp)listing all the available contacts retrieved from a database. icontacts.asp page has a form with one field, the contact list (a list/menu field multiple selection enabled). When I select multiple contacts and press the Insert button the window closes and the recipient or the contacts that I selected should fall on the first page's recipient field. The problem is only the first recipient that I selected from icontacts.asp page is transfered.

Here is what I am trying to say:
http://www.ccf.org.ph/sms

Last edited by ore; 06-16-04 at 04:03 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-18-04, 12:30 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
It worked fine for me and the script looks ok so I don't see where the problem is...?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 06-18-04, 09:50 PM
ore ore is offline
New Member
 
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Yup, I fix it already. Now I'm trying to use a check box to select the recipient instead of using list/menu fields.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
formmail problem gscraper Perl 12 08-27-04 04:06 AM
Disable form fields to be submitted RickyRod JavaScript 2 05-24-04 11:15 AM
Limit the form submission according to time bionicsamir PHP 7 05-10-04 12:10 AM
SQL database registration form help vinhkhuong PHP 3 10-10-03 04:49 AM
echo in a form field tgarske PHP 2 08-25-03 06:34 PM


All times are GMT -5. The time now is 10:43 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.