uups forgot something, Clicking the [OK] button will work the other way around. Clone temp -> form and delete the temp. The edittext-widgets tiddler parameter will need to be a variable. ... depending on which tiddler is active atm. form or temp -m
On Tuesday, July 6, 2021 at 8:06:28 AM UTC+2 PMario wrote: > 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/11b3527e-fdce-4ffa-9d8c-d21eeb1e8ce1n%40googlegroups.com.