Focal Point
[Closed] HTML Multi-select Drop down No value selection

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3827059986

April 16, 2018, 09:05 AM
Chaudhary
[Closed] HTML Multi-select Drop down No value selection
Hi All,

I have a multi select drop down list in HTML and enabled Add to "All" option . when I deselect all the selected values it should automatic select the "All" but it does not select the "ALL"

This message has been edited. Last edited by: Chaudhary,


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
April 18, 2018, 11:03 AM
FP Mod Chuck
Chaudhary

Your observation is correct that ALL does not become the default if other values are de-selected in both 8.1.05 and 8.2.02. I think with a drop down list once you have made a selection you are required to go back and change it to ALL or it can't detect anything is selected. You might want to check with techsupport to see if there is a way around that.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
April 18, 2018, 12:12 PM
RyanIPG13
You could use JavaScript to determine if the SelectedIndex for the control is -1. If it is, then just select the "All" value.

Put it in the onChange eventHandler for the checkbox control.


Production: WebFOCUS 8.202M
QA: WebFOCUS 8.206.01
Windows/SQL
April 22, 2018, 03:04 PM
Chaudhary
Hi RyanIPG13,

Thanks,

I was trying to solve this with javascript, but in my 8202 this controls does not triggering any evrnt i. e value changes so i am unable to handle this by using Js.


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10