Hi,

I want to make a warning message based on a code field with multiple answers possible. I want to identify when "lane" is not included in the combination of answers (users can select multiple answers).

"!=" does not work.

Any other syntax I can try?

Thanks,

Floerence

asked 11 Nov '17, 09:39

flandsberg's gravatar image

flandsberg
10122979
accept rate: 0%


Hi Florence,
Since version 3.14 of Collect you have the possibility to use an XPath function for this, idm:contains(MULTIPLE_ATTRIBUTE_NAME, 'value'). It returns true when a specified 'value' is among the selected ones of a multiple attribute.
Thanks,
Open Foris Team

permanent link

answered 19 Nov '17, 18:48

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

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

Fantastic addition! As always, many thanks!

Florence

(20 Nov '17, 06:35) flandsberg flandsberg's gravatar image
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:

×494

question asked: 11 Nov '17, 09:39

question was seen: 2,021 times

last updated: 20 Nov '17, 06:35