Hello OF Team!

I am working with hierarchical code lists. My level 1 code is "Forest" and level 2 is "Unit". Not all Forests have multiple Units. When the user selects a Forest that only has a single Unit within it, I would like the value for Unit to automatically populate with the only option within the selected Forest. Is this possible?

Thank you!

Bryant

asked 18 Jan '23, 17:01

bryant's gravatar image

bryant
134
accept rate: 0%

edited 18 Jan '23, 17:03


Dear Bryant,
Now it's not possible to do this kind of automatic selection.
If the code list items with only one level are not so many, you can try to define a default value for the unit attribute using several "Apply if" condition, so if the condition matches one of the items with only one level, then a value will be applied.
Let us know if this helps you, many thanks.
Open Foris Team

permanent link

answered 18 Jan '23, 21:17

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.7k19
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×493
×170

question asked: 18 Jan '23, 17:01

question was seen: 477 times

last updated: 18 Jan '23, 21:17