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, 09:39

flandsberg's gravatar image

flandsberg
3114
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, 18:48

OF%20Collect's gravatar image

OF Collect ♦♦
1.2k4
accept rate: 15%

Fantastic addition! As always, many thanks!

Florence

(20 Nov, 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:

×198

question asked: 11 Nov, 09:39

question was seen: 30 times

last updated: 20 Nov, 06:35