Hello everyone,I'm trying to add to the list field using the checkbox widget 
and can't figure out how to write it. Currently I have tried the following. But 
it fails. Any suggestions?
\define add()
<$action-listops $tiddler="$:/plugin/ajh/format/list" $field="list" 
$subfilter="[[$(currentTiddler)$]]"/>
\end
\define remove()
<$action-listops $tiddler="$:/plugin/ajh/format/list" $field="list" 
$subfilter="-[[$(currentTiddler)$]]"/>
\end

<$set name="tv-config-toolbar-icons" value="yes">

<$set name="tv-config-toolbar-text" value="yes">

<$list filter="[all[shadows+tiddlers]tag[$:/tags/FormatToolbar]!has[draft.of]]" 
variable="listItem">

<$checkbox tiddler="$:/plugin/ajh/format/list" field="list" checked=<<add>> 
unchecked=<<remove>> default=<<add>/> <$transclude tiddler=<<listItem>> 
field="caption"/> <i class="tc-muted">-- <$transclude tiddler=<<listItem>> 
field="description"/></i>

</$list>

</$set>

</$set>
Happy Connecting. Sent from my Sprint Samsung Galaxy S® 5

-- 
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/1a6rh66bdtddd51dmkqorn7k.1456273476316%40email.android.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to