Hi All

I am wanting to be notified when students add a certain type of
reference into  their local TW (while connected).

So I started with Erics ContactForm and modified it to email the
correct details to a specific email address.

Now I want to include in the ContactForm code some javascript so that
the same information is used to generate the new tiddler ..in the
local TW (ie a student makes a new reference tiddler AND I get emailed
about it!)...

I put code like :-
<script>
tar tid=title;
var tags = tags;...
..
store.saveTiddler(tid,tid,txt,who,when,tags);
story.displayTiddler(null,tid);
</script>

just after the </form> tags in the ContactForm...and before the <div>
that receives the server response......

however that script is not creating the new tiddler........I tried
various combinations but cant get it right. Where is the right place
to insert this code...or .....

in the above "title" comes from inside the <form>....</form>..from the
line ...
        <input type=text name=title style="width:49%" value="titulo do video"
onfocus="this.select()">

does the javascript have access to the value of "title" in this the
right way...ou what is the code to pick up the value of title to then
generate the new tiddler??

thanks in advance
Skye

-- 
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