Dear OF Team,

will the default value be applied to an attribute that has a relevancy expression evaluated to FALSE? What I'm driving at is if I need to include the relevancy check to the default values's "Apply when" expression?

e.g.: subtype has relevancy check: type < 6 and default value apply when: type != 2, is that correct, or do I have to include the relevancy check as well type != 2 and type < 6?

Thanks for your help!

Andras

asked 28 Oct, 16:57

Andras's gravatar image

Andras
1408817
accept rate: 0%


Hi Andreas,
The default value is applied only when an attribute becomes relevant and its Expression is evaluated only at that moment, so the answer is: no, you don't need to specify that condition in the Apply when field.
Thanks,
Open Foris Support

permanent link

answered 30 Oct, 23:35

OF%20Collect's gravatar image

OF Collect ♦♦
2.0k5
accept rate: 19%

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:

×278

question asked: 28 Oct, 16:57

question was seen: 62 times

last updated: 30 Oct, 23:35