Hello,

I would create in select list an empty value, and assign this value as
the default value for the xml data associated to the select list.
Another option is to assign a value of select list that is not an empty
value as default value.

The blank row that appears to you and then disappears I think is because
the value of the xml data associated to the select list is empty but it
isn't a empty value in select list.

Best Regards,
Javier

El 05/08/15 a las 20:17, Tim Thompson escribió:
> 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
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Xsltforms-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support

<<attachment: jdiaz.vcf>>

------------------------------------------------------------------------------
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to