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 Wanet Telecoms Ltd 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: *

  • Users: fpwr
  • Order by date
  1. fpwr

    IIS Error Redirects

    See http://www.tek-tips.com/viewthread.cfm?qid=961007&page=1 for the answer (need to change the "type" to "URL".... Paul.
  2. fpwr

    Environment Variables in HTML (no CGI or SSI)

    Duh...thanks! That worked. Paul.
  3. fpwr

    IIS Error Redirects

    No, the page is under wwwroot---it executes correctly if I use the URL in IE. It just won't when IIS redirects to it.... Thanks though. Paul.
  4. fpwr

    IIS Error Redirects

    Has anyone had any success getting an IIS "Custom Errors" webpage to execute as a CF page (in other words, replacing one of the standard MS pages that gets displayed when a page cannot be found with a customized CF file)? I can get it to run the page, however, it only displays it as an HTML...
  5. fpwr

    Environment Variables in HTML (no CGI or SSI)

    Does anyone know if it is possible to display/access environment variables purely in HTML? There are numerous ways to do this with CGI scripts, Server Side Includes, ASP, Coldfusion, etc..., however, I think that I need to be able to do this purely in HTML.... We are in the process of...
  6. fpwr

    Limit the Scope of onChange

    Grrr....it's been a long day. [dazed] Thanks!
  7. fpwr

    Limit the Scope of onChange

    I've got a form page where I'm using onChange in a Select statement to update an input field. My problem is that instead of just updating the one field it is updating everything and I can't seem to limit it for whatever reason. Maybe it needs some kind of ID or something??? Here's a demo...
  8. fpwr

    How to validate current date in a form?

    Can you pass a JS value from one function to another? I was trying to do something like this: onchange="saveoriginaldate();dateStringCheck(Requisition.need_date.value)"
  9. fpwr

    Reset Displayed Form Fields After Hiding Other Form Fields

    Just in case anyone references this thread later I finally did find a pretty simple solution to this problem. Rather than fight the onchange issue I decided to just accomodate it. I moved the "clearing" statements (in bold below) up into the already-being-called intoWaitingRoom function which...
  10. fpwr

    How to validate current date in a form?

    Sorry one quick (hopefully) followup. When the script above throws the "error" message ("Bad Date"), how would you have the script change the value in the input field back to the original value? Thanks again.
  11. fpwr

    How to create tooltip for listbox?

    Do you have a simple example of how you've used this in a form? Thanks.
  12. fpwr

    How to validate current date in a form?

    Just for anyone referencing this thread later, I modified Kaht's excellent "teaching" script to accomplish the original request in one simple file (note that I changed the date format to mm/dd/yyyy): <script language=JavaScript> function dateStringCheck(str) { var today = new Date(); var...
  13. fpwr

    How to validate current date in a form?

    Thanks everyone for your help! cLFlaVA: Your snippet works but has the same problem.... Today is Aug 3rd. If I use "08/03/2004" it still prompts me (i.e. it won't accept it). I need it to take the date 8/3 on (inclusive) and not take the date 8/2 backward. Note that I tried changing the...
  14. fpwr

    How to validate current date in a form?

    I've been having trouble getting this snippet to work. I think the issue is related to the time but it seems to bomb whenever the date is within a day or so (or equal to) today. Essentially all I'm trying to do is check a date input as mm/dd/yyyy and verify that it does not occur before...
  15. fpwr

    Reset Displayed Form Fields After Hiding Other Form Fields

    Can you give me some additional insight into what you mean by: Rewriting the quirksmode code is really beyond my ability at the moment (I'm just a JS hack).... All I'm really looking to do is have the chemical name & HMIS values (health, flammability, etc...) erased if someone changes the...
  16. fpwr

    Reset Displayed Form Fields After Hiding Other Form Fields

    That does make sense---I had determined that the clearFields() function wasn't being called by putting in a couple of "Here I am" alerts in the script.... I'm still confused though why the onChange="validDecnum(this);" statement would work if the problem is with onChange in general (you can see...
  17. fpwr

    Reset Displayed Form Fields After Hiding Other Form Fields

    Okay, I've narrowed down the problem to my body tag: <body onload="prepareForm()"> When I remove the onload="prepareForm()" portion the clearFields() function will work correctly (though of course this breaks the field hiding functionality). The prepareForm() function does the following...
  18. fpwr

    Reset Displayed Form Fields After Hiding Other Form Fields

    Heh...heh...okay, I'm starting to feel like your little icon guy (banging his head on the brick wall). I made the changes but it still doesn't work so I must be missing something obvious. Here's the whole thing again (which I'm assuming makes it easier): <html><head> <SCRIPT...
  19. fpwr

    Reset Displayed Form Fields After Hiding Other Form Fields

    One quick followup.... I tried moving this into a select list, however, I can't seem to get the clearfields() function to "fire" correctly (the chemical "form expansion" selection still works so I'm pretty sure that onchange is what I want): <SELECT NAME="ReqType_1"> <OPTION...
  20. fpwr

    Reset Displayed Form Fields After Hiding Other Form Fields

    Thanks again kaht---that is what I was wanting to do! Paul.

Part and Inventory Search

Back
Top