I tried to create a new tiddler using action-createtiddler widget. Here is the sample code
<$button>
<$action-createtiddler $basetitle="" $template="Month" month=title of the current tiddler >
</$action-createtiddler>
new month
</$button>
I want the month field to be the title of the newly created tiddler. How to do it?
Within the body of the <$action-createtiddler> widget, the title of the newly created tiddler is available using the <<createTiddler-title>> variable.
Thus, for your purposes, you could write something like:
<$action-createtiddler $basetitle="" $template="Month">
<$action-setfield $tiddler=<<createTiddler-title>> month=<<createTiddler-title>>/>
</$action-createtiddler>
enjoy,
-e