![]() |
Sergey Kornilov admin 9/24/2014 |
If you use 'View as' Custom variable $value contains the value of that field. It doesn't contain the number of records on the List page. |
S
|
snuffi01 author 9/25/2014 |
HI, |
A
|
Anapolis 9/25/2014 |
HI, My problem is when there is 2 rows with as example the value 1 in the both rows it should show picture green-circle.png But it shows ledorange.png for both rows. If list page contains 3 rows and more every picture is the right one....
|
A
|
Anapolis 9/25/2014 |
Your code should be using the name of the actual field that would show the value 1 or 2 or 3, etc. Whatever field you have put the Custom Code into "View As" on the List page has to be specifically identified by name and that particular record value retrieved to be evaluated in your Custom Code. For instance, if the field in each of your records was named "count" where the 0, 1, 2, 3 .... would be displayed then your code should look something like this ---
|