Solved

Problem with CF_CT_DATE_INPUT tag in a Firefox form

Posted on 2006-11-08
2
462 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
ID: 17899191
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
ID: 17938372
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 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