Solved

Problem with CF_CT_DATE_INPUT tag in a Firefox form

Posted on 2006-11-08
2
468 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
.dwt files not viewable in browser - why? 2 143
SSL sertificate 5 83
Public IP Address Amazon Servers 2 68
Reverse Proxy problem 3 35
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
What You Need to Know when Searching for a Webhost Provider
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses

734 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