---
title: "Required in specific cases"
url: "https://openforis.support/questions/4562/required-in-specific-cases"
tags: ["arena"]
status: "accepted"
score: 0
answer_count: 4
asked: "2026-10-12T10:03:07"
last_activity: "2026-10-21T09:42:14"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Required in specific cases

Asked by Fehrmann on 2026-10-12

Dear support,
I have a problem to find the right way to make a variable required and mandatory in specific cases. It is about height measurements on trees and these should be mandatory if the tree status is >2. In all other cases tree height can be measured, but is not mandatory. I tried several validations and "Relevant if", but this does not solve my problem. I want this height entry to be mandatory and/or get an error message if the field is empty in specific cases.
Thank you,
Lutz


## Accepted answer (score 2, by Stefano (OF) on 2026-10-12)

Link: https://openforis.support/questions/4562/required-in-specific-cases/4563

Dear Lutz,  
Thanks for reaching out! We are currently developing a feature that makes attributes conditionally required (e.g., mandatory only when tree status > 2). This will be available in Arena and Arena Mobile in November.  
As a temporary workaround, you can:  

 - Create two height attributes (one required, one optional) and use "Relevant if" conditions (tree status > 2 and tree status <= 2) to display the appropriate field. 
 - Create a hidden, read-only attribute to combine the two height fields so you have a single variable for analysis.  

While this adds extra fields to your survey structure, it will get the job done until November. We'll update you here as soon as the new feature is released!   
Many thanks,  
The Open Foris Team


## Answer (score 1, by Stefano (OF) on 2026-10-21)

Link: https://openforis.support/questions/4562/required-in-specific-cases/4581

Dear Lutz,  
The new feature, conditionally required attribute, is available in the latest version of Arena and Arena Mobile.  
![alt text][1]
By default, attributes are not required.  
Attributes that were marked in the previous version of Arena as "Required" will be considered as always required.  
Many thanks,  
The Open Foris Team


  [1]: https://openforis.support/upfiles/Screenshot_From_2026-10-21_09-01-13.png


## Answer (score 0, by Fehrmann on 2026-10-12)

Link: https://openforis.support/questions/4562/required-in-specific-cases/4564

Thank you so much for fast help, this solved my problem!


## Answer (score 0, by Fehrmann on 2026-10-21)

Link: https://openforis.support/questions/4562/required-in-specific-cases/4582

Thank you so much, I think this is a very meaningful extension and probably also useful for many others!
Lutz
