Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. chlebicki

    Formatting Text Field

    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
  2. chlebicki

    Formatting Text Field

    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...
  3. chlebicki

    Formatting Text Field

    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...
  4. chlebicki

    Looking online for 7hrs for Disable for Field

    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...
  5. chlebicki

    Basic Question on Using Text Typed Into Text Field As Variable

    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...
  6. chlebicki

    Basic Question on Using Text Typed Into Text Field As Variable

    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...
  7. chlebicki

    Looking online for 7hrs for Disable for Field

    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...
  8. chlebicki

    Looking online for 7hrs for Disable for Field

    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">...
  9. chlebicki

    Simple Error Message During Uploading

    Falcon, I think that did it! Thanks man. ~Craig
  10. chlebicki

    Simple Error Message During Uploading

    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...
  11. chlebicki

    Upload 1 File to Many Directories Using 1 Upload Form

    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...
  12. chlebicki

    Upload 1 File to Many Directories Using 1 Upload Form

    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...
  13. chlebicki

    Dynamically Generated Variable Help

    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>...
  14. chlebicki

    Dynamically Generated Variable Help

    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...
  15. chlebicki

    Trying to create 1 form surrounding multiple file upload fields

    Thanks! Like I said before, this is the best board for CF stuff I have found on the net. ~Craig
  16. chlebicki

    Trying to create 1 form surrounding multiple file upload fields

    Kevin, I have realized the coldfusion statement <cffile action="upload"destination="/path/to/some/directory/#createUUID()#.gif" ... /> doesn't care what type of file it is, but it creates a directory within a directory. So if I am uploading the file "egg.jpg" to "/desktop/folder" the above...
  17. chlebicki

    Trying to create 1 form surrounding multiple file upload fields

    Kevin, Thanks for your tutorial! I am working on it now. For the renaming tag, the issue I am having is what if I don't know the exact type of file the user is uploading? Here is a passage from a website I read: --------------------------------------------------------- Renaming Files As They...
  18. chlebicki

    Trying to create 1 form surrounding multiple file upload fields

    Kevin, Thanks for the code. I think I found a work around, but while it works it definitely is not as stream-lined as yours. I am going to print it out and try to get your idea, as it doesn't require as much hard-coding. One of the last parts of my website that I can't figure out it how to...
  19. chlebicki

    Trying to create 1 form surrounding multiple file upload fields

    Hi, I am trying to create a dynamic table with multiple rows, with a file upload field inserted so each file upload field is assigned to a product ID. One form and one submit button surround all of this, where upon submitting, each file upload field uploads its respective file to its respective...
  20. chlebicki

    Saving a URL with parameters

    Craig, I am going over the code and trying to figure this out pretty much all night. I think what is happening is the form's action submits to itself, then updates the database, and then goes back to my dynamic table via the java code you gave me. But once it goes back to the dynamic form page...

Part and Inventory Search

Back
Top