Also, how would I go about clearing the text box after the button is clicked?
Thanks in advance! On Saturday, October 31, 2015 at 11:13:41 AM UTC-6, Devin Baillie wrote: > > I've got multiple projects, and I want to be able to create tasks tagged > with each project name. > > I've created a text box and a button to do this using > > <$edit-text tiddler="$:/temp/NewTaskButtonTemplate/input" tag="input" > type="text" placeholder="New Task"/> > > <$set name="tag1" value="task"> > <$set name="tag2" value={{!!title}}> > <$newtiddler title={{$:/temp/NewTaskButtonTemplate/input}} > skeleton="task_skeleton" edit="no">Create New Task</$newtiddler> > </$set> > </$set> > > > Where task_skeleton is a tiddler that is tagged with $(tag1)$ and $(tag2)$. > > This works how I expected for titles without spaces, but if the project > title has multiple words, for example "Test Project", when the new task > gets tagged with "Test" and "Project", which is not helpful. How can I > make this so that it will tag it with a single tag "Test Project" instead? > -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ccab88d0-0e5b-4aca-b2a3-c089acd36766%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.