Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfinput type="datefield"

Status
Not open for further replies.

DiverMarv

Programmer
Jul 13, 2000
14
US
This is a very weird problem... I am trying to use the datefield with the included calendar control and when I have several calendar controls on a page and I click the calendar icon, the resulting calendar div is placed behind the other calendar controls. So you can't see the entire month, the other calendar controls show through. I'm sure there has to be some way to affect the z-index on the resulting script.

Thanks
Marvin
 
It's easy to recreate:

<cfform>
<cfinput type="datefield" name="date1"><br><br>
<cfinput type="datefield" name="date2"><br><br>
<cfinput type="datefield" name="date3"><br><br>
<cfinput type="datefield" name="date4"><br><br>
</cfform>

save that to a template, and then click on the first calendar icon.
 
Works fine in Firefox but doesn't in IE. There must be a bug, or at least a lack of a bug fix, in the JS that CF is producing. Looks like you would have to avoid putting the fields in overlapping positions. Or use different JS. These are the little issues that I wish Adobe would stay on top of better.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top