1 Reply Latest reply on Jan 15, 2009 10:03 AM by Ilya Shaikovsky

    Rich:listShuttle oncopyclick not working

    Tim Ryan Newbie

      I am calling a javascript function from the oncopyclick event of the list shuttle. If the javascript function returns false the process continues.
      I would like to limit the user to a maximum number of items that can be selected from the source list. Once this maximum has been reached I would like to call a javascript alert to inform the user they have reached the limit and not continue adding the source value to the target list. However, when the javascript function returns false the item is still added to the target list.
      Any ideas why the processing continues? Anyway to stop this behavior?