W3C home > Mailing lists > Public > www-forms@w3.org > July 2011

Re: How to move selected items from one select drop down to another one in xforms on click of a button

From: John Boyer <boyerj@ca.ibm.com>
Date: Thu, 7 Jul 2011 20:20:30 -0400
To: shuklacs.jc@gmail.com
Cc: www-forms@w3.org
Message-ID: <OF6A022E7E.A5B2A141-ON882578C7.00014E23-882578C7.0001E0CA@ca.ibm.com>
Hi,

For a comprehensive answer to your question, please visit this new entry 
on my blog:
https://www.ibm.com/developerworks/mydeveloperworks/blogs/JohnBoyer/entry/moving_choices_from_one_list_to_another_in_xforms34?lang=en

Here is a demo IBM Form for the first of the two methods:



You can either pull the XForms markup from this file and use it in another 
XForms processor, or you can test it directly using a free trial download 
of the IBM Forms Viewer from here:
http://www.ibm.com/software/lotus/products/forms/

Best regards,
John M. Boyer, Ph.D.
Distinguished Engineer, IBM Forms and Smarter Web Applications
IBM Canada Software Lab, Victoria
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: 
http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw

====================================================================
Replying to:
Hi,

I have two compact list boxes if a select one or more item from right list
box and click on << button it should move to the left box , same if i 
select
one or more items from left list box and click on >> button it should move
items to the right list box...

Thanks in advance

-- 
b.s.shashikiran



Received on Friday, 8 July 2011 00:21:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:23 GMT