Loop elements #55
Replies: 4 comments
-
Our template syntax is more like the mustache template. View:
Template:
Output:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
And if you need conditions, the code will be like below.
Template:
Output:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
So in your case, the template will be
|
Beta Was this translation helpful? Give feedback.
0 replies
-
We have it in our docs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey team, can i loop elements? I a multiple choice select on my website, i would to render them in the email.js template. For now i get this error:Template: One or more dynamic variables are corrupted. Here is my code: Vous avez reçu un nouveau message de {{fullName}} ({{company}})
Cet e-mail provient du formulaire "Produits" :
Nom complet : {{fullName}}
E-mail : {{email}}
Entreprise : {{company}}
Téléphone : {{phone}}
Sujet : {{sujet}}
Produits :
{{#if productChoice}} {{#each productChoice}}
{{this}}
{{/each}} {{else}}
Aucun produit sélectionné
{{/if}}
Message : {{message}}
Cordialement,
I you could help me that would be great :)
Kind regards,
Charles
Beta Was this translation helpful? Give feedback.
All reactions