On Aug 23, 6:58 pm, "Dave Gifford - http://www.giffmex.org/";
<giff...@gmail.com> wrote:
> Hi guys
>
> I am sure this is simple, but, if I wanted a 'display' tiddler that
> accessed the data from a form field or drop down list in a data entry
> tiddler, what would I do?
A(3) possible solution [1] may look simple. But the way, to reach it,
isn't. (look at the 27 revisions)

> I am guessing something like <<tiddler 'dataentrythingy'
> 'tiddler.data("nameofformfield")'>>
It would be easier if you'd provide a data set and the result that you
want.
eg: <data>....</data>
result: ???? how it should look like.

With the <<tiddler ..>> info I only can guess, how the result should
look like. that's why there are 3 guesses.

1: the <data> section is part of the containing tiddler:
<<tiddler {{tiddler.title + '##echo'}} with:
{{DataTiddler.getData(tiddler.title, 'month')}}>>

2: the <data> section is inside 'TestDataTiddlerPlugin' <- could be
any name different to containing tiddler.
<<tiddler {{tiddler.title + '##echo'}} with:
{{DataTiddler.getData('TestDataTiddlerPlugin', 'amount')}}>>

3: if you use InlineJavaScriptPlugin
<script>
        return 'description: ' + DataTiddler.getData('TestDataTiddlerPlugin',
'descr');
</script>

> How would I write something like that correctly?
>
> Dave
hope one of them helps.

have fun!
mario

have fun at q:)
[1] 
http://hoster.peermore.com/recipes/TeamWork/tiddlers.wiki#TestDataTiddlerPlugin

function descriptions:
[2] http://tiddlywiki.abego-software.de/#DataTiddlerPlugin

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to