Condition in template #77
Answered
by
sffc
Gianluks90
asked this question in
Q&A
|
Hi, I recently discovered Card Creator Studio and I am already in love with it. I just need to make card creation more functional without having separate files for card "category". I am not being able to use the Conditions (IF ELSE) in the Template, can you tell me which is the correct syntax? I would like to arrive at the following solution: IF the category is "X" then it shows some icons (image loaded in Assets). Category is one of the Fields. Thanks in advance! Gianluca |
Answered by
sffc
Nov 15, 2022
Replies: 1 comment 2 replies
|
Hi @Gianluks90! The following should work Note that arbitrary JavaScript code can be put on any line that starts with a Hope this helps! |
2 replies
Answer selected by
Gianluks90
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Gianluks90! The following should work
Note that arbitrary JavaScript code can be put on any line that starts with a
-Hope this helps!