May 27, 2008, 08:17 AM
soujiCalender controll not displaying in html layout painter
Hi,
In my html layout painter iam using 2 calender controlls and one radio button.Initially the calender controlls are hidden.When i click the radio button the two calender controlls should be visible.But my problem here is its not displaying the calender image.only its displaying the textbox preior to the calender image.how can i get visible the calender image too.please help.
here i have written my sample code.
function showvisible(ctrl) {
document.getElementById("calendar1").style.visibility="visible";
document.getElementById("calendar2").style.visibility="visible";
}
And iam using the function showvisible() as onclick =showvisible(this) in radio button .
Please correct me if iam wrong.
Thanks in advance.
May 27, 2008, 09:12 AM
GinnyJakesSouji,
Please update your profile signature with your product suite, release, and platform so that we can better help you.
I had a problem when running 5.3.3 forms with calendar controls in 7.6.0. The page had to be converted and the controls put back on. This problem was fixed in 7.6.1 or 2, can't remember which right now.
So you can see how important it is for us to know what release you are running.
May 27, 2008, 12:54 PM
Fernandosouji,
try this:
// Show the calendar icons
images = document.getElementsByTagName("img");
numImages = images.length;
//Loop through all of the images and see if it is a dynCalendar
for (i=0;i<numImages;++i) {
if (images[i].src.indexOf("dynCalendar.gif") > 0) {
images[i].style.visibility = 'visible';
}
}
Fernando
May 28, 2008, 12:26 AM
soujiHi Ginny,
Iam ussing 7.1.4 version.