750 Topics

Member Avatar for
Member Avatar for tapuwa2002

I have a form field that should contain a number only. How can validate so that is doesn't take letters. For example I dont want it s accept aydhasdsiFGGS when I submit the form. <CFIF (find([A-Z],Telephone)) gte "1"> <CFLOCATION URL="error.cfm?PassedError=Possible%Spam."> <CFABORT> </CFIF> Please help

Member Avatar for arrgh
0
112
Member Avatar for PhilEaton

Hi, I am used to HTML. What is Coldfusion? Why do people use it? What are the circumstances you would use it. Does it require proprietary software? What are the advantages and disadvantages to using it over HTML? Is it compatible with CSS,Javascript, PHP, and MySQL? What are personal opinions …

Member Avatar for arrgh
0
2K
Member Avatar for tapuwa2002

Hi Guys I have a number and I only want to display the first 3 digits could you please help. Thanks <cfset mytour=885879><cfoutput>#Left(#mytour#, 3)#</cfoutput> How can I make the result into a global variable to use later. Forgive me am a noob to coldfusion

Member Avatar for arrgh
0
127
Member Avatar for azgold

Having a issue with coldfusion. I just need a simple way to see if a date has passed and if so to update a field in a database. basically I have events showing on a page but want to remove the event automactically when it is over. Thanks for the …

Member Avatar for Member #972282
0
141
Member Avatar for tapuwa2002

Hi Please could you assist I have made a validaion. But when the correct field is not entered properly. Validation works but the javascript pop does show please see code below. <CFIF email IS (find("@",address)) neq 1> <CFLOCATION URL="error.cfm?PassedError=Please%20Supply us email address."> <CFABORT> <script type="text/javascript"> alert('Please Check Your Email'); </script> …

Member Avatar for arrgh
0
299
Member Avatar for Decamm

Hi there, here i post new article because need to improve my upload function. What i want is to make my selecting item for uploading file to be multiple select, only by pressing "ctrl" button, like yahoo mail does. Here I create a code for upload file but the problem …

Member Avatar for arrgh
0
234
Member Avatar for teedoff

Im trying to figure out the best wasy to loop over an array, but limit one loop to the first five positions. Then in a separate loop display the rest of the array. I am limited to what I can use. Meaning we code everything within cfscript tags in our …

Member Avatar for arrgh
0
139
Member Avatar for raul prakash

I have a 64bit server with the Coldfusion 9.0.2 with IIS, our latest server scan for PCI compliance returned the following error as "urgent" Unify eWave ServletExec 3.0C UploadServlet Unprivileged File Upload Is this part of Coldfusion? or IIs. is it safe to remove it? how do i remove it?

Member Avatar for arrgh
0
81
Member Avatar for dipakatcvrca

Hi All, I have got a problem with ColdFusion 9 cfmail tag. My client recently complained that, while he sends a huge amount of mails simultaneously, some of the mails are not getting delivered, though it shows like it has been successfully delivered in the mail log. We have increased …

0
87
Member Avatar for raul prakash

Is there any way to customise the error message returned by the coldfusion webserver?

0
75
Member Avatar for teedoff

I have two inputs for users to enter, what should always be a nueric string. This string gets processed and some mathmatical cals done to them, then the results are returned to the same page via cf div and bind attribute. Everything works if only numbers are entered. I have …

Member Avatar for arrgh
0
510
Member Avatar for ozbulldog

I have a problem with my site regularly exceeding Max User Connections. The limit from my hosting provider is 10 and I am regularly exceeding this amount for 1 database user. I'm unsure if this is due to a Coding Error / stuck or errored cfthread / malicious attack / …

Member Avatar for utdream
0
190
Member Avatar for danarashad

Is anyone running Coldfusion on a virtual server. If so, are their any problems with running CF on a virtual server? Thanks

Member Avatar for utdream
0
105
Member Avatar for GeekTool

