Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.