The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
Display image based on value in nested view
This is similar to another issue I was having but trying to solve it the same way isn't working. I have a nested view where I am able to display a value of a field by using this: [display-frm-data id=27 a_id="[101]"] where 27 is the view id and a_id is a filter parameter that I'm checking against a custom ID field. I followed this guide when creating it - https://formidableforms.com/knowledgebase/advanced-view-concepts/#kb-set-up-a-nested-view
That all works great.
I'd like to take the next step and display an image based on that value (rather than the value). I tried to use the frm-condition code that I used elsewhere but given that there isn't any specific instruction on doing this I wild guessed at the following...
It doesn't work.
I also took a shot at this...
[if display-frm-data id=27 a_id="[101]" equals="1"]<img src="https://www.mysite.com/image.png"/>[/if display-frm-data]
Also does not work.
Any thoughts on how to make this happen?
June 9, 2018 at 1:10 am
The original posted stripped my code out and won't let me update it so I'm trying again...
This is similar to another issue I was having but trying to solve it the same way isn't working. I have a nested view where I am able to display a value of a field by using this: [display-frm-data id=27 a_id="[101]"] where 27 is the view id and a_id is a filter parameter that I'm checking against a custom ID field. I followed this guide when creating it - https://formidableforms.com/knowledgebase/advanced-view-concepts/#kb-set-up-a-nested-view
That all works great.
I'd like to take the next step and display an image based on that value (rather than the value). I tried to use the frm-condition code that I used elsewhere but given that there isn't any specific instruction on doing this I wild guessed at the following...
[frm-condition source=display-frm-data id=27 a_id="[101]" equals="1"][/frm-condition]
It doesn't work.
I also took a shot at this...
[if display-frm-data id=27 a_id="[101]" equals="1"]<img src="https://www.mysite.com/image.png"/>[/if display-frm-data]
Also does not work.
Any thoughts on how to make this happen?
Discussion closed.