April 03, 2006, 10:39 AM
MoogiHow to set the selected value property for dropdownlist in HTML layout painter
Hi,
I've a dropdownlist in my html page.
I need to set the selected value of the dropdownlist dynamically.
In the layout bar, for dropdownlist, i'm not finding any property to achieve this.
Please suggest me is there any way to set the selected value.
April 03, 2006, 11:06 AM
Kameshdocument.test.selLabel.options[0].value =
document.test.selLabel.options[document.test.selLabel.selectedIndex].value
Hope this helps,
April 07, 2006, 01:34 PM
KerryHi Moogi,
Has this issue been resolved on your site? Did Kamesh's suggestion help you?
I am not very sure regarding "set the selected value of the dropdown list dynamically", can you please provide a bit more contents on what you are trying to accomplish here?
I did some search on Information Builders' online documents and came across the following topics which may be of interest:
Summary: Data values with ampersands don't work with dynamic dropdown
http://techsupport.informationbuilders.com/known_problems/11952071.htmlSummary: Dynamic drop down box does not get populated
http://techsupport.informationbuilders.com/known_problems/61411053.htmlLayout:Populate dropdown box with data in descending order
http://techsupport.informationbuilders.com/sps/20242051.htmlDropdown box not dynamically populating from DEFINE field
http://techsupport.informationbuilders.com/sps/20252046.htmlResource Layout Dynamic dropdown not populated - security on
http://techsupport.informationbuilders.com/sps/92171082.htmlChaining dynamic dropdowns cannot be seen by some users
http://techsupport.informationbuilders.com/sps/92091068.htmlHere is a general guide for
Creating Dynamic or Static HTML Dropdown Lists for &Variables using -PROMPT-type input.
You will need an InfoResponse userid/password to access these documents.
Hope this helps.
Cheers,
Kerry