CMS Development

Philip_Marsh
Colaborador

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 Me gusta
1 Soluciones aceptada
Philip_Marsh
Solución
Colaborador

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' %}

Ver la solución en mensaje original publicado

1 Respuesta 1
Philip_Marsh
Solución
Colaborador

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' %}