I have a field that should or should not be displayed depending on the answer to an different field.
However, the answer from the different field could be one of three or four options.
So, I was hoping to be able to go:
[if 16 equals="Victoria" equals="Queensland" equals="Northern Territory"]Relevant Information[/if 16]
I read in the documentation that this cannot be done natively.
I COULD do separate statements, however there are around 30 of them... and it would be easier to group them like this, for future ease of use.
Is there a workaround that doesn't involve me doing a separate statement for each variable?
Thanks in advance!
Bree
Please login or Register to submit your answer
Since the forum is still losing answers, I'll try as a comment. You'll want to create a custom shortcode to accept the field value and do the comparison in PHP and return a simple result, e.g., Y or N and use the frm-condition shortcode in your view. <a href="https://formidableforms.com/knowledgebase/compare-two-values-for-display/#kb-compare-to-a-custom-shortcode" rel="nofollow">https://formidableforms.com/knowledgebase/compare-two-values-for-display/#kb-compare-to-a-custom-shortcode</a>
The forum has been losing answers regularly. If you want to be assured of an answer, please post in my Facebook Group. https://www.facebook.com/groups/formidablemasterminds