Solved

Problem with CF_CT_DATE_INPUT tag in a Firefox form

Posted on 2006-11-08
2
445 Views
Last Modified: 2013-12-24
I am using six CF_CT_DATE_INPUT tags in a cfform to call up a date calendar. It works fine in IE but not in Firefox, when you click to bring up the calendar in Firefox, it thinks that you are submitting the entire form and does not bring up the calendar.
You will find the form here.
http://www.expat-online.com/living/expat_events/submit_event.cfm?sponsorid=622

The code I am using for the calendar part is

<cfformitem type="html">
<strong>Date 1:</strong> <CF_CT_DATE_INPUT
        NAME="date1"
            value="#dateformat(getevent.date1,"mm/dd/yyyy")#" >
            <cfinput type="hidden" name="dateid" value="#OtherDates.DateID[1]#"/>
Date 2: <CF_CT_DATE_INPUT
        NAME="date2"
            value="#dateformat(getevent.date2,"mm/dd/yyyy")#" >
            <cfinput type="hidden" name="dateid" value="#OtherDates.DateID[2]#"/>
Date 3: <CF_CT_DATE_INPUT
        NAME="date3"
            value="#dateformat(getevent.date3,"mm/dd/yyyy")#" >      
            <input type="hidden" name="dateid" value="#OtherDates.DateID[3]#"/>
</cfformitem>      

Thanks

John

0
Comment
Question by:tubize
2 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 300 total points
Comment Utility
may not work in FF ...
the JS has this note...
<!--  TESTED USING MICROSOFT INTERNET EXPLORER, NOT TESTED WITH    -->
<!--  OTHER BROWSERS AS OF YET. -->


You could try the JS DHTML from

http://www.dynarch.com/projects/calendar/

open source and works in most all browsers... very nice features and simple to use.
0
 

Author Comment

by:tubize
Comment Utility
I would like to reopen this if I can. I use the CF tag on a lot of pages and it is really simple to set up. Can anyone tell me why it would work in IE and not in Firefox. It must be a small tweak that I need to do to get it to work.

Thanks

John
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

19 Experts available now in Live!

Get 1:1 Help Now