W3C home > Mailing lists > Public > public-xformsusers@w3.org > August 2018

Re: Collapsing sections

From: Alain Couthures <alain.couthures@agencexml.com>
Date: Sat, 25 Aug 2018 11:53:21 +0200
To: Steven Pemberton <steven.pemberton@cwi.nl>, XForms <public-xformsusers@w3.org>, 'Owen Ambur' <Owen.Ambur@verizon.net>
Message-ID: <d7444c5d-2757-9734-a845-c52a12afe821@agencexml.com>
Hello Steven,

While working on converting XLSForm format for ODK 
(http://xlsform.org/en/) into standard XForms 
(https://sourceforge.net/p/xsltforms/discussion/878084/thread/4cfdf7f0/), 
I discovered that collapsing groups sound to be the default behavior for 
ODK 
(https://odk.enke.to/preview?form=https://xlsform.opendatakit.org/downloads/vr4_x7bd/grid.xml).

I think that it would be nicer (and more declarative) to specify this in 
XForms just as a possible appearance for groups.

Using switch/case or relevance is surely a good "workaround" with XForms 
1.1. Because of the id problem with case, when multiple groups have to 
be treated, different ids have to be provided while the very same 
pattern is to be applied: this is not very "friendly" for authors (or 
for my XLSForm converter...).

BTW, I prefer when the group label is, instead, duplicated in both 
triggers so the collapsing symbol is preceding the label on the very 
same line and clicking on the label has the same effect as clicking on 
the symbol.

What do you think?

Alain

Le 22/08/2018 à 13:15, Steven Pemberton a écrit :
> Someone asked me about doing collapsing sections in XForms, so I wrote 
> an article:
>
> https://homepages.cwi.nl/~steven/xforms/techniques/collapsing.html
>
> Comments gratefully received.
>
> Steven
>
>
Received on Saturday, 25 August 2018 09:53:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:50 UTC