Solved

Datefield opens behind the box below it

Posted on 2012-03-30
1
299 Views
Last Modified: 2012-03-30
I have a cold fusion "datefield" like the one below. Right below it on the form I have another field... when the calendar icon is clicked for this field it opens "behind" the field below it so you cannot read the month.

Does anyone have a tip on how to make this open in front the other field? Maybe a div with a z index would work? Thanks.

   <cfinput type="datefield"
            name="mydatefield"
            value="#mydatefield#"
            message="Date field must be a valid date"
            required="no"
                  validate="date"
            validateAt="onSubmit"
            size="50"
            maxlength="10">
0
Comment
Question by:earwig75
1 Comment
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
Comment Utility
I think you answered your own question ;-) It's an IE bug and yes the standard fix is to tweak the z-index.  Example

http://www.experts-exchange.com/Software/Server_Software/Web_Servers/ColdFusion/Q_26381936.html
The solution is to sandwich your CFINPUT statement between
<div style="position:relative; z-index:1">
</div>

http://stackoverflow.com/a/556879
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/ColdFusion/Q_23699575.html
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now