Hello all you guys, First of all, i am done with Html and CSS as i said in the article title. Now i want to learn a language like PHP, Coldfusion, .Net etc. to make dynamic web sites. According to what i have heard from my friends, php is the …

Member Avatar for veedeoo
0
197
Member Avatar for mmonclair

I'm stumped on a query filter I'm trying to put together. Here's what I need it to do: 1. Run a query that populates a table with order information to be gathered for regular invoices. 2. A user can filter date ranges, location, client and payment status. The options in …

Member Avatar for mmonclair
0
276
Member Avatar for kanhucharan

I have created one search functionality using cfcollection, cfindex and cfsearch. Here the data are retrived from three tables. But when I perform any search operation then only it able to search those data that are in last table only. Please put forward your suggestion.

Member Avatar for fobos
0
43
Member Avatar for xpstyle36

Hey guys, My name is Dane and I am an 18 year old I.T Apprentice based in Blackpool. Our I.T manager has gone on holiday and I have had a call giving a deadline on getting a form on our intranet working, I look and it is all ColdFusion! I …

Member Avatar for xpstyle36
0
1K
Member Avatar for emaleroland

I was asked to look at some code written in ColdFusion which I've had very little exposure to and haven't seen since the 90s and some of it is not clear and I'm sure it's basic. I got past one error because of a typo in a variable name. Now, …

Member Avatar for arrgh
0
286
Member Avatar for ziggydog

Hi there everybody I am having problems with pagination using cfloop and the grouping of cfoutput in nested cfoutput tags. The code below lists my results eg: producer query results producer query results producer query results etc what i require is eg producer 1 query results 1 query results 2 …

Member Avatar for arrgh
0
155
Member Avatar for lgriess

I've seen other old old posts from 5 years ago asking why you would want to use cold fusion and no one came up with a proper answer as to why to use it over a more popular language platform like PHP or .Net. I'm against Cold Fusion, I've seen …

Member Avatar for arrgh
-1
277
Member Avatar for grabit

Hi CF people and a prosperous New Year to you all I have the following query on an action page: <cfquery name="getimage" datasource ="#dsn#"> SELECT ID, partImage, ImageAlt FROM engReconParts WHERE ID=#form.ID# </cfquery> when i run this page i get this error - Element ID is undefined in FORM. I …

Member Avatar for arrgh
0
122
Member Avatar for SusanHAllen

I am finding an extraneous  in a very simple cfm page. It does have a cfinclude of straight text named as a .cfm template. This character shows up with or without the cfinclude -- I add the cfinclude content into the main page and the character is still there. …

Member Avatar for arrgh
0
167
Member Avatar for mmonclair

Hi all, I have another CFHTTP question. I am on another project where I have one sign-in form, but depending on the user's prior activity, or lack thereof, I have three places I can direct them. 1. If they are a returning user, they go to the main target, an …

Member Avatar for arrgh
0
8K
Member Avatar for webmedia

My sms gateway save message data in log(MSSQL) in Hex code, like this: 0046003A0062006F006B0040007700650062006D0065006400690061002E0070006C These are Unicode message (16 bits per characters) Each 4 characters is AsciiHex representation of a character (in hex): For example: “0046” = 46hex = ‘F’ “003A” = 3Ahex = ‘:’ how can I convert this …

Member Avatar for webmedia
0
738
Member Avatar for lafalot

Hi, Sadly, I use MS Access as the backend db for our Coldfusion website. Every once in awhile, I receive the following error: "Error Executing Database Query. Operation must use an updateable query" This is in reference to an insert query that I have running. This query works most of …

Member Avatar for arrgh
0
104
Member Avatar for Nisha1705

Hi, Am doin ma final project usin asp.net which is website for hospital. What i want is when a user tries to create an account with the same name an error msg shud display. When i execute the code it says violation of primary key. I don wan t't to …

Member Avatar for arrgh
0
86
Member Avatar for teedoff

