I want to make a simple form with three fields and a button
The fields are regular html input fields (like <input type='text'>)
The fields contain the name of a new tiddler and two text strings.
Call these fields 'tiddler-name' text1 and text2
When I press the button I want to execute some custom JS code which I write
this should:
Read the name of the new tiddler from one of the entries. Read the string
in text1, Read the string in text2
then:
1) reverse the string read from text2
2) create a new tiddler using the name in the 'tiddler-name' field
note: or issue an error if such a tiddler already exists
populate the new tiddler with some wiki text that my custom JS
button code creates
I'd really like to see exactly how to do this - note: NOT using any fancy
plugins or
non-standard macros to achieve this. I want to see and understand the raw
code to
do this.
What's the best way to do this?
Cheers
/Joe
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c858025b-8863-497a-af50-cca083329ce1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.