View Single Post
Old 07-07-2013, 04:23 AM   #1
HFC3 began at the beginning.
Posts: 30
Karma: 10
Join Date: Apr 2013
Device: Kindle Touch
[SOLVED] Multiple conditions in TEMPLATE code

The TEMPLATE instructions show how to use various functions/commands to set values based on 1 condition. For instance; "Display Yes if the book has an EPUB format. Template:{formats:contains(EPUB, Yes,)}"

That works great. But, how do you code this if you want a "YES" where "formats" is one of a number of possible values; "EPUB" as well as "MOBI" and {however many more you wish} types?

Thank you.

Last edited by HFC3; 07-07-2013 at 01:39 PM. Reason: Annotate solved
HFC3 is offline   Reply With Quote