* Objective: Create a new tiddler with the name derived from two selects, with fewer than four clicks
* Requires: maketid plugin from http://gwiz-beta.tiddlyspot.com/#
<hr>
<$button>
<$action-deletetiddler $tiddler="$:/temp1"/>
<$action-deletetiddler $tiddler="$:/temp2"/>
One - delete temporary tiddlers
</$button>
Color: <$select tiddler='$:/temp1'>
<option>Red</option>
<option>Blue</option>
<option>Green</option>
</$select>
Vehicle: <$select tiddler='$:/temp2'>
<option>Truck</option>
<option>Sedan</option>
<option>Convertible</option>
</$select>
<$button>
<$x-maketid $title="Temporary"
tiddlertitle={{$:/temp1}} $navigate="hide"/>
Two - create temporary tiddler and field:tiddlertitle
</$button>
<$button>
<$action-listops $tiddler="Temporary" $field="tiddlertitle" $subfilter={{$:/temp2}}/>
Three - append value to temporary field
</$button>
<$button>
<$x-maketid $title={{Temporary!!tiddlertitle}} tags="ColorVehicles" />
<$action-deletetiddler $tiddler="Temporary"/>
Four - create desired tiddler with tags, delete temporary tiddler
</$button>
\define newtitle() $(color)$-$(model)$
Color: <$select tiddler='$:/temp1'>
<option>Red</option>
<option>Blue</option>
<option>Green</option>
</$select>
Vehicle: <$select tiddler='$:/temp2'>
<option>Truck</option>
<option>Sedan</option>
<option>Convertible</option>
</$select>
<$set name=color value={{$:/temp1}}>
<$set name=model value={{$:/temp2}}>
<$button>Make new tiddler
<$action-setfield $tiddler=<<newtitle>> tags="ColorVehichle" />
<$action-navigate $to=<<newtitle>>/>
</$button>
</$set>
</$set>To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0de17562-07f6-46bb-9a97-8a198b9ca211%40googlegroups.com.--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/LtMpKgnGO68/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
Regards