atulg,

Many, though not all of the other html input tags work with the edit-text 
widget. Date/time work but do not convert dates to the TiddlyWiki full 
date/time serial which is ideal, but you can use actions to reformat to 
this serial number. Number email etc... do restrict entry somewhat as 
desired.

Regards
Tones

On Monday, 21 June 2021 at 20:13:18 UTC+10 [email protected] wrote:

> *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/9ce1d380-e82a-47c7-b210-4db4c66d9b72n%40googlegroups.com.

Reply via email to