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

Changes to Submission Form?
Are you able to make changes to the Hotspot submission form? There are several f...
0 Replies
Posted on Friday, 26 April 2024
  • New
  • Question regarding custom fields
    How do I access custom fields after I have created them?...
    0 Replies
    Posted on Wednesday, 24 April 2024
  • New
    • #custom fields
    Google no index für bestimmte Seiten/Details
    Hallo ich habe eine kleine Frage: wo kann ich einstellen, dass Google die Seite...
    0 Replies
    Posted on Wednesday, 24 April 2024
  • New
  • Language parameter in the link to the comment
    Hello. 1) I have a multilingual website (3 languages). If someone added a comme...
    1 Replies
    Posted on Saturday, 06 April 2024
    categories icon in header
    Hi! I saw this in the promo, but I can't find how to set it up. https://compo...
    0 Replies
    Posted on Monday, 22 April 2024
  • New
    • #style
    • #Categories