# Dynamic content

**URL:** <https://integration.keap.com/t/dynamic-content/90707>\
**Category:** Max Classic\
**Created:** [May 19, 2023, 1:11pm UTC](https://integration.keap.com/t/dynamic-content/90707 "2023-05-19T13:11:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Horm\_Concierge](https://avatars.discourse-cdn.com/v4/letter/h/f6c823/32.png) [@Horm\_Concierge](https://integration.keap.com/u/Horm_Concierge)\
**Post date:** [May 19, 2023, 1:11pm UTC](https://integration.keap.com/t/dynamic-content/90707/1 "2023-05-19T13:11:43Z")

</div>

This little piece of code does not seem to be working  
[% if contact.contact\_type contains “Student” %]  
1  
[% elsif contact.contact\_type contains “Furniture Agent” %]  
2  
[% endif %]

while this code works just fine

[% if contact.owner.uid == “1” %]  
yes  
[% elsif contact.owner.uid == “2” %]  
no  
[% endif %]

also this code work just fine

Basically the code does not work only when I use the field  
contact.contact\_type

Can anyone help? Thanks
