08-26-2019, 08:29 AM | #1 |
Not Cool Just Blind
Posts: 17
Karma: 10
Join Date: Mar 2014
Location: Spain
Device: Kindle Fire HD 10
|
Contains()
Hi,
I am trying to make a Yes / No column that will show me if the {formats} contains a Zip File. I created a column "Column Built from Other Columns, behaves like Tags" and entered a template of contains {{formats},"Zip", "Yes", "No" } but you guessed it, it´s wrong... TEMPLATE ERROR. As this is my first real attempt at a custom column and the docs don't really have examples that I can find, could anyone please advise me what I need to do? Thanks and kind regards, jB PS I am almost blind so often miss obvious answers in books etc. |
08-26-2019, 08:37 AM | #2 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Moderator Notice
Moved to the right subforum (library management) |
Advert | |
|
08-26-2019, 08:39 AM | #3 |
Grand Sorcerer
Posts: 12,046
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Try
Code:
{formats:contains(Zip,Yes,No)} |
Tags |
error, template |
|