Thanks Eric, I've been excited one second, but it seems not working in fET syntax. :(
TypeError: tiddler.fields.myfield is undefined octw On Nov 3, 2:13 pm, Eric Shulman <[email protected]> wrote: > > But I'd like to count the length of a field, something like > > "tiddler.myfield.length"... Is it possible? > > As you noted in your message, standard core-defined tiddler fields > (e.g., title, text, tags, modifier, modified, created) can be > referenced directly from the tiddler object (e.g, tiddler.text, > tidder.tags, tiddler.modifier, etc.). > > However, *custom* tiddler fields are stored in a separate associative > array within the tiddler, called 'fields[...]'. > > Thus, to reference a custom field, use: > tiddler.fields.fieldname > and to get the length of the field: > tiddler.fields.fieldname.length > > 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.

