Jon
1
Hi,
How can I adapt the following so that I can enter the number dynamically from a field reference or a popup menu or similar?
{{{ [tag[A]get[b]compare:number:gt[5]] }}}
I’ve tried replacing the number with [{!!N}] to reference field “N” containing the number, but that doesn’t work.
Thanks
The type of brackets that surround the filter parameter are used to indicate how that parameter is processed:
- square brackets are for literal values
- curly brackets are for field references
- angle brackets are for variables/macros
To use the value from a field named N in the current tiddler, you would write:
{{{ [tag[A]get[b]compare:number:gt{!!N}] }}}
-e
Jon
3
Ah, thanks Eric (and for the notes) I probably tried every combination except that one!
Regards
Jon