Skip to Content
author's profile photo
Former Member

how to prevent empty selection in dropdown listbox

Is it possible to disable the possibility of selecting no value in the dropdown listbox, so that it is not possible for the user to select the empty line which always gets added to the list of choices? Ideally, this empty line would not be shown at all...

thanks,

chris

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Mar 31, 2004 at 12:48 PM

    Note: setting the "state" property to "required" does not help, as one would possibly expect...

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Apr 01, 2004 at 03:35 PM

    Hi Christoph,

    the selection behaviour is defined by the selection cardinality of the context node where the drop-down list gets its data (when using *ByIndex data binding).

    Use selection cardinality 1:1 instead of 0:1.

    Regards, Armin

    Message was edited by: Armin Reichert

    Add comment
    10|10000 characters needed characters exceeded