If Statement - Form Selection - HubL

SOLVE
Philip_Marsh
Contributor
 
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 Upvotes
1 Accepted solution

Accepted Solutions
Philip_Marsh
Solution
Contributor

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

View solution in original post

1 Reply 1
Philip_Marsh
Solution
Contributor

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

View solution in original post