Search code examples
xformsxsltforms

No empty value in XSLTForms/XForms Select1 (drop list mode) control


I'm new with XForms and I'm wondering how to specify a Select1 control has no blank option, so I need to take one of the values in the list, but never a blank option, because the behaviour of some controls depends of that value.

enter image description here

I was reading the spec, but I coudn't find the way to do it. Thanks in advance


Solution

  • XSLTForms is using HTML4 select element for rendering XForms select1 control.

    When no option is selected yet, I am afraid this the only way with just HTML4.

    --Alain