I have a Tiddler that's a form, when I hit the button it creates a new 
Tiddler based on the fields and clears the text fields. Is there a way that 
I can force focus back to the first text field? That way I can enter text, 
[tab], enter text, [tab], [enter] (submitting the form) and then already 
have the text cursor back in the first text field?

Here's my code:


<$edit-text tiddler="$:/tcj/Note Taker Helper" field="notecue" size="3" 
> placeholder="Cue #" focus="true"/>
>
> <$edit-text tiddler="$:/tcj/Note Taker Helper" field="text" 
> placeholder="Note text" tag="textarea"/> <$set name=notetext 
> value={{$:/tcj/Note Taker Helper}}>
> <$set name="notetextconcat" value="<<noteheader>>$(notetext)$"> <$button 
> tooltip="Create a new note" aria-label="Create a new note">
> <$action-maketid  $title=<<now "0MM-0DD hh:0mm:0ss (YYYY)">>  
> tags="[[note]]" $tags="[{Active Production!!text}] [{Punch 
> List!!notetype}]" text=<<notetextconcat>> $navigate="hide" 
> cue={{$:/tcj/Note Taker Helper!!notecue}}/>
> {{$:/tcj/images/new-note}}submit note
> <$action-deletefield notecue $tiddler="$:/tcj/Note Taker Helper"/>
> <$action-deletefield text $tiddler="$:/tcj/Note Taker Helper"/>
> </$button>
>
> </$set>
> </$set>
>

 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/194542de-d1f6-44e3-90a2-6baebb2a8b7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to