NaN/NaN/NaN (Not a number) Flash forms type="DateField"
I have an application using Cold Fusion flash forms where the user selects the date with the flash calendar and the application stores the date in text format in the database. When I have to do date calculations I use the cdate() function to convert to date.
In one out of every few hundred transactions, the text field in the database is filled with NaN/NaN/NaN rather than the date. When the cdate() function finds this, I get the expected error (invalid date or time string) or (data type mismatch).
Has anyone else had this experience where randomly and rarely the datefield calendar outputs NaN/NaN/NaN to the text field in the database rather than the date? Any thoguhts or suggestions would be appreciated.
Thanks
Strange this doesn't happen to me, or everybody else, and that it is contrary to the Javadoc. Isn't it?
Perhaps what you really mean is that you get an NaN when you use the result in some way?
In a JavaSE , similar operation doesnt cause any problemsSo you aren't using JavaSE.
Perhaps it would have been useful for you to tell us what exactly you are using?
Similar Messages
-
Coldfusion does not recognize IE11 - Flash forms not working.
This is a problem that has me banging my head on my desk. We have a web application that still uses Flash based web forms. (Before anyone says it, I know we need to get away from the flash forms, but we cannot do this overnight.) The problem is that because IE11 no longer passes MSIE in the USER AGENT string, ColdFusion is placing an <Embed> tag instead of an <Object> tag to load the flash. I know that we could add our site to the Compatibility List, however we have too many users to guide this through. We need a solution that we can perform on our side, either modifying code, ColdFusion, or IIS. First has anyone else run into this problem? Does anyone have any potential solutions?
Thanks in advance for your help.We did find a stable work around that "tells" coldfusion to render flash forms for IE 10 even though the server call is coming from IE 11. I don't believe Adobe would necessarily want the method that we were forced to use advertised. It involved adding 10 lines of CF code to the top of each page that used flash forms. It was very unorthodox and we are simply using this to buy time to get our forms off the flash platform. I would be willing to email the solution to anyone interested.
-
cfselect not working with flash form
I have searched the forum and google to find a solution -
I've tried what's been suggested (ie - mappings of /CFIDE, adding
/CFIDE to the site root, etc.) nothing has worked. This is only
happening in my production boxes (two identical setups, running in
parallel) -
The form loads, but any options I define inside
<cfselect> will not show.. here's the basic code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<cfform name="theForm" format="Flash" width="300"
height="200" accessible="yes">
<cfselect label="Type: " name="feedbackType" width="200"
enabled="yes" required="yes">
<option value="">Select</option>
<option value="WEB">Our Website</option>
<option value="ACCOUNT">Your Account</option>
<option value="COMPLAINT">A Complaint</option>
<option value="GENERAL">General Comment</option>
<option value="OTHER">Other</option>
</cfselect>
</cfform>
</body>
</html>
Same code works on my localhost (development box) - so I'm
sure it's some setting I'm missing or messed up in the production
servers. I have checked the IIS settings as well as the mappings in
CF admin, both have /CFIDE defined. I've even added a mapping to
the /CFIDE within the site root.
I'm currently running CFMX 7.0.2 on Server 2003 with IIS 6
Please help!!More info...
When I call the page locally...
http://flush/testFlash.cfm
the form works perfectly.
but when I call the page using the domain...
http://www.mydomain.com/testFlash.cfm
the <cfselect> will not work. -
I have just about given up on flash forms. I have read just
about every thread in this Forum, but cannot find the answer.
Have worked with flash forms in the past, but after recently
upgraded to a new box with Vista Business and Codl Fusion 8 Dev
Edition I cannot get flash forms working. I have have seen a tonne
of postings with the same issue, but few with a resolution, and
where there is I try it and makes no difference.
If I run the following code:
<cfform format="flash">
<cfinput type="dateField" name="startDate" label="Start
Date:" mask="dd/mm/yyyy">
</cfform>
If I remove format="flash" form works fine. If I include
format="flash" form doesn't display. View source shows the code
there, CFIDE is mapping correctly etc.
One thing I do notice though, which may or may not be
involved is that when viewing the code generated, it is looking in
the same folder that the script that includes the form was in. Do I
need to tell it to look somewhere else? Pure speculation here, but
EVERYTHING else checks out.
If someone at Adobe can set this straight would be great,
because an afternoon spent reading other postings on this matter
shows there are clearly a lot of people stumbling around in the
dark on this one.
Thanks in advance to anyone that can help.Michael --
Thanks for your help.
I think I've narrowed the problem down -- it's not that it
won't display my flash form in IE, it's that it won't display it in
a Fusebox environment. I'm going to poke over at their site to see
what they have to say -- I suspect I'll need to upgrade the version
of Fusebox that I'm using. :) -
Passing value from child to parent (flash form)
Dear all,
I have 2 pages (both flash form): First.cfm (parent) and
Second.cfm (child).
In First.cfm, I have a textbox and a button. Once I click the
button it will load the Second page.
In Second.cfm, I have a button. Both pages are still active.
Now the question is .. when I click the button on the Second
page, how to pass the value back to the First page and assign it to
my textbox in my First page? I want the value to be displayed in my
textbox without reloading the First page.
Any suggestions and examples?
This codes do not work in Flash Form. But if I use HTML with
a bit of modification then it works. How to make it work in Flash?
++++++++++++++++
this is first.cfm
++++++++++++++++
<cfoutput>
<cfform format="flash" name="myform">
<cfinput type="text" name="txtCustomerID" width="100"
label="Customer ID">
<cfinput type="button" name="btnGetCustomer" value="Get
Customer" onclick="getURL('second.cfm','_blank')">
</cfform>
</cfoutput>
++++++++++++++++
this is second.cfm
++++++++++++++++
<cfform format="flash">
<cfformitem type="script">
function buttonclick():Void {
getURL('javascript:window.opener.document.forms["myform"].elements["txtCustomerID"].value
= "XXX";');
</cfformitem>
<cfinput name="btnClick" type="button" value="xx"
onclick="buttonclick()">
</cfform>
Thanks in advance
KeikoYou address the parent from the child using:
this._parent.sMyVariableName = "whatever";
Remove '_spamkiller_' to mail -
I have a site that is put together with cfmodule templates
for the header and footer, with integration with a content
management system that I built myself. I am trying to embed a
ColdFusion form with type="Flash" on the body of the page but it is
not compiling to Flash. If I remove it and go with a standard
cfform it works fine - but then I had to redo my cfformgroup tags
etc. I designed the form outside of the page -- and it generates
just fine.
Obviously there is some limitation to how and when a cfform
with type="Flash" will generate, when the page has cfmodules or
cfincludes. Is there any guideline I can use to determine when not
to try Flash Forms ? I do not want to spend the time on complex
form, only to discover I have to change it back to a standard
cfform. Any information on when a page can and cannot generate a
flash form would be appreciated - as many sites these days are
getting pretty complex with included content etc. Thank you.Hi Mow,
Yes, you cannot call javascript directly when you use
<cfform format="flash">. All methods (onClick, onBlur etc)
will call ActionScript, not JavaScript anymore.
This is not a perfect example, but you can get the picture.
You can copy and paste the code below into one cfm file.
<cfform>
<script language="javascript1.2">
function popup1() {
window.open ('
http://www.google.com');
</script>
<cfinput type="button" name="btnClick" value="Click"
onclick="popup1()">
</cfform>
<cfform format="flash">
<cfformitem type="script">
function popup2() {
getURL("javascript:window.open ('
http://www.google.com')");
</cfformitem>
<cfinput type="button" name="btnClick" value="Click"
onclick="popup2()">
</cfform>
Hope it helps
Keiko -
Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API. This is a serious error and contributes to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
This console log is a note to the developers of whatever application you are using. You can safely ignore it.
-
Flash forms -- Not displaying in IE
This is my first foray into flash forms, and I discovered
yesterday that while they look/work beautifully in Firefox
(2.0.0.4), they're not displaying at all in IE (6 or 7).
I'm using it to force the user to input their date in a
uniform format, so I'm sure there's a non-flash workaround. I'd
like to get this sorted out though, so my future work with flash
can be more involved.
Code is attached. Please let me know if I can provide further
clarification.Michael --
Thanks for your help.
I think I've narrowed the problem down -- it's not that it
won't display my flash form in IE, it's that it won't display it in
a Fusebox environment. I'm going to poke over at their site to see
what they have to say -- I suspect I'll need to upgrade the version
of Fusebox that I'm using. :) -
Acrobat X Pro has a flawed serial number application form at the point where it asks for your State, the first time. I will not allow me
to complete the form and receive my Serial Number.@I purchased it from my University bookstore and the attending clerk was no better informed than was I.
The form is required to be infilled in order to receive the serial number necessary for installation of the software
After five hours of trying, I was able to overcome the flaw in the form, as it appeared on the Acrobat website, and
complete the two pull-down menus indicating the State in which I live.
I called Adobe Customer Care for assistance and had to wait two hours for a return call, and by the time the
call came though I had found that the website form allowed me to pull-down for the State of location.
Adobe is an uncaring vendor, once it has your money in hand. -
Flash Forms do not work in Production
My question is simple. I am unable to find server
requirements for Flash forms anywhere on Adobe's website. It claims
you can find more in the other technical documentation but I
couldn't. What technologies need to be installed in order to
utilize flash forms SERVER-WISE?
I have a production server, a pre-production server (running
full cfmx7), and a development server. The application works on the
test machine, and on pre-production. The flash form simply does not
render and no errors are displayed.
If I convert it to a normal cfform it displays fine on the
troubled machine. It will not display even the most simple of flash
forms.
Thanks for any help!Did you make sure that you have a virtual directory mapped to
the CFIDE directory in IIS on your production server?
Ron -
Flash Forms Not Rendering in IE7, Flash 9
We're having a problem with flash forms in IE7 and Flash
Player 9 not rendering the entire form. The form works fine in
Firefox 2. It looks to be a problem with how the Flash player is
able to pull back data in IE7. Likely this pertains to how IE7
handles security of plug-ins.
Oddly, we've noticed that uninstalling the Flash 9 player and
then reinstalling results in the form rendering correctly the first
time, but on subsequent views the form no longer renders correctly.
Specifically, we're not seeing data that is being called via
Flash remoting in cfselect tags (state and country information).
And we're not seeing text rendered that is in cfformitem tags. Our
dev url is:
http://hopeequity.beaconfire.com/loggedout/index.cfm?event=StartInvesting_StartAGroupStep1
If anyone has an idea of why IE7 might not be able to render
the form correctly, or might have security-related issues with
remoting and Flash 9, please reply.I was granted access to the manuals on our prod server (the
site is set up where you have to log in to see the manuals). The
manuals are behaving differently on the prod server than in our dev
server. The following is happening on the prod server:
- the flash menus are appearing on our prod server in FireFox
only.
- I had reported in our dev area that when I right clicked on
the left hand side where the menus are to appear in IE that the
Flash menu displayed. This is not the case in our production area.
- I get the "This page contains both secure and nonsecure
items" when viewing the site on our prod server through IE
I've asked them what version of RoboHelp they are using and
no one seems to know. It seems they don't regenerate their help
files (manuals) very often. -
Just upgraded from CF MX 6 to MX 7. Trying out flash forms,
but they are not working.
I tried out a simple First Name, Last name, Submit form
setting the form to flash. When viewing the page in Safari, Firefox
on a Mac and IE in Windows the page is blank. If I set take out the
flash tag and just leave it as a CFForm it shows perfectly in all
browsers. All browsers are able to view flash and shockwave files.
Not sure what is going on.
Any ideas?
Thanks.I am having the exact same issue. I have tried tutorial code
from several sites. I have added a name to my form. I checked to
make sure my CFIDE directory is mapped in my CFADMIN. I don't know
what else to try. Right now I have the exact same code for testing
as mishuno has. If i remove the type attribute I see a form. If I
add back in "format="flash"" I don;t see anything on the screen but
I do see flash code in the page source. HELP!!!!
<CFFORM width="500" name="testForm">
<cfinput type="text" name= "firstname" label="First
Name">
<cfinput type="text" name="lastname" label="Last Name">
<cfinput type="submit" name="submit" value="save">
</CFFORM>
I think I found the issue just now but I am not sure how to
change it. Although I have a CFIDE mapping ( /CFIDE set to:
C:\Inetpub\wwwroot\CFIDE ) set up in my CFadmin, my application.log
is showing the following error:
quote:
File not found: /CFIDE/scripts/cfformhistory.cfm The specific
sequence of files included or processed is:
C:\Data\users\dev.myservername.com\CFIDE\scripts\cfformhistory.cfm
So the flash is looking in the wrong place for the form
related files (which are in my CFIDE folder in the correct
location)
Anybody know what I need to change on my server??
-Phil -
RE: Flash forms not rendering
Anyone find a solution from Adobe regarding the MS Server
2003 problem with
flash forms? Its dead on our site after the upgrade and the
fixes did not
work for us.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=143&threadid= 1171893&highlight_key=y&keyword1=flash%20forms>bits that aren't green, they are yellow
You might read http://blogs.adobe.com/premiereprotraining/2011/02/red-yellow-and-green-render-bars.html for more information -
IPHONE 5 not stolen number 01**************0 bought phone but I don't know ID and the password of the former owner I can't find what to do
<Personal Information Edited by Host>Use it as a paperweight, as there is no way around Activation Lock, & Apple will not help you.
-
Hello, all.
The issues are just appearing out of the woodworks, now.
The project I am working on (
http://www.goldininstitute.org/staging_directory/)
now has yet another issue - in IE6, the flash form does not load at
all. It's supposed to be in the lower left corner - a login form,
just username and password with a submit button - and works great
in FF/NN/Op, but does not appear at all in IE6. Is this another
security issue for IE? Form code follows:
[code]
<tr>
<td style="width:249px; height:202px;
background-color:##E6E5D3; vertical-align:top; text-align:center;
color:##000000; font-size:11px; font-family:Arial;
font-weight:normal; padding:0px; border-bottom:1px solid
##666666;">
<img src="images/goldinFlash2.gif" alt="The Goldin
Institute Online" name="TGI_logo" width="240" height="50"
vspace="0" hspace="5" border="0" align="left" /><img
src="images/spacer.gif" alt="" name="spacer" width="1" height="1"
vspace="0" hspace="0" border="0" />
<cfif isDefined("session.firstName") AND
len(trim(session.firstName)) gt 0>
<table style="width:100%; height:151px;" border="0"
cellpadding="0" cellspacing="0" hspace="0" vspace="0">
<tr>
<td style="text-align:left; vertical-align:top;
padding:5px; font-size:12px; font-weight:bold;">Hello,
#trim(session.firstName)# #trim(session.lastName)#<cfif
len(trim(session.suffix))>#replace(trim(session.suffix),".","","all")#</cfif>.</td>
</tr>
<tr>
<td style="text-align:left; vertical-align:top;
padding:5px; font-size:12px; font-weight:bold;">To log out,
click <a href="#request.localhost#logout.cfml"
style="color:blue;">here</a>.</td>
</tr>
</table>
<cfelse>
<cfform
action="#request.localhostsecure#loginaction.cfml" method="post"
name="myInstituteLogin" id="myInstituteLogin" enablecab="yes"
preservedata="yes"
format="Flash" wmode="opaque" timeout="1000" width="100%"
height="127" skin="haloOrange" style="background-color:##E6E5D3;
color:##000000;">
<cfformgroup type="horizontal">
<cfformitem type="spacer" enabled="yes" visible="yes"
width="1" /><cfinput type="text" tabindex="1" name="username"
id="username" maxlength="20" enabled="yes" visible="yes"
height="20" width="125" style="#formStyle#" required="yes"
message="Please enter your Username"
value="#trim(session.username)#" label="Username" />
</cfformgroup>
<cfformgroup type="horizontal">
<cfformitem type="spacer" enabled="yes" visible="yes"
width="7" /><cfinput type="password" tabindex="2"
name="dpassword" id="dpassword" maxlength="20" enabled="yes"
visible="yes" height="20" width="125" style="#formStyle#"
required="yes" message="Please enter your Password" value=""
label="Password" />
</cfformgroup>
<cfformgroup type="horizontal">
<cfformitem type="spacer" enabled="yes" visible="yes"
width="70" /><cfinput type="submit" tabindex="3"
name="submit" id="submit" enabled="yes" visible="yes"
style="#formStyle#" value="Login" label="Login" /><cfinput
type="reset" tabindex="4" name="reset" id="reset" enabled="yes"
visible="yes" style="#formStyle#" value="Reset" label="Reset" />
</cfformgroup>
</cfform><cfif NOT
isDefined("session.siteAccessLevel")>Forgot your
password? Click <a href="javascript:void(0);"
style="color:blue; text-decoration:underline;"
onfocus="this.blur();"
onclick="showIt('#request.localhostsecure#forgotpw.cfm','forgotPassword',50,50,330,600,0) ;">here</a><font
style="font-size:8px;"><br
/> </font><cfelse> </cfif>
</cfif>
</td>
</tr>
[/code]
Thanks,
^_^> "Your current security settings prohibit running
> ActiveX controls on this page. As a result the page may
not display
> correctly."
This would only be in local preview, right?
http://www.projectseven.com/support/answers.asp?id=153
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"DreamWeevil" <[email protected]> wrote in
message
news:fq34rf$4g5$[email protected]..
>I have a flash video embedded in my page that plays fine
in FF and IE7,
>however
> when loading the page in IE6 the video is absent (the
"red x" is in its
> place)
> and I receive the message "Your current security
settings prohibit running
> ActiveX controls on this page. As a result the page may
not display
> correctly."
>
> Now, this happens in IE6 only on the default security
settings. I have
> other
> sites that embed flash video and play fine in IE6
without warning...they
> weren't created with Dreamweaver CS3 though.
>
> What is triggering this in IE 6 and can I remove some
code from my page to
> prevent this?
>
> Thanks for any help to what is probably a noobish
question.
>
Maybe you are looking for
-
Hi, I have a couple of questions. 1. I see there are a few fields missing on the line item level on FB60. It's not the case for development or testing environment. But in Production it's happening. Does anyone know how to get these fields back? 2. Is
-
Keeps asking for voicemail password
After installing iOS7 for iPhone 5, the system shows a screen that says voicemail password is incorrect. It appears for any function I try to do. How do I get rid of this annoying screen?
-
Play movies on TV with iPad?
How can I play movies from iPad to TV
-
Link between Manual Bank Statement and Cash Mgt
HI Bank experts, What is the link between the MBS and Cash Mgt (Cash Liquidity Position) and How can I differentiate these two Venkat
-
Configuration to output English, Chinese, Thai and Korean in 4.6C
Hi experts, May I know what are the setups required to allow the following languages to work on 4.6C - English, Chinese,Korean and Thai? We can't move to Unicode at the moment and currently we are using the Blended codepage 6200 which only su