The function you use is:

$tw.wiki.setText(tiddler, field, index, value, options);

where tiddler is the tiddler that has the field you want to change, field 
is the field you want to change, index is the index you want to change, 
value is the value you want set in that filed and I can never remember what 
options are available because I never use them.

If you give an index than it uses that instead of the field, if you are 
setting a field value set the index to null or undefined.

You can look at the action-setfield widget as an 
example 
https://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fwidgets%2Faction-setfield.js

-- 
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/35139760-3b90-4897-9c8a-e48101b98e06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to