Working through form tutorials, I got widget based forms generating ok. However, I noticed that the input fields generated get the id tag of:
id="form_name" where name is the whatever I called the input field in the widget. Now, if I have more than one widget based form on the page at a time, and they use similar fields, then I have multiple elements with the same id value. I was under the impression that this is a Big No No for Dom standards. Am I off base? Is there any reason the id could not be a name mangling of the form name plus the field name? ie "form1_name" if the form is called form1? Would such a thing break loads of existing code? Should I just override the id field and if so what's the smart way to do that? Do all the widgets wind up generating multiples like that? Thanks Iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

