
ilia at lobsanov
Nov 11, 2002, 5:46 PM
Post #3 of 5
(1863 views)
Permalink
|
Gerald, the JS code for Radio would go something like this: for ( var i = 0; i < radio_element.length; i ++ ) { if ( radio_element[i].checked ) return true; } the JS code for Select would go something like this: if ( select_element.selectedIndex != 0 ) return true; ilia. On Wed, Oct 16, 2002 at 08:34:34AM +0200, Gerald Richter wrote: > > > > there seems to be a bug in the way Embperl::Form::Validate generates the > > client-side javascript code for the radio inputs. The JS code is using > > "value" property, which is not accurate for a Radio object. > > > > Yes, radio buttons not supported so far, since they have to be handled > totaly different in JS. > > If you have any ideas how the JS code should look like, let me know > > Gerald > > ------------------------------------------------------------- > Gerald Richter ecos electronic communication services gmbh > Internetconnect * Webserver/-design/-datenbanken * Consulting > > Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz > E-Mail: richter [at] ecos Voice: +49 6133 925131 > WWW: http://www.ecos.de Fax: +49 6133 925152 > ------------------------------------------------------------- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscribe [at] perl > For additional commands, e-mail: embperl-help [at] perl > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe [at] perl For additional commands, e-mail: embperl-help [at] perl
|