Hi there, is there a possibility to use an if Condition in a body Text of an eMail template? E.g. if field1 = "a" then text = "b"
							
						
					if condition in eMail template
				
					Collapse
				
			
		
	X
- 
	
	
	
	
		
	
	
	
		
	
		
			
				
	
	
	
	
	
	
	
	
	
 It doesn't work for me.
 I have in my code editor :
 <p>{Person.name}</p><p>{Call.contact.name}</p><p>{Call.contact.estusager}<br></p><p>Concerne {Call.name} <span style="color: rgb(51, 51, 51);">(
 <!-- {{#ifEqual Call.contact.estusager 1}} -->
 Usager du social
 <!-- {{/ifEqual}} -->
 )</span></p><p>Type : {Call.type} Niveau d'urgence : {Call.urgence}</p><p>Objet : {Call.name}<br></p><p>Description : {Call.description} </p>
 
 (Call.contact.estusager is a tinyInt(1))
 
 When Call.contact.estusager=0, "Usager du social" is written anyway.
 I tried <!-- {{#ifEqual Call.contact.estusager "1"}} --> <!-- {{#ifEqual Call.contact.estusager '1'}} --> <!-- {{#ifEqual Call.contact.estusager true}} --> but it doesn't work (it's working in a PDF template)
 
 What am I doing wrong ?
 
 Comment
- 
	
	
	
	
		
	
	
	
		
	
		
			
				
	
	
	
	
	
	
	
	
	
 Comment

Comment