Hi Skye,

BTW, I'm having the same trouble you mentioned I think -- stuff
doesn't appear for up to 6 hours after I post!

Anyways, you were closer the first time. So try something like this
for the formAdder function:

myFormAdder = function(myForm) {
 var tid=myForm.title.value;
 var txt=myForm.text.value ;
 var tags=myForm.tags.value ;
 var who=config.options.txtUserName;
 var when="";
store.saveTiddler(tid,tid,txt,who,when,tags);
story.displayTiddler(null,tid,2);

}

Note that you use the argument variable everywhere -- which may be
different than the name of the variable you *call* the function with.
Don't forget to save and reload.

Now, since you're submitting from a button inside of the form, you
need to invoke it something like:

  myFormAdder(this.form);


HTH
Mark

On Apr 29, 3:00�pm, skye riquelme <[email protected]> wrote:
> Hi Mark
>
> still trying to get this to work.....and to follow your suggestion a
> bit closer......
>
> the end of the <form>...now reads -
> � � � � <font size=-2>Enter your information, then press</font>
> � � � � <input type="submit" value="send"
> � � � � � � � � onclick="
> var who=config.options.txtUserName;
> var target=this.form.nextSibling;
> target.style.display='block';
> myFormAdder();">
> � � � � </div></form>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to