equalsNext (kolom|kolomnaam)

Entity Value
Attribute(s) style, href, title, alt, value, name, onclick
Type function, value
Context myshop-block:productlist, myshop-repeat-products:< conditie >
Parameters 1: column number / column name
Result true / false

With the function equalsNext one can check if a value from the current active row is equal to the value in the next row. The number of the column to check can be given as parameter, or the name of the column. The result is True if the values are identical to each other. The function can be used to change the layout when values in the fields change.

The example below shows an extra message when one of the fields 3 and 4 of the productlist is different from the value from the next row. By using the operation not() and combining the fields with the boolean operation and/or one can combine multiple fields and check if they are not equal to each other.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment