[Xsltforms-support] Preserving blank row in select1 element
Brought to you by:
alain-couthures
From: Tim T. <tim...@gm...> - 2015-08-05 18:17:50
|
Hello, I have a form with dynamic select list and would like to always maintain a blank row at the top of the list (with @appearance="minimal" or @appearance=compact). Here's a working example: http://pulcams.github.io/subjects/ When a selection is made, the blank row disappears. I've also had trouble on other occasions when trying to control the display of a blank row in select lists in XSLTForms, especially in repeat structures. Sometimes the blank row is duplicated, for example. Does anyone have a good solution for this (using either XForms/XPath logic or external JavaScript)? Thanks in advance, Tim -- Tim A. Thompson Metadata Librarian (Spanish/Portuguese Specialty) Princeton University Library <ta...@pr...> |