Thank you for your suggestion. I am creating a temporary place for holding 
information that can be cloned. Each clone has to have it's own seperate slider 
states and text field and it‘s own reset button for that clone.




Sent from my Samsung Epic™ 4G TouchJed Carty <[email protected]> wrote:Do you 
want to use this to keep temporary notes or do you want to create a permanent 
tiddler from the input? I don't know exactly what you want but unless I 
misunderstand you completely I should have most of what you are looking for. 
You would probably want to use something like $:/temp/<<qualify>> for your 
temporary tiddlers, but you may need to use a set widget and a macro.

So,

\define thisTempTiddler(stateNumber)
$:/temp/$(someName)$ $stateNumber$
\end

<$set name=someName value=<<qualify>>>
<$edit-text tiddler=<<thisTempTiddler>> field='text'/>
<$button>Reset
<$action-setfield $tiddler=<<thisTempTiddler>> $field='text' $value=''/>
<$action-setfield $tiddler=<<thisTempTiddler 1>> $field='text' $value='noshow'/>
</$button>

<$reveal type='nomatch' state=<<thisTempTiddler 1>> text='show'>
<$button>show
<$action-setfield $tiddler=<<thisTempTiddler 1>> $field='text' $value='show'/>
</$button>
</$reveal>
<$reveal type='match' state=<<thisTempTiddler 1>> text='show'>
<$button>hide
<$action-setfield $tiddler=<<thisTempTiddler 1>> $field='text' $value='noshow'/>
</$button>
something to reveal
</$reveal>

</$set>

Is that about what you want? It isn't formatted nicely but it should have the 
parts.

If you want to make the tiddler permanent than you have to define the name 
somehow and make a button that uses the action-setfield widget to set the 
fields of a new tiddler to those stored in the temp tiddler, and optionally 
clear the temp tiddler.

If that isn't it please ask and I will see if I can help.
-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to