Below is an example of few fields under link properties for example link with ID 2:
rand1 = a
rand2 = b
rand3 = c
rand4 = d
rand5 = e
rand6 = f
rand7 = g
rand8 = h
rand9 = i
I am trying to use below if/elsif comparison code, however, it does not seem to work :(
<%if $rand1 EQ $rand2 OR $rand2 OR $rand3 OR $rand4 OR $rand5 OR $rand6 OR $rand7 OR $rand8 OR $rand9 %>
rand3 = Yes, it matches a field
<%else%>
No match found.. So display : Rand3 = <%rand3%>
<%endif%>
Any idea on what am I doing wrong or what the right if/elsif code should be above?
Thanks.
Vishal
-------------------------------------------------------
rand1 = a
rand2 = b
rand3 = c
rand4 = d
rand5 = e
rand6 = f
rand7 = g
rand8 = h
rand9 = i
I am trying to use below if/elsif comparison code, however, it does not seem to work :(
<%if $rand1 EQ $rand2 OR $rand2 OR $rand3 OR $rand4 OR $rand5 OR $rand6 OR $rand7 OR $rand8 OR $rand9 %>
rand3 = Yes, it matches a field
<%else%>
No match found.. So display : Rand3 = <%rand3%>
<%endif%>
Any idea on what am I doing wrong or what the right if/elsif code should be above?
Thanks.
Vishal
-------------------------------------------------------