ok I've tried to work through this myself for several days, but there's something I'm missing. Either my queries are wrong, or my functions are wrong. I'm using Ben Fortas CF AJAX dynamic select drop downs tutorial and everything is working with no errors, but I'm not getting the desired …

Member Avatar for arrgh
0
507
Member Avatar for alinbabba

Hello everybody, I would like to start learning ColdFusion language and it is very hard to find a “teacher”. Let me explain: I have very little experience with HTML and CSS and … that’s about it. I am surprise how hard is to find literature necessary to learn ColdFusion (for …

Member Avatar for subrata_ushasi
0
758
Member Avatar for nakresimin

hi in the flex code i found this [ICODE]talkState = talkNotInit; bantimesePopup(); [/ICODE] in that pop up there is a link where user needs to click to go to it but instead of giving a popup only i would actually like to show the popup and redirect the user to …

0
82
Member Avatar for mmonclair

Hello all, I have a challenge. Here's the scenario: There are two sites. One has an activity and post-tests for some of those activities, and one has post-tests for the rest of them. They are two businesses, and for security purposes, neither allows direct queries of the other's backend from …

Member Avatar for mmonclair
0
4K
Member Avatar for SBA-CDeCinko

I have a .Net web service which appears to be working fine. I generates a WSDL and I can sucessfully test it locally. I am using the basic code below in CF to consume the service: [CODE]<cfinvoke method="getBannerViews" returnvariable="getBannerViews" webservice="http://www.xzxxxxxxxxx.org/ws/bannerAdViews.asmx?WSDL" refreshwsdl="true">[/CODE] Problem is, I am getting this very long error …

0
81
Member Avatar for mijorog

I can create the CFCHART just fine and also save it to a folder on my server just fine. But when I try to merge it into pdf I get An error occurred during the MERGE operation in the cfpdf tag. Error: Invalid Document C:/inetpub/wwwroot/Clients/visionmanagementservices.net/tempgraphs4/charts.jpg specified for source or directory. …

Member Avatar for mijorog
0
305
Member Avatar for Cheesecake87

Anyone tell me why this Coldfusion code aint working ? I built the system on the Coldfusion 9 developer server locally then uploaded it to a Coldfusion 8 hosted server and I get this strange error. Error can be seen here: http://75.126.153.165/$sitepreview/ka-radio.co.uk Code where error is highlighed can be seen …

Member Avatar for arrgh
0
197
Member Avatar for mijorog

In my database I have a datediscontinued. When someone runs a a report they select a start date (FORM.StartDate) and an end date (FORM.EndDate). I need to find the records where date discontinued is between the start and end date. If the start date is NEQ to the end date …

Member Avatar for arrgh
0
178
Member Avatar for geraldselectric

Can someone please look at my code and tell me where I am going wrong. I need to compare 2 tables and need to sum up to columns (temp.quantity) and cart1 (quantityout). Both tables have a common column called barcode. The code works when the temp table does not have …

Member Avatar for arrgh
0
94
Member Avatar for Sam367

Hello everybody! I'm thinking about creating a website using either of these listed different languages such as PHP, ASP.NET, JSP, RUBY(i don't know this one), COLDFUSION(same with ruby), etc. I created a personal website of my own as part of my college project last 2 years using Dreamweaver. I only …

Member Avatar for Sam367
0
199
Member Avatar for jayst19143

I am trying to Bind the value of Qty and Price to the Linetotal field but I'm get an error [I]window:global: uncaught exception: [Exception... "'SyntaxError: parseJSON' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/net/spy.js :: callPageHandler :: line 807" data: no] (, line 0)[/I] I'm calling …

Member Avatar for jayst19143
0
350
Member Avatar for nameunknown

Hi everyone, we have constructed a content management system that gets updated quite frequently and is used by many clients for their day to day opperations for their websites. We have decided to build a section of the CMS with additional modules that we will host on our cloud and …

Member Avatar for BitBlt
0
252
Member Avatar for sgsingh

