Search the web
Sign In
New User? Sign Up
validation · Techniques for HTML form validation
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Multiple Select only returning first selected value   Message List  
Reply | Forward Message #394 of 427 |
I have been using your excellent validation script for some time
without any problems, but have found a problem when using the latest
versions of browsers. IE7 beta, Opera 9.0 and Firefox 1.5 all have the
same problem and yet IE6 and IE5.5 work perfectly.

There are no errors reported but when multiple items in a multiple
select list are selected, only the first selected items is actually
passed across. It doesn't matter whether the form action is GET or
POST, still only the first selected item comes through.

If I comment out the call to this.setup(); in the code then the
multiple values do get passed across without problem so this is
certainly caused by something in the script.

Any suggestions would be most appreciated.








Mon May 8, 2006 10:53 am

graham_howe
Online Now Online Now
Send Email Send Email

Forward
Message #394 of 427 |
Expand Messages Author Sort by Date

I have been using your excellent validation script for some time without any problems, but have found a problem when using the latest versions of browsers. IE7...
Graham Howe
graham_howe
Online Now Send Email
May 8, 2006
10:54 am

can you tell me which version you're using?...
somematt
Offline Send Email
May 8, 2006
2:13 pm

3.1.4 although the problem was first seen with 3.1.0 Graham...
Graham Howe
graham_howe
Online Now Send Email
May 8, 2006
2:31 pm

good news: it was easy to reproduce. bad news: i'm having difficulty isolating the problem. a workaround that may or may not help you is to use something...
somematt
Offline Send Email
May 9, 2006
1:45 am

... so ... Any progress at all? Unfortunately I don't have the screen space to use a checkbox list as there are a lot of options in each dropdown and several...
Graham Howe
graham_howe
Online Now Send Email
May 16, 2006
10:57 am

i haven't made any progress except to discover that i don't know the underlying cause. if i comment out a method assignment, it works okay, but the script...
somematt
Offline Send Email
May 16, 2006
1:25 pm

I added a DO-NOT-VALIDATE attribute that should enable you to bypass individual fields in validation. <select multiple="multiple" do-not-validate="true" ... ...
somematt
Offline Send Email
May 19, 2006
2:22 am

... Sorry I didn't reply earlier, but just to let you know that the workaround works perfectly for me thanks very much. Graham...
Graham Howe
graham_howe
Online Now Send Email
Jun 20, 2006
5:54 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help