Thanks Eric I will try your proposal too...
It appears to me that fields have several and more uses than data- fields - It would be very nice if someone who has the knowledge and expertise could/would update tiddlywiki.org and other knowledgebases with examples - for use with fET and not least with exampleinputforms and strategies for conversions and practical uses... I don't expect you to feel responisble for dooing this - You are most generous with TiddlyTools and here on the TW-group - but I think it's very difficult to find documentation for more diverse use of fields in the TW-community. When I think about it it seems that - fETs and fields are the neccesary buildingblocks for making any kind of usefull application on your own in TW. Customisation of a TW with these tools can allow anyone to make some very original and tailored solutions for anything.. I miss some more information on these subjects - but maybe it's just because I have some tweaking-ideas that need tailoring in a way that requires scripts/fETs, Customized Templates and macros that I can't figure out myself... Most of the experiences I've done was by "looking backstage" and in editmode in different TWs - and copying snippets of code from all places - but I haven't really found some good and thorough tutorials on "building up" fET-tables from fieldvalues... or making some beautifull formtemplates with "fieldinput-knobs". I think that there are many very well written introductions to TW for beginners - but more sophisticated (not neccesarily in depth) explorations, with practical examples of the beforementioned fields and fETs don't exist in a pedagogical form - You have to dig for yourself - and maybe - that's the point? - You learn by digging - but still.... documentation and tutorials would be great on more of these topics.. YS Måns Mårtensson On 20 Mar., 01:01, Eric Shulman <[email protected]> wrote: > > I have started to use fields instead of <data> in my tiddlers and now > > I must translate all my fET-tables - so they fetch fieldvalues instead > > of datavalues. > > > I want to convert/translate all my datareferences to fieldreferences. > > I don't know the right syntax - > > > Is it just a matter of writing tiddler.field("fieldname") instead of > > tiddler.data("dataname") ?? and in the write-area translate: ex: <<tag > > "+tiddler.data("dataname")+" \>\> to : <<tag "+tiddler.field > > ("fieldname")+" \>\> ??? > > Try this: > tiddler.fields["fieldname"] > > note: unlike tiddler.data(), tiddler.fields is an *object* reference, > so you can also assign into it: > tiddler.fields["fieldname"]=somevalue; > > enjoy, > -e --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

