I simplified it a bit. And removed : class='tc-btn-invisible' and {{$:/.user/images/add-contact.svg}} from $button, $savetitle='$:/.user/CreateContact!!newContact' from $action-createtiddler and $param={{$:/.user/CreateContact!!newContact}} from $action-sendmessage <$button tooltip="Create a new contact">Create a new contact
<$action-createtiddler $basetitle='New Contact' tags='contact' firstname='' lastname='' phone='' email='' /> <$action-sendmessage $message="tm-edit-tiddler" /> </$button> On Saturday, August 4, 2018 at 4:52:37 AM UTC+3, passingby wrote: > > > > On Monday, July 30, 2018 at 6:22:16 AM UTC-6, Alexei R wrote: >> >> Please give me some simple example. >> >> > I have this tiddler in my TW which creates a simple contact tiddler. > > <$button class='tc-btn-invisible' tooltip="Create a new contact"> > > <$action-createtiddler > > $basetitle='New Contact' > > tags='contact' > > firstname='' > > middlename='' > > lastname='' > > address='' > > phone='' > > email='' > > reference='' > > birth='' > > death='' > > $savetitle='$:/.user/CreateContact!!newContact' > > /> > > <$action-sendmessage > > $message="tm-edit-tiddler" > > $param={{$:/.user/CreateContact!!newContact}}/> > > {{$:/.user/images/add-contact.svg}} > > </$button> > > > > > So a button is created, which when pressed not only creates the tiddler > with pre-defined fields but also opens it up for editing. Just like New > Tiddler button. > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/c1630ae8-d229-4807-95b0-c8b826168aaf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.