> Here's a macro that provides a work-around interface: > How to use it: > * copy the above code into a tiddler (e.g., > "$:/TiddlyTools/Macros/getinput") > * tag that tiddler with "$:/tags/Macro" > * in any other tiddler, write: > <<input "foo">> > > How it works: > * the $edit-text default value is the current value in "SomeField" of > "SomeTiddler" > * the $edit-text input goes into a temporary tiddler named > $:/temp/SomeTiddler/SomeField > * the "delete" button removes "SomeField" from "SomeTiddler" > * the "cancel" button discards the temporary tiddler (automatically > reverting the input contents to showing the default value) > * the "ok" button copies the temporary tiddler content to "SomeField" in > "SomeTiddler" > * the "enter" key is a shortcut for pressing "ok" > > I'm also working on an enhanced version where the buttons appear as a > "popup" > only when the $edit-text control gets the input focus, but I'm still > debugging that > version (there's a strange interaction between the focus and the popup > that I > haven't yet figured out). >
[image: 2020-07-02_22-55-25.png] wow-wow-wow!! what sorcery is this?? I hardly understand what is happenning in that vodoo-macro but it works! Tested it in one of my micro-wikis (visual novel database). I think it should be part of the core TW (together with Relink Plugin). When I asked a question - I thought it is rather standard operation. To have your own custom template to input data in your tiddlers. What could be more standard? But turned out you need to have a TW degree to do that because of... because of that "engine-techie stuff" that I doubt I would understand. :) Also I VERY doubt that I could come to this solution by myself. Even after reading the whole tiddlywiki.com several times. At least in the nearest year or two. :) There is a huuuge gap between TW newbies and oldtimers and very little possibilities to bridge that because there's very little literature on the topic since TW community is relatively small. But I have one more question. Is it possible to make a button for that transcluded template tiddler with <<input "...">> fields appear and dissappear? Because I don't need to see it all the time. I just need it to fill in initial values or change them. Btw I was also thinking if it is possible to make this whole "Fill in Data Form" to popup with a press of a button in a sertain tiddler and closed when the data is added/updated. Anyway, again thanks A LOT, Eric! -- 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/74d9660f-8457-4a8d-bc0a-d7a6c6f44d12o%40googlegroups.com.

