1. JonusC
  2. Bug Report
  3. Friday, 21 August 2009
  4.  Subscribe via email
Since the development site is down I decided to make this bug a public posting so I remember it and so others see that it's due to be fixed by myself :P

As per CSS2 standard, the "id" attribute replaced "name" and name is only needed for backwards compatibility. There are some parts of the template and core inline-replacement code for template elements that don't have identical name/id attributes, these need to be fixed to be identical.

Also some (at least one) elements, specifically the tnotify select box, uses "name" but not "id". I therefore can't use JavaScript to check the select box unless I use "document.getElementByName" which is inconsistent with everything else (getElementById) and that's not good. Anyway I need this to be right because the new templates check and style-modify all the fields via JavaScript on Comment Submit for validation and eye-candy goodness.


Nobody has much reason to read this or reply, it's purely for informative purposes and a 'self-reminder'. :lol:

EDIT: document.getElementByName("tnotify";) doesn't work at all for updating the styling (in my example, making the border red if incorrect value)
Responses (2)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now

Last questions

Set number of hotspots / user groups
Hi, I'm working with Hotspots for my new website and I love it! After trying ...
0 Replies
Posted on Monday, 31 March 2025
  • New
  • J5 compatibility for Hotspots
    Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
    1 Replies
    Posted on Monday, 24 February 2025
    • #Hotspots
    • #hotspots Joomla 5
    Text size in the comment input form
    Hello. How can I increase the font size in the comment input field? For examp...
    0 Replies
    Posted on Wednesday, 26 February 2025
    • #CComment 6
    Problem with enlarged image
    Hello. When you click on the image in the comments, it does not appear in the ce...
    1 Replies
    Posted on Wednesday, 26 February 2025
    Black square instead of images in comments
    Hello. In comments instead of images I see black squares. Here is an example. h...
    0 Replies
    Posted on Wednesday, 26 February 2025
    • #ccoment pro