Forum
gt and gte match giving fits in Runway 2.8.13
Drew, I have been fussing all day with perch:if and have found there seems to be a problem with...
<perch:if id="perch_item_count" match="gt" value"3">do something</perch:if>
<perch:if id="perch_item_count" match="gte" value"3">do something</perch:if>
Both keep evaluating true no matter what the value of perch_item_count is, but...
<perch:if id="perch_item_count" match="eq" value="3">do something</perch:if>
works perfectly. Can you test this in your environment. Thanks so much.
You need to use
value="3"
in place ofvalue"3"
.Sorry Drew, This was a mis-type in the forum, not in the actual template.
The problem still exists...
Ok, no problem. I'll run some tests on it next week.
I have currently used the following as a work around, but it would be best to do it right...
Drew, I just looked at my template again, boy do I feel dumb... My mis-type was not limited to my example as I thought. It was wrong in my template too.
Sorry, Please forgive me.. :) Everything's fine now.