Ok this is what i have used in my case with the advices of Evolena:
<$edit-text tiddler="Temp Tiddler" placeholder="Title" field="draft.title"
tag="input" type="text"/>
This is a input where i can enter any title for a new tiddler, then aside
of it:
<$set name="myVariable" filter="[{Temp Tiddler!!draft.title}is[tiddler]]"
value="exist" emptyValue="">
<$text text=<<myVariable>>/>
</$set>
which allow me to display a message if the name is already taken (i was
having trouble to find the right number of brackets and braces in the
filter attribute)
first we need to modify a shadow tiddler before use (because of a refresh
issue, discussed here: https://github.com/Jermolene/TiddlyWiki5/issues/1937)
Due to Tobias a PR is pending to correct this for the next tw version
(5.1.10)
Thank you both for your help! Btw Tobias no big deal but it's a "L" at the
end of "Spangenhelm" not a "i" ;-)
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1e5c29d1-d20c-432e-90fa-c71bb30d4d32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.