Mario,

Good Question, what if you want something different for each field?, 
however my proposal is to respond the same the "same for each field".

The logic in the *$:/core/ui/EditTemplate/currentfield *tiddler can 
interrogate the field name and respond differently if you want

Pseudocode

If <<currentField>> = X

if <currentField>prefix[menu-]

But since what I am doing here is adding to the Edit Fields view I think we 
should follow its basic structure, one line for each field.

I think a separate edit panel or an addition to the view template would be 
the best place to respond to different fields independently.

Is that clearer?
Regards
Tony


One could add to *$:/core/ui/EditTemplate/currentfield *the automatic 
transclusion of the "on-edit" field from the fieldname as tiddler so that 
one could create a tiddler for each field name, and in that specify what to 
include. 


On Thursday, April 19, 2018 at 5:39:06 PM UTC+10, PMario wrote:
>
> Hi Tony, 
>
> Why do you want to use 1 tiddler for several field names?
>
> <<currentField>> will be different, but you transclusion will be the same? 
>
> What, if I want a different function for every field?
>
> -m
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/46cf8503-5f8a-40ea-af54-e119880fa422%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to