Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

JDOM: Label for radio input field 05 Sep 2013 13:08 #10998

Hi,
I noticed a little conflict when more radio fields with the same name (but different group) are in the same form.
example:
jform[mygroup1][published]

and
jform[mygroup2][published]

they are different but the labels are generated with the same name, and this cause a bug.

quick and dirty solution (as usual :) ):
the line 110 on \dom\html\form\input\radio.php :
$id = $this->dataKey . '_' . $i;

should be:
$id = "<%DOM_ID%>_" . $i;
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

Last edit: by Tomaselli.

JDOM: Label for radio input field 05 Sep 2013 13:39 #11003

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Better now ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

JDOM: Label for radio input field 05 Sep 2013 13:39 #11004

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Not dirty at all.

Thanks. K++
Coding is now a piece of cake
The following user(s) said Thank You: Tomaselli

Please Log in or Create an account to join the conversation.

JDOM: Label for radio input field 06 Sep 2013 08:24 #11011

thanks for the fix.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.067 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started