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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Silvano

  1. Silvano

    Checkbox and radio group validation

    one more thing that might help speed things up here: - radio buttons with the same name can be checked only one at the time, so, you can check the default and ensure that at least one checked button is submitted (the radio once checked can not be unchecked): <input type=&quot;Radio&quot...
  2. Silvano

    I know I can use the find funct

    the cf runs the application.cfm template before any other requested template is executed; if you want to reject cfid and cftoken from url, you can specify that in the application.cfm template; if you write something like IsDefined(&quot;url.cfid&quot;) AND IsDefined(&quot;url.cftoken&quot;) to...
  3. Silvano

    I know I can use the find funct

    REFind(), REFindNoCase will return the position of the first occurrence of a regular expression in a string starting from a specified position. Returns 0 if no occurrences are found. This example will search for numeric characters but you can replace that and search for alpha numeric characters...
  4. Silvano

    cfapplication

    if you don't want to use the cfid and cftoken passed through the url at all, you can use the IsDefined(&quot;url.cfid&quot;) and IsDefined(&quot;url.cftoken&quot;) to find out if those exist Sylvano dsylvano@hotmail.com
  5. Silvano

    Check for time.

    you can use DateCompare() function; DateCompare() performs a full date/time comparison of two dates. Returns: -1 if date1 is less than date2 0 if date1 is equal to date2 1 if date1 is greater than date2 DatePart: s Precise to the second n Precise to the minute h Precise to the...
  6. Silvano

    ListQualify Problem

    I have had similar problem; this solution worked for me: <cfset url.fileID = &quot;142,454,228,668&quot;> in the SQL: ...AND Orders.orderID IN (#ListQualify(url.fileID, &quot;&quot;)#); the ListQualify() is used to avoid errors if the passed list have any extra commas (,142,,454,228,668)...
  7. Silvano

    storing input form data or refreshing form.

    - when user clicks on the submit button, setAction() function is called (JavaScript, client side); function will check the newOption form field and if it's not blank will assign value &quot;addOption&quot; to the form &quot;a(ction)&quot; field; the form is submitted; on the server, cf is...
  8. Silvano

    storing input form data or refreshing form.

    i am gonna bug in again: omerdurdu, as you know, the coldfusion involves server side programming while the form is being filled in on the client side; with that in mind here is the approach you should take: - user is filling the form fields 1 - 45; - when the 46th field if filled up, the form...
  9. Silvano

    Reply Tree

    go to http://worldwebspiders.com --> downloads; download Allaire ColdFusion Forums 3.11; that is an old CF application that is available free of charge and it looks like it is doing the same thing as you are trying to do; you can probably get a lot of &quot;how to...&quot; hints from it...
  10. Silvano

    storing input form data or refreshing form.

    try this: <cfparam name=&quot;form.metadata&quot; default=&quot;&quot;> <input type=&quot;text&quot; name=&quot;metadata&quot; value=&quot;<cfoutput>#form.metadata#</cfoutput>&quot;> Sylvano dsylvano@hotmail.com
  11. Silvano

    cfcontent

    hi all, here is the code I am using to send the selected file to the user: <cfheader name=&quot;Content-Disposition&quot; value=&quot;inline; filename=#form.fileID#&quot;> <cfcontent type=&quot;application/unknown&quot...
  12. Silvano

    removing 2nd OS

    thx, I am running XP but your answer was close enough Sylvano dsylvano@hotmail.com
  13. Silvano

    removing 2nd OS

    hi ya all, I've got the computer with win98 removed &quot;by force&quot;; the win2k was installed as 2nd OS and win98 folder was simply deleted; everything is working fine if user select the win2k when rebooting; the problem I would like to solve is that win98 is still showing as a option in...
  14. Silvano

    storing input form data or refreshing form.

    here is one way you can do this: - on the page with 50 inputs, for every field use the ...value=&quot;#form.fieldName#&quot;... attribute; to avoid the error you will have to define those fields; you can use <cfparam name=&quot;form.fieldName&quot; default=&quot;&quot;> tag to do that; - when...
  15. Silvano

    How do i download a file from a directory listing?

    - note that if deletefile attribute is set to Yes the will will be deleted after the download operation; if you have executed the script once, see if the file is still there; for testing you can set this attribute to NO; - ExpandPath() returns a path equivalent to the relative_path appended to...

Part and Inventory Search

Back
Top