I have a form where the default value for the email is "Your Email". Too many people are clicking it without putting in their email address. I am trying a form validation but it is not trigg...
ColdFusion version: CF9
I'm trying to reverse the order of the elements in an array (columns in a result set). I've tried:
<cfset columns = mtbf.getColumnNames()>
<cfscript>
createOb...
I need to be able to upload and rename a file one it's uploaded. I need to rename the entire file. This is what I have but I get a error. I have a form that browse for a word doc, excell or p...
We have an application that sets a variety of session variables when the user logs in. No code has changed in several weeks but suddenly the session variables are changing so that when user ...
Hi i have the following and i upload 10 files at time in a loop
in the middle of the code, i have the following:
<cfset show = #variables.filename#>
<cffile action="UPLOAD" ...
Here is my JVM Config file..
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=E...
Dear experts,
I have a code like this..
<cfoutput query="xyz">
<cfif>
do something....
<cfelse>
should come out of the cfoutput current iteration. And start a new iteration..
</cfif...
I'm trying to set up a drop down menu in this page to show email templates. With very little experience in css drop downs I'm kind of lost. below is the bare structure that I'm looking to put ...
I need my coldfusion page to show my groups properly, everything is showing in the database correctly.
Classes that have the same {MEETING_TIME_START} - {MEETING_TIME_END} and same {STND_M...
I have set up a link on a page that goes to an action page (this works) but from the action page when I use CFcontent I get the windows error "The website cannot display the page"
below is ...
I'm current running CF8 with the default MySQL Connector (mysql-connector-java-commercial-5.0.5-bin.jar)... but I'm having some problem after I upgraded to the latest version of MySQL 5.1.39.
...
Hello,
This question may be a bit beyond the scope of this site, but I figured I'd give it a shot. :) I am developing an e-commerce website for a business using mySQL and ColdFusion. The bu...
I have the following code which works fine but i am overrolling it that it resizes the image and it writes the watermark image over it. but it also resises the whole, like:
if the image siz...
Hi Experts,
I am looking for a SIMPLE way to embed text (e.g. from a form) WITHIN an image. The image would be some artwork including (say) "This belongs to" - and there would be a space wi...
Hi, I'm trying to display the time in a 24h format.
Currently my code is:
<cfoutput> #TimeFormat(DateAdd('h', 5, Now(),))#</cfoutput>
How would I modify this to be 24h?
Thanks
I have just set up an area that refreshes every minute and want to add a button beside it for the user to refresh the area. how could I do this?
It could be an action link like "click here ...
I have an Access database column in TEXT format with old dates. I want to convert the content (i.e. 20080401) to date/time format. This is not working for me.
Please help, thank you in adva...
I have a ColdFusion custom tag that will warn a user when a session is about to time out. It is primarily Javascript code and I have pasted it into the Code window below. I want to use it in a...
In Coldfusion, how does one remove all content betweeen all occuring opening and closing parentheses, including the parentheses? We can assume there are no parentheses nested inside other pare...
i was wondering how I could refresh only a section of a page without reloading the entire page.
hi all
firstly i dont use coldfusion but have inherited it so any answer could do to be simple.
im trying to store the session variables in a db because were moving over to clustered s...
Hi,
I'm still a little confused as to when I need to use CFQUERYPARAM.
In the exaple below is it safe to use "SET last_login = GETDATE()" without CFQUERYPARAM?
UPDATE members
SE...
I would like to have a form that allowed the end user to browse to a directory on their PC and then it would upload all images from that directory into an oracle database. Does anyone have an...
Can't Read Input From Select FormQuestion: I have a select statement. You can see the code below in the "code section."
The select statement has an ID and name of "agent".
I try to refere...
I'm trying to convert a date/time into an Epoch time. The steps I'm taking in the test example below are to first convert the current time to a UTC time. I then take the number of seconds fr...