Focal Point
[Closed]Javascript and HTML composer

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

September 18, 2014, 06:21 AM
Dgraff
[Closed]Javascript and HTML composer
Maybe I'm going brain dead but I can't seem to find the js to do this. So if someone can lead me down the right path it will be appreciated. I have a HTML launch page with a radio button 2 choices Weekly or Monthly. Default is Weekly. If Weekly is selected I need to collect week ending date, previous weekending date, and report month. If monthly is selected I want to disable and grey/blur the weekending dates.

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


Duane

WebFOCUS 8.0.7
DS 8.0.7 AS 8.0.7
Windows
Output: Excel, HTML, PDF, AHTML,Mobile
In Focus 1982
September 23, 2014, 11:58 AM
DGraff1
Have this working:
function radio1_onclick(ctrl) {
if(document.getElementById("radio1_1").checked)
{
document.getElementById("combobox3").disabled=true
document.getElementById("combobox1").disabled=true
}
else
{
document.getElementById("combobox3").disabled=false
document.getElementById("combobox1").disabled=false
}
}


WF Rel 8.07
os/Windows
HTML EXCEL PDF