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 SkipVought 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. GaryCam

    address validation: can't be a P.O. Box

    Thanks, Dan. Eliminating the quotes around 'null' did the trick. These computers are so picky! As for the '/' and '\', I will try to incorporate them as well. Thanks for the heads up. Thank you too, Big Red. I hadn't thought of that. Best, Gary
  2. GaryCam

    address validation: can't be a P.O. Box

    I've been testing, studying & Googling but have yet to solve this problem. I'm sure this is a very common validation routine, but I can't find the answer. The user inputs a shipping address and I need to make sure it's a street address and not a P.O. Box. Here's what I have so far: var stripped...
  3. GaryCam

    Why do these two table styles conflict?

    Thanks, Chris. I will download the toolbar and validate code from now on. ~ Gary
  4. GaryCam

    Why do these two table styles conflict?

    Hi Chris. Wise advice indeed. VALIDATE YOUR CODE. I am not a programmer/designer/anything. I just fiddle around. Can you explain how YOU validate code? After I make something nice & pretty in Firefox I then have to spend at least as much time making it look the same in IE. I assume proper...
  5. GaryCam

    Why do these two table styles conflict?

    Thanks for the response, Vragabond. I just found the problem: I had an unclosed tag. Funny how you can concentrate on a problem for an hour without success and then after taking a break the answer leaps out at you! ~ Gary
  6. GaryCam

    Why do these two table styles conflict?

    I have a bunch of text that scrolls vertically. Inside that text I have several tables and they appear as expected and scroll along with the text. I have a table I'll call 'cart' that I want to place inside the scrolling area but it won't go. The only way it will scroll merrily along is if I...
  7. GaryCam

    Syntax for "which submit button submitted?"

    Nicsin & Tsuji, Thanks so much for your help. I now have it working thanks to both you. I mocked up a sender page and a receiver page with no extraneous code and it worked fine. So I knew the problem lied elsewhere. I was not familiar with this application (could you tell?) so I spent the last...
  8. GaryCam

    Syntax for "which submit button submitted?"

    Yes, tsuji, that's exactly what I have. But as I said in a previous post, there is some conflict taking place because after clicking the button: Request.Form("whichSubmitButton") returns nothing and Request.Form("whichSubmitButton").Count returns a zero Doesn't that mean that the...
  9. GaryCam

    Syntax for "which submit button submitted?"

    Thanks, tsuji, but it still won't send the value. ~ Gary
  10. GaryCam

    Syntax for "which submit button submitted?"

    Hi nicsin, I copied & pasted your first post and it still doesn't work. There must be some conflict at play here. The server still tells me it has not received the value for whichSubmitButton. There are many other things going on on both my source and my processing pages so I suspect there's...
  11. GaryCam

    Syntax for "which submit button submitted?"

    Hi nicsin, OK, with this submit command: onClick="document.getElementById('whichSubmitButton').value=5;submit();" And this at the receiving page: If Request.Form("whichSubmitButton") = "5" Then Response.Redirect "basket2.asp#oz1" ElseIf Request.Form("whichSubmitButton") = "6" Then...
  12. GaryCam

    Syntax for "which submit button submitted?"

    I don't know how to check the value at the server. Firefox is giving me the following error: document.getElementById('whichSubmitButton')HAS NO PROPERTIES
  13. GaryCam

    Syntax for "which submit button submitted?"

    Thanks, BigRed1212, First I got 'Expected End' After adding an END, I got 'Expected If' After adding that, now the screen goes blank white.
  14. GaryCam

    Syntax for "which submit button submitted?"

    Thanks again, nicsin, but I had already fixed that & it still doesn't work. Thinking I had some remnant of code affecting that variable I changed the variable name to aargh and it still doesn't work. It just falls through to the default. ~ Gary
  15. GaryCam

    Syntax for "which submit button submitted?"

    Thanks for taking a stab, nicsin, but that doesn't work either. The processing page is not receiving the value for 'whichSubmitButton'. The conditional that checks its value falls through to the default redirect every time. Would it have anything to do with the fact that this form is POSTed...
  16. GaryCam

    Syntax for "which submit button submitted?"

    I've seen this addressed in other forums but the answers are always beyond me. Please explain as simply as possible. We're talking Baby Talk here. Here's what I have on the form page which is cart.asp: <td> <a name="anchor1"></a> <input type="hidden" name="whichSubmitButton" value="1" >...
  17. GaryCam

    Redirecting to anchors on ASP pages

    Thanks, Greg. I got it to go to anchors. The problem had to do with the anchors being outside some CSS Divs (or something like that, anyway it works now). Now that I can direct one ASP page to return to an anchor on another page, I can't seem to get that ASP page to recognize which submit...
  18. GaryCam

    Redirecting to anchors on ASP pages

    I made the modification but it still redirects only to the top of firstpage.asp. In fact, on firstpage.asp I also have an image map that provides links to those same anchors: #anchor1, #anchor2 and #anchor3. That image map doesn't work either. ~ Gary
  19. GaryCam

    Redirecting to anchors on ASP pages

    Thanks, Greg, but those solutions don't work. I think your approach may be the solution but ASP will not accept the following line: <script language=Javascript> Any other suggestions? ~ Gary
  20. GaryCam

    Redirecting to anchors on ASP pages

    I know nothing about ASP so any help is greatly appreciated. I have inherited an ASP page which contains a product ordering form. After a QTY is entered and the form is submitted using a numbered submit button, a second ASP form processes the data. At the foot of this second ASP page a...

Part and Inventory Search

Back
Top