---
title: "Open Foris arena and Arena mobile (official and unofficial)"
url: "https://openforis.support/questions/3743/open-foris-arena-and-arena-mobile-official-and-unofficial"
tags: ["arena", "arena-mobile"]
status: "accepted"
score: 0
answer_count: 7
asked: "2023-08-08T18:03:20"
last_activity: "2023-08-17T05:42:10"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Open Foris arena and Arena mobile (official and unofficial)

Asked by Rajkumar on 2023-08-08

Dear Stefano Ricci and Open Foris Arena Team,

I have extensively explored both the official and unofficial mobile versions of Arena while working with the same survey. I have identified a few issues and would like to bring them to your attention:

In the official version of Arena on mobile devices, there is a problem with label display. For instance, labels such as "Girth(cm)" appear as "girth(c," "Height(m)" as "Height(m," and "Remark" as "Remar," among others. While some labels appear correctly, it's evident that the last character is missing. Interestingly, the unofficial mobile version of Arena does not exhibit this issue and functions smoothly.

My survey structure follows this hierarchy: forest -> forestblock -> spl -> stand. Within the stand entity, there are a numeric attribute 'treevolume' and a text attribute 'strata.' The issue arises when attempting to perform a sum (`sum(spl.stand.treevolume)`) based on a 'strata' attribute condition (e.g., applying the sum when `strata='tree'`). The calculation works perfectly without the 'apply if' condition. However, upon applying the 'apply if' condition, the result cell becomes blank, with no apparent error. I kindly request your assistance in resolving this matter.

I've noticed that the unofficial mobile version of Arena boasts a valuable feature, allowing data entry through nodes or forms and facilitating multiline text input. As mentioned in the second point, this version successfully displays the sum value, a feature that is regrettably absent in the official Arena mobile version.

There are instances where it becomes necessary to concatenate multiple numeric fields into a single multiline text field. However, this action often leads to the inclusion of numerous decimal values. To enhance user interface aesthetics and ensure a tidy appearance, I am interested in minimizing the number of decimal places.

Thank you for your attention to these matters. I look forward to your assistance in addressing these concerns and improving the functionality of Arena on mobile platforms.

Sincerely,
Rajkumar


## Accepted answer (score 1, by Stefano (OF) on 2023-08-16)

Link: https://openforis.support/questions/3743/open-foris-arena-and-arena-mobile-official-and-unofficial/3768

Dear Rajkumar,  
The problem you were mentioning has been fixed.  
Please try to run again the preview of your survey in the latest version of Arena.  
Many thanks,  
Open Foris Team


## Answer (score 0, by Stefano (OF) on 2023-08-08)

Link: https://openforis.support/questions/3743/open-foris-arena-and-arena-mobile-official-and-unofficial/3745

Dear user,  
As a member of the Open Foris Team I cannot suggest you to use the unofficial version of Arena Mobile (which was meant as a playground of features not yet implemented in the official version), but please continue to use the official one and many thanks for providing feedback on it.  
What do you mean when you say that the unofficial version of Arena Mobile displays correcctly a sum value, while the other no?  
We will contact you to your private email address, so you can give us more details about this issue.  
Many thanks,  
Open Foris Team


## Answer (score 0, by Rajkumar on 2023-08-13)

Link: https://openforis.support/questions/3743/open-foris-arena-and-arena-mobile-official-and-unofficial/3755

Dear OFT,

I am developing my survey in arena. I would like to clarify my previous question. Suppose I have two entities in this structure `plot-> tree`. The `tree` entity has two attributes. `species`, and `treevolume`. Now I want the summation of `treevolume`. For this purpose, I created a 'read only' calculated attribute named `sumtreevolume` in the `plot` entity and used `sum(tree.treevolume)` script. It works fine. It sums all row from `treevolume` 

But when I want the sum based on a condition (using apply if `tree.species==’Shorea robusta’`) it is not working. I expect to get sum based on apply if condition. I wanted the summation of only `Shorea robusta` volume among from species. I do not know whether I am thinking illegally, or it is legal. No error is produced but I do not get what I am expecting. Thank you very much.


## Answer (score 0, by Stefano (OF) on 2023-08-13)

Link: https://openforis.support/questions/3743/open-foris-arena-and-arena-mobile-official-and-unofficial/3756

Dear user,  
when you need to filter the items being agregated with an aggregate function, like `sum` or `count`, you need to provide the filter condition in square bracket, like in this example:   
    `sum(tree[tree_species == 'OLE/CAP'].treevolume)`  
In this way, only the trees having species with code OLE/CAP will be considered in the sum.  
Tha apply if condition is evaluated for the entire read-only attribute; in your case the expression tree.treevolume returns an array of values, so it's always considered as "true" and the expression is always evaluated.  
Let us know if you have any other issues, many thanks,  
Open Foris Team


## Answer (score 0, by Rajkumar on 2023-08-15)

Link: https://openforis.support/questions/3743/open-foris-arena-and-arena-mobile-official-and-unofficial/3759

Dear OF,

I used the example script as mentioned above. It was exciting for me. Unfortunately, putting right script It is showing wrong behavior. Neither does it show any error or permits to move further page in preview mode. It just hangs. Should I publish the survey for this type of script first? Please give me proper suggestions. I think there might be a bug in the system. Thank you.
Rajkumar Rimal


## Answer (score 0, by Stefano (OF) on 2023-08-15)

Link: https://openforis.support/questions/3743/open-foris-arena-and-arena-mobile-official-and-unofficial/3760

Dear Rajkumar,  
We will contact you to your private email address to better understand your issue.  
Many thanks,  
Open Foris Team


## Answer (score 0, by Rajkumar on 2023-08-17)

Link: https://openforis.support/questions/3743/open-foris-arena-and-arena-mobile-official-and-unofficial/3770

Dear OFT,

Thank you very much. Now it is working.
