Hello,

I hope I didn't miss a clear answer for this but is there anyway to prompt 
the user for a variable, with an input field, after a button press?

I found the below code to combine multiple tiddlers into one based on a 
shared tag, and then modified it to add a tag.

\define join(label,tag,target,targettag)
<$button> $label$
   <$wikify name="out" text="""<$list filter="[tag[$tag$]]"><$text 
text={{!!text}}/></$list>""">
      <$action-setfield $tiddler="$target$" text=<<out>> tags=<<targettag>> 
/>
   </$wikify>
</$button>
\end

<<join "Create Chapter" "Book 1 Chapter 1" "Book 1 Chapter 1" "Book 1" >>

As of now the variables for the button are set by the <<join line above 
which has to be manually set.

My question/hope is if there is a way to prompt the user to input the 
variables, one at a time, via an input box/field/prompt, that would allow 
them to set the variables each time the button is pressed.

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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2bb614f1-3716-4d77-8063-3b437e80ae7bn%40googlegroups.com.

Reply via email to