Hi Guys, I am getting problem in coldfusion pdf pages which are generated dynamically with multiple pages. The problem is i need a pdf report which have every page border like table and data will come in table and one condition is as the heading of page one will also …

0
100
Member Avatar for montjoile

hi! I need to populate a flex combobox with the result query of a oracle db, using coldfusion. I have this code, but it is not functioning: my flex webpage: [CODE] <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Label x="230" y="36" text="Selecionar Consolas"/> <mx:Script> <![CDATA[ import mx.events.*; import mx.collections.*; import mx.rpc.events.ResultEvent; …

Member Avatar for montjoile
0
258
Member Avatar for mmonclair

Hello, I've been wrestling with a problem for a few days, and after trying to Google the answer, I need to pose the question. I would like to create a new datasource for use by an application I'm working on. However, I do not have administrator access to my ColdFusion …

Member Avatar for arrgh
0
2K
Member Avatar for aksahoo17

Hi All, I am new to ColdFusion and i m using CF-8. I Want to create a Log file for error and i have done that, but the problem is that the text file "error.txt" content all the data retrieve by the CFERROR variables. But its store duplicate records as …

Member Avatar for aksahoo17
0
148
Member Avatar for tapuwa2002

I have made a select statement with a date condition seems like its not reading the date condition please check the code below [CODE] Select * From tbltest WHERE (((Validity.ToDate)<><cfqueryPARAM value = "#31/8/2011#" CFSQLType = 'CF_SQL_DATE'>) [/CODE] Please help I don't want dates that are equal to 31/08/2011 its getting …

Member Avatar for arrgh
0
280
Member Avatar for tapuwa2002

I would like to hide a value in cfoutput and have the browser not show it but the value is needed. I have tried styling to have white text but it no working please help [CODE] <cfsetting enablecfoutputonly="true"> <cfparam name="q" default="" /> <cfquery name="qryGetCountry" datasource="dbtest"> select * from Cities Where …

Member Avatar for arrgh
0
175
Member Avatar for tapuwa2002

Downloaded autocomplete plugin. its not bring out results am using an access db. When I type in text it does the search but with no proposed results display in the drop down. Is there something missing? [CODE] <cfsetting enablecfoutputonly="true"> <cfparam name="q" default="" /> <cfquery name="qryGetCountry" datasource="dbtest"> SELECT DISTINCT Cities.RegionCity FROM …

Member Avatar for tapuwa2002
0
227
Member Avatar for danarashad

I am trying to figure out how to have a certain value as my selected value in a cfselect that is running a cfc? I am running a cfc, but when someone saves that answer in the database, when they go back into the form. I want the answer they …

Member Avatar for arrgh
0
176
Member Avatar for singharun

Hi, I am developing a small E-commerce site, but at one point i need your precious help. I want to print the order directly when the order will placed without clicking any print option. Any help will be appreciated. Thanks in advance. Regards, Arun

Member Avatar for arrgh
0
138
Member Avatar for tapuwa2002

I have created form where the values are taken from the form. I still get and an error when I put my form value in the statement. But when I run the statement separately it works but now when I combine it doesn't. [CODE] <cfif not isdefined("Form.frmpricerange")> <cfset Form.frmpricerange = …

Member Avatar for arrgh
0
123
Member Avatar for tapuwa2002

Hi guys Is there a way, where i can get two values from a option tag. I have form that needs to have values for it to display e.g My form looks like the following. [CODE] <form method="post" name="frmone" action="Result.cfm" enctype="multipart/form-data"> <select name="selvalues" id="selvalues" class="input_style-1" id="selvalues" style="height:19px"> <option value="1">Select Result</option> …

Member Avatar for tapuwa2002
0
171
Member Avatar for aksahoo17

Hi, I am new to ColdFusion , so i need so help from all.... I am going to do a form having multiple submit buttons in it . So how can i know which button was clicked. according to this i want different work... Like simple i want to do …

Member Avatar for aksahoo17
0
852

The End.