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 Mike Lewis 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. hacole

    Array Problem -- Duplicating Value??

    Thanks for the advice. I ended up getting it to work by inserting an empty value as the last value in every array. This is the file before I go to the report. If I'm on the fifth element of all my arrays, it would create a blank element for the fifth+1. <CFSET...
  2. hacole

    Using CFQUERY with select box

    I've got two <CFQUERY>s - each of which populate select boxes. How can I default one from the other onchange? Can I use JavaScript somehow? <CFQUERY NAME=&quot;GetTaxCities&quot; DATASOURCE=&quot;#session.ORA_NAME#&quot;> SELECT...
  3. hacole

    Array Problem -- Duplicating Value??

    Hello, all. I'm working with an application where the user can add a new account, premise, and service point. Once they complete this, they have the option to go back to the beginning and do another, or go to a report page. Throughout the app there are five fields that I'm building arrays...
  4. hacole

    IE Error When Refreshing/Disable Back Button

    That's what I was afraid of.... thanks for your input and time. hacole
  5. hacole

    IE Error When Refreshing/Disable Back Button

    Is there any way to get around the Microsoft confirm box to &quot;Retry&quot; or &quot;Cancel&quot; when refreshing a page? I'm trying to disable the browser's Back button by running the following script in the head of every page: <SCRIPT LANGUAGE=&quot;JavaScript&quot;>...
  6. hacole

    Execute CFQuery onBlur.....

    Thank you all. due to time constraints, I had to stop trying this method. I ended up adding another .cfm file (much to my dismay) to run the query against the form.value. If there is a problem I take them back to the form, otherwise I proceed to the next file. Hopefully I'll get some time...
  7. hacole

    Execute CFQuery onBlur.....

    FYI.... I've decide the syntax error is actually on my <IMG ...> line..........
  8. hacole

    Execute CFQuery onBlur.....

    I am stumped..... I have to admit, I'm pretty new at all this. This is what I have so far, but it's not liking my code AT ALL. I would really appreciate a debugger right about now. Anyway, I'm going to keep playing with this, but just in case I'm WAY off, I thought you would be able to tell...
  9. hacole

    Execute CFQuery onBlur.....

    I'm following the logic of what you're suggesting, but I have a couple questions before I jump into this: If I understand, you're suggesting calling a JS function, which calls a CFScript? Why does this have to be an image instead of just a variable? Is the page going to completely reload? If...
  10. hacole

    whitespace in browser

    Hello!! I found it..... I wanted to let you know this worked perfectly!! Thank you so much for all you time and help. (sorry it took me so long to respond) I really appreciate it. Amazing that one little word - escape - fixed it all!! Thanks, hacole
  11. hacole

    Execute CFQuery onBlur.....

    Is it possible to execute a CFQuery onBlur of a form field?? I don't want to read the whole table, and I'd like to do a query using the value entered, to validate if it exists. Thanks, hacole
  12. hacole

    whitespace in browser

    Well, back from the weekend... Turns out I just needed to put quotes around my <cfoutput>. Old code: <cfoutput><input type=&quot;text&quot;....value=#b_name#> New code: <cfoutput><input type=&quot;text&quot;....value=&quot;#b_name#&quot;> Whitespace problem is solved!! You were correct, it...
  13. hacole

    whitespace in browser

    I thought it was odd too!! You are absolutely correct about the first page linking to the second through javascript building the URL, AND that's exactly what the URL looks like...it's all there. Here's what I got with your code... (I had put a string.length in my javascript to check the...
  14. hacole

    whitespace in browser

    Here is some more information, hopefully this will help.... (code from file1.cfm).... <td>Quick Name:</td> <td><input type=&quot;Text&quot; size=&quot;40&quot; maxlength=&quot;40&quot; name=&quot;quick_name&quot; value=&quot;&quot;></td> <td><input type=&quot;button&quot...
  15. hacole

    whitespace in browser

    Hello out there. How do I handle whitespace in my value pairs embedded in the URL? Here is my URL: /...PersonPage.cfm?type=2&amp;CT=3&amp;name=Holly%20Cole When I try to set my variable in PersonPage.cfm, I'm only getting the part of the string up to the '%20'. (Name: Holly) I'm using...
  16. hacole

    How can I validate a textarea type field within a CFFORM?

    I have found it easier to stay away from the <cfform> tag altogether - especially when wanting to utilize JS validations on fields.... Just use a normal <form> tag as you would in HTML. If you need to use any #variable.values# from your .cfm file, put <cfoutput> tags around your <textarea>.

Part and Inventory Search

Back
Top