r937,
I agree with you on that format, but how do you go from what I have to the format you recommend? Is there a tag in coldfusion that changes format?
Thanks,
Craig
Well, I kind of found what I wanted but not exactly. I found a javascript that replaces a character via the 'onblur' function. It works when I want to replace "A" for "B", but when I want to replace "/" with "-" it doesn't work. Anyone have an idea on a work-around...here is the code:
<script...
Hi,
I am trying to format a date time text field. Right now the customer chooses a date and time from a pop-up calendar, who's value is then inserted into a text field, example: 07/17/2006 03:36:08
I am trying to format that time so if can be used as a filename but retain the date/time. So I...
NorthStarDa,
After trying every way possible and still not getting any success, I got it working via a work-a-round. I instead used FlevOOware's behavior that let's you enable/disable objects. I would have used this before, but the problem was FlevOOware's behavior didn't let you chose to...
Nevermind, I figured it out. I was trying to insert a variable in the file form field's upload destination.
My original statement was:
destination="C:\...\file.#PAM_ID#.jpg"
But instead I have to have this:
destination="C:\...\#PAM_ID#.jpg"
The #'s have to be at the end of the variable. But...
Hi,
I have been searching on how to utilize text that has been input into a text field. I am trying to create a variable based on what the end-user types into the text field. So if the user types in "apples" into the text file, I want to assign that value a variable.
I thought it was the text...
NorthStarDA,
I took some time and tried what you suggested. I took out the cfoutput query and hardcoded the ID. I then checked the page sources to confirm the filefield's name in the brower was matching up with my hardcoded filefield name. So this is what I had....
Above the webpage's...
Hi,
I have been searching all over the net on how to disable a form field via a javascript command. It seems pretty straight forward but for some reason I can't get it.
Here is what I have done based on my research so far:
Above the webpage's body.....
<cfoutput query="rsPamInformation">...
Hi,
Here is the error message I am getting:
Invalid CFML construct found on line 207 at column 114.
ColdFusion was looking at the following text:
#
The code it is referring to is:
207 <cfif isdefined("form.upload_#rsPamPic.PAM_ID#") and form.upload_#rsPamPic.PAM_ID# NEQ "">
208 <cffile...
Rob,
I thought of using a cfloop but the <cf query> loops by default, correct? How do I get it to loop via a cfloop and with a cf query without creating numerous file upload fields?
Here is a glance of my current code:
<cfoutput query="rsPamInformation">
<cfif...
Hi,
I am trying to upload one file to multiple directories using one file upload form. The directories are alreay created and based on the product's id, where the directories are to be uploaded to are based on a recordset.
I tried using a <cf query> and inserting the file upload inside of it...
Falconseye,
I tried your last recommendation but that will always return a "yes" result.
Here is some of my code copied so you might get a better idea of what I am trying to do:
<cfoutput query="rsPamInformation">
<tr>...
Hi,
I am trying to create a dynamic variable created in a dynamic table.
My code is:
<cfoutput...
400 <cfset dad = rs#PAMInformation.PAM_ID#>
401 <cfif Success_#dad# EQ "yes">
402 Uploaded Successfully!
403 <cfelse>.....
The error message I am getting is in line 401 where it says...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.