checkbox formula

已查看 7 次
跳至第一个未读帖子

yvenezia1

未读,
2020年6月11日 20:04:442020/6/11
收件人 orb...@googlegroups.com
I am writing a survey with very complex branching. I'm new to this
technology.
Could someone please explain how to use the formula field to show a text box
if *any* checkboxes have been selected? I've tried this (below) but the
result is if 1 is selected the text box shows. However, if 1 and 2 are both
selected the text field does not show. If you have reference material for
xpath form fields, I'd be forever grateful.

$question-1='1' or $question-1='2' or $question-1='3' or $question-1='4'

Thank you,
Yvonne

--
Sent from: http://discuss.orbeon.com/

Mani

未读,
2020年6月11日 22:21:412020/6/11
收件人 Orbeon Forms
Hi Yvonne, below xpath should work for your case.

count(xxf:split($question-1)) >= 1


回复全部
回复作者
转发
0 个新帖子