CMS Development

Philip_Marsh
Colaborador(a)

If Statement - Form Selection - HubL

resolver
 
I have used {{ dynamic_page_hubdb_row.form_selection|pprint }} to find out if I need to use Name, ID or Value to define the operator, but neither of them works. Am I missing something really obvious?
 
Only the else portion of the IF statement ever shows. I can't get the name == 'default' section to work
0 Avaliação positiva
1 Solução aceita
Philip_Marsh
Solução
Colaborador(a)

If Statement - Form Selection - HubL

resolver

I managed to solve this by switching how I approached what I needed it to do.

 

I changed the multiselector to a checkbox and used that to switch out the modules. 

 

{% if dynamic_page_hubdb_row.form_cover_letter == '0' %}

Exibir solução no post original

1 Resposta 1
Philip_Marsh
Solução
Colaborador(a)

If Statement - Form Selection - HubL

resolver

I managed to solve this by switching how I approached what I needed it to do.

 

I changed the multiselector to a checkbox and used that to switch out the modules. 

 

{% if dynamic_page_hubdb_row.form_cover_letter == '0' %}