Hi @all,
Is it possible to create a button that reads its set-destination from a
current tiddler's field and once pressed echo some text to another tiddlers
field?
The problem is, setting "set" to the field by TextReference prohibits
specifying the field of the destination that shall be changed
<$button class="" set={{!!outdest}} setTo="something">Click to
store</$button>
outdest beeing the own tiddlers field which is dynamically assigned during
creation and may change.
"outdest" : "$:/temp/output-762314"
hardcoded it should look like
<$button class="" set={{$:/temp/output-762314!!fieldxyz}}
setTo="something">Click to store</$button>
But how do I pass the field?
With a textwidget its no problem, as it separates destination and field.
<$edit-text tiddler={{!!outdest}} field="fieldxyz" />
However I need this for a button that triggers an action
Any ideas? Thanks in advance
Regards
Felix
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.