*Thanks Eric, * Worked like a charm. What other tags (tag="textarea") can we use? I will try using textbox/checkbox/date etc. *AG*
On Monday, June 21, 2021 at 2:36:54 PM UTC+5:30 Eric Shulman wrote: > On Monday, June 21, 2021 at 1:19:40 AM UTC-7 [email protected] wrote: >> >>> How can I make an html form in a tiddler, and save the values entered in >>> the form, into a data tiddler? >>> >> > My first reply was assuming that you wanted to save the input into a field > in the *current* tiddler. > However, upon re-reading your question, I see that you want to save the > values "into a data tiddler" > > This is actually quite simple: > <$edit-text tiddler="sometiddler" index="someindex" tag="textarea" > class="tc-edit-texteditor"/> > > Notes: > * The target tiddler "sometiddler" will be saved with > type="application/json" and will contain > * any newlines you enter will be automatically encoded as \n > * any quotes you enter will be automatically encoded as \" > > enjoy, > -e > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0e2db1dd-df0a-40df-ad84-5fe029c97ba5n%40googlegroups.com.

