Hi Hubert
> On 3 Nov 2017, at 10:34, hubertgk <[email protected]> wrote:
>
> <$set name=currentVal value={{<currentTiddler>!!tracker_current_value}}>
> <$set name=targetVal value={{<currentTiddler>!!tracker_target_value}}>
> <$set name=tracker_start_date value={{<currentTiddler>!!tracker_start_date}}>
> <$set name=tracker_end_date value={{<currentTiddler>!!tracker_end_date}}>
That’s the wrong syntax for transcluding a field from the current tiddler.
The syntax for a transcluded attribute allows for the following possibilities
when transcluding from a tiddler field:
{{MyTiddlerTitle!!my-field-name}}
{{!!my-field-name}}
{{MyTiddlerTitle}}
In the first case, both the tiddler and the field are specified. In the second
case, the tiddler isn’t specified and so defaults to the value of the
currentTiddler variable. And in the third case, the field isn’t specified and
so defaults to “text”.
So, perhaps try:
<$set name=currentVal value={{!!tracker_current_value}}>
<$set name=targetVal value={{!!tracker_target_value}}>
<$set name=tracker_start_date value={{!!tracker_start_date}}>
<$set name=tracker_end_date value={{!!tracker_end_date}}>
Best wishes
Jeremy.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2BFFF3A9-632C-490F-A81F-DD5EDDDE5105%40gmail.com.
For more options, visit https://groups.google.com/d/optout.