Hi Magnus,

Did this ever work with the actual config.options.txt*UserName*?

1) If you were to use the option Macro before or after your form, e.g.

''UserName:'' <<option chkUserName>>

...then you would actually save whatever you enter there as the UserName.


2) Or you could use this within your form:

<label>UserName:</label>
<input
name ="tiddlerName"
option="txtUserName"
class="txtOptionInput"
title="Enter a desired UserName..."
onchange="config.macros.option.genericOnChange.apply(this);"
onfocus="if(!this.form.tiddlerName.value)this.form.tiddlerName.value=config.options.txtUserName;">

...which will load the actual TiddlyWiki UserName into the form when the 
username field is focussed. However, you might want to add the onfocushandler 
also to a field that you will definetely always focus on, e.g. the 
text field.

Cheers, Tobias.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to