Skip to Content

Set defaultvalue in WAD template for a dropdown box

Hello all.

I am using a dropdown box in web template.

I want that the default value of the dropdown box is the first value of the query which provides data to it.

I can not set a defult value in the object definition, becuase it should change during lifetime.

¿Does anyone have an idea for this? my with javascript?

Best regards.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jun 20, 2005 at 06:30 PM

    ¿Nobody has an idea for this?

    I ahve tried with FILTER_VALUE_TYPE in the data provider but it does not works fine.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 21, 2005 at 07:02 AM


    the dropdown box will always show the actual filter state in your drop-Down box. In my opinion, it doesn't make sense to set the first value of the query, unless the query / Query view is already filtered.

    What exactly is your scenario?


    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.