Default value and relevancy

  • Asked
  • Active
  • Viewed 2404 times
0

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

1

Accepted answer

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

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.