On Tuesday, July 6, 2021 at 4:29:30 AM UTC+2 Ed Heil wrote:
> Thanks, TW, PMario. What defines a temporary tiddler for these
> purposes? Being under $:/temp/ ?
>
Yes. ... It depends how your form looks like and how the tiddler you need
looks like. I would define a view-mode for the form, where the edit fields
are not active, but show the content of the "form tiddler". This can be
done with the "disabled" parameter since 5.1.23. ...
A button eg: [Config] will copy the "form tiddler" into the "temp tiddler".
If the temp tiddler exists, the "disabled" state will be switched to "no"
and the values can be changed. [OK] [Cancel] buttons that replaces the
[Config] button will be shown.
Cloning the "form tiddler" can be done with ActionCreateTiddlerWidget,
which has $template and $overwrite params since 5.1.22
A disabled filter can look like this: disabled={{{
[[$:/temp/form]is[tiddler]then[no]else[yes]] }}}
hope that helps
-mario
--
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/c4226787-cf2c-4c06-9f61-53c071a0abd8n%40googlegroups.com.