On Thursday 08 January 2009 16:49:06 Slim wrote: > Hi there > > Is there a way to manage a TableForm with a checkbox > and when this box is checked, new textfield appears ??? > > Must I make a javascript or is there an other way to manage this ?
I guess you need to create a JS, yes. You can render the textfield with a style that hides it by default, and attach a small JS to the Form or the Checkbox-widget to toggle that style (of course that is done using e.g. mochikit's functions here: http://mochikit.com/doc/html/MochiKit/Style.html#element-visibility) Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

