-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 14.09.2011 08:05, schrieb A, Thiyagarajan (NSN - IN/Bangalore): > Here is a plugin that may do what you need. Take a look. > > https://github.com/daltonmatos/trac-plugins/tree/master/ConditionalField > sPlugin
ConditionalFields should do fine, but I've not used it by now. Did you succeed already? If not, you might want to have a look at DynamicFieldsPlugin. With your requirement in mind I would setup [ticket-custom] summary.clear_on_hide = true summary.hide_when_type = '---select type---' Untested, but you'll get the idea. I've chosen summary, because without summary Trac will complain and deny to create the ticket, so you should get exactly what you want. Still required field coloring might be a nice (unique) feature of ConditionalFields. Would be nice, if you'd report back on success too. Thanks. Steffen Hoffmann (hasienda) [1] http://trac-hacks.org/wiki/DynamicFieldsPlugin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk50keQACgkQ31DJeiZFuHfthwCgsWhzNVKXT1Dq4yhroLsYI2qU Sz8AnR7+joHBeBTGKf+zDhdU+jzagx7l =NoZv -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Trac Development" 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/trac-dev?hl=en.
