Hello,

Is there a command that can be included with a button to clear the form 
fields after the button has been hit?

In one of my previous threads 
<https://groups.google.com/g/tiddlywiki/c/_BY-5mNzB4s/m/eJnUN1wlBAAJ> it 
was mentioned, at least how I took it, that by deleting the temp tiddler 
the form would be cleared. 

However, that functionality isn't occurring and instead a full refresh of 
the TiddlyWiki file needs to be done before the fields clear (just closing 
and reopening the Tiddler isn't enough either). 

Is there another action that is required to clear the fields without a 
refresh? Thanks!

Code in question:

\define temp() $:/temp/input/$(currentTiddler)$

|      Label:|<$edit-text tiddler=<<temp>> field="label"/>    |
|   From Tag:|<$edit-text tiddler=<<temp>> field="fromtag"/>  |
|     Target:|<$edit-text tiddler=<<temp>> field="target"/>   |
| Target Tag:|<$edit-text tiddler=<<temp>> field="targettag"/>|

<$tiddler tiddler=<<temp>>>
<$button> <$view field="label">join tiddlers</$view> 
   <$action-setfield $tiddler={{!!target}} text={{{ 
[tag{!!fromtag}get[text]join[]] }}} tags={{!!targettag}} />
   <$action-deletetiddler tiddler=<<temp>> />
</$button>
</$tiddler>




-- 
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/30ee6c65-8052-4a1f-94b8-3fd53068dadcn%40googlegroups.com.

Reply via email to