Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 09:59:55 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155445 Posts in 21703 Topics by 7731 Members
Latest Member: zvaigzdzius
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Form 2.7 Bug  (Read 402 times)
freeSbee

Offline Offline

Posts: 740


WWW
« on: October 29, 2008, 08:41:18 AM »

There is a small bug in the form module.

When a user creates 2 or more radio buttons with the same labels, eg. a radio button group like the one shown in the attached screenshot, the generated id (label_id) is not unique. It will be the same for those radio buttons.

The browser is not able to differentiate between the buttons, eg. clicking on the third label text will change the first button (FF).

There is a simple fix in view.php (line 89):
old: $label_id = 'wb_'.str_replace(" ", "_", $n);
new: $label_id = 'wb'.$field_id.'_'.str_replace(" ", "_", $n);

Regards Christoph
Logged
doc
Guest
« Reply #1 on: October 29, 2008, 08:57:34 AM »

Hello,

thanks for reporting, will be fixed in the SVN trunk soon.

Regards Christian
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!