Snippet of alternative code heading over in about 15 minutes ! On Tuesday, June 8, 2021 at 11:26:15 PM UTC-3 [email protected] wrote:
> Nope, not opposed to it. Just trying to simplify/automate the process of > combining individual tiddlers instead of manually editing the Tiddler each > time. > > The flow isn't set in stone! > > On Tuesday, June 8, 2021 at 10:15:31 PM UTC-4 [email protected] wrote: > >> Instead of press buttons, then prompt user for variable values via >> fields, would you be open to a flow change, i.e.: >> >> >> 1. Prompt user for values via fields >> 2. Press button? >> >> >> On Tuesday, June 8, 2021 at 10:42:53 PM UTC-3 [email protected] wrote: >> >>> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/db5a5832-41ff-4bc6-9419-50de7682351fn%40googlegroups.com.

