PS: 

1. A separate html-form edition would be great.
2. I wanted to use a simple  $:/plugins/tgrosinger/tw5-checklist 
<https://tgrosinger.github.io/tw5-checklist/#%24%3A%2Fplugins%2Ftgrosinger%2Ftw5-checklist>
 except 
the functionality would vanish in case all items from the list are deleted. 
3. I am presently using a combination of 
https://kookma.github.io/TW-Todolist/ and ERIC's text-area (tiddler field) 
to help users store/save data.


On Tuesday, June 22, 2021 at 7:29:10 AM UTC+5:30 Atul Grover wrote:

> Dear All,
>
> In my case I want to allow the users to input and store data (in a 
> predefined structured way) without giving them the tiddler edit 
> functionality,
> So an HTML form which saves data either in the tiddler fields or in a data 
> tiddler (whichever is easier) was desired.
>
> I tried using JSON EDITOR, except (as a lay person) I found it difficult 
> to use. More ready to use schema for basic form types or Links to online 
> schema creation tool could have helped.
>
> I would love to see a separate section in TW5 dedicated to HTML FORM 
> functionality, with 2/3 ready to use/copy forms. 
> I my case even something as simple as a textarea tag (thanks Eric) has 
> sufficed (for now). 
> This is a basic functionality could be at par with the basic "Note-Taking" 
> or " Task-Management" and would propel faster adoption of TW5 by masses.
>
> Regards
> AG
> On Tuesday, June 22, 2021 at 5:09:03 AM UTC+5:30 TW Tones wrote:
>
>> TT,
>>
>> At least with the data dictionary format key:value you can parse the data 
>> tiddler and extract each row using [[datatiddler]get[text]spitregexp[\n]] 
>> and retain the order. There is a similar method for JSON to parse and 
>> extract titles only which I used to list the contents of the history 
>> tiddler - 
>>
>> Here is a partial snipit of listing the contents of the history tiddler, 
>> a json of tiddler titles, pasted in a tiddler tagged for the sidebar tabs 
>> you could call this a session history tab.
>>
>> \define title-string() "title": "
>> \define end-title() "
>> \define hasdrafts() {{{ [list[$:/StoryList]get[draft.of]] }}}
>>
>> <$list 
>> filter="[{$:/HistoryList}split<title-string>splitbefore<end-title>removesuffix<end-title>reverse[]is[tiddler]limit[20]]">
>>    <$wikify name=hasdrafts text="""<<hasdrafts>>""">
>>    <$list filter="[all[current]] -[subfilter<hasdrafts>]">
>>        <<currentTiddler-buttons>> <!--<save-if-draft>--> <$link/>
>>       <!--<close-if-open-button>--> <<close-if-open-button>><br>
>>    </$list>
>>    </$wikify>
>> </$list>
>>
>> The buttons are not defined.
>>
>> Regards
>> Tones
>> On Monday, 21 June 2021 at 20:37:53 UTC+10 TiddlyTweeter wrote:
>>
>>> Small query; since this thread has *experts* involved :-)
>>>
>>> HOW  do I NOT SORT a data dictionary?
>>>
>>> I use dictionaries a lot for some tasks. I'd like to render the 
>>> following exactly in the order of the dictionary records. 
>>> But it all goes alpha on default.
>>>
>>>    Bank - Fideuram : 
>>> https://www.fideuramonline.it/script/ServiceLogin/ib/login 
>>>    Bank - Deutsche : https://lamiabanca.db.com/apigw/wb/login 
>>>    Bank - NatWest : https://DUMMY.html 
>>>    Bank - PayPal : https://www.paypal.com/it 
>>>    Amazon - IT : https://www.amazon.it 
>>>    Amazon - UK : https://www.amazon.co.uk 
>>>    Amazon - USA : https://www.amazon.com 
>>>    Amazon - DE : https://www.amazon.de 
>>>    Amazon - FR : https://www.amazon.fr
>>>
>>> In render Amazon goes top, Bank after. That is NOT what I need!
>>>
>>> *       Q: Is there any way to present dictionary entries ordered 
>>> exactly as entered?*
>>>
>>> Just asking! Trying to understand this ...
>>> TT
>>> On Monday, 21 June 2021 at 12:13:18 UTC+2 [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/654c86ff-dcd8-4a2c-acdc-87dd2007580fn%40googlegroups.com.

Reply via email to