Try something like:
\define myfilt() <option value="""[field[$(currentTiddler)$]]"""><$view
field='title' /></option>
<$select tiddler="SERP - Database Analyst - Net Tech - MIS - Help Desk" "
field='dassection' default="-">
<option>-</option>
<$list filter='[tag[section]]'>
<<myfilt>>
</$list>
</$select>
Note the "-" hyphen used as the default. This forces the user to make a
selection. If the user doesn't change the settings of the drop-down,
nothing happens. Obviously, you would want to change the filter that I made
up.
Good luck,
Mark
On Monday, October 24, 2016 at 11:28:20 AM UTC-7, leeand00 wrote:
>
> I have a dropdown...
>
> <$select field='dassection'>
> <$list filter='[tag[section]]'>
> <option><$view field='title' /></option>
> </$list>
> </$select>
>
> It currently populates the option labels, but not the values...
>
> I'd like the values to be populated with the title field, I thought
> {{!!title}} would work but it didn't.
>
> I'd also like the <$select> to trigger a macro that will set a field with
> the value of the selected option when it is selected in the <$select>...
>
> So far I have this:
>
> \define updateSERPField()
> <$action-setfield $tiddler="SERP - Database Analyst - Net Tech - MIS -
> Help Desk" $field="dassectionfilter" $value="">
> \end
>
> and I imagine that if I fill in the actions attribute of my <$select> with
> <<updateSERPField>> it will make the call, but I don't really know how to
> connect the two...
>
> Thank you!
>
>
>
>
--
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 [email protected].
To post to this group, send email to [email protected].
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/b0a181d7-6393-49ec-bcd4-00b5c54d5bd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.