Get your own customer support community
 

Is there any way to use eval-data within a table-data row?

We're trying to add an option for people to score a table-data entry by selecting a variety of criteria from a few list-data macros within the table row, as follows:


{table-data:Migration Scores}
||Steps Indicator||Manual Data Entry Indicator||Time Indicator||Upgrade Index||
| {center}{list-data:UG No of Steps}
{list-option:1}0{list-option}
{list-option:2-5}1{list-option}
{list-option:6-10}2{list-option}
{list-option:>10}3{list-option}
{list-data}{center} | {center}{list-data:UG Manual Entry}
{list-option:0}0{list-option}
{list-option:1-2}1{list-option}
{list-option:3-5}2{list-option}
{list-option:>5}3{list-option}
{list-data}{center} | {center}{list-data:UG Time}
{list-option:<10>45 min}3{list-option}
{list-data}{center} |{center}{eval-data:UG Confidence Index|format=#0}${UG No of Steps}+${UG Manual Entry}+${UG Time}{eval-data}{center} |
{table-data}


Ideally each entry should then be calculated, and in isolation, they are.

However, I understand that we're introducing multiple instances of the same named fields within the page and I guess it's getting confused. Is there any way of being able to do this, or can you suggest an alternative approach? We really need to be able to dynamically add further scores, hence our original approach by using a table-data macro.

Many thanks,

Daniel
 
happy I’m optimistic
Inappropriate?
1 person has this question

User_default_medium