Question: Hide a Field Conditionally

We know it is possible to hide a field using config tiddler. For example if set the body of $:/config/EditTemplateFields/Visibility/description to hide it will be hidden in edit mode!

  • Is there any way to conditionally do this? for example for all tiddlers have prefix “$:/ut/” in their title?
  • How about using cascades? (See my question here)

Mohammad

As you know the current visibility setting is global.

One simple apprroach is to hide it but then conditionaly display or allow it to be edited with an additional custom tiddler with the edit template tag. This condition can depend on tiddler conditions.

As I raised elsewhere it would be nice to be able to modify field order both globaly, conditionaly or by tiddler.

Perhaps these two requirments could justify an extension to the default edit template. First impemented using the new cascade method.

I would also like a similar method to display and sort fields on the view template so forms can be built on top of the view template. But this can be done in a custom view body template.