Solved

Problem with CF_CT_DATE_INPUT tag in a Firefox form

Posted on 2006-11-08
2
451 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

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…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

22 Experts available now in Live!

Get 1:1 Help Now