[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev -post_data
From: |
Matt Staley |
Subject: |
Re: lynx-dev -post_data |
Date: |
Tue, 19 Oct 1999 10:00:12 -0400 (EDT) |
On Tue, 19 Oct 1999, Klaus Weide wrote:
> On Tue, 19 Oct 1999, Matt Staley wrote:
>
> http://www.flora.org/lynx-dev/html/
>
Thanks!
> they may want to force you to go through the "login" interactively,
> it all depends, and you didn't give much concrete information.
> (I suppose the pages in question are not really on the server
> called "www.somewebsite.com".)
if you're curious about what kind of login i'm talking about. Go to
http://www.bellsouthwd.com/dis/dealer/lookup/lookup.html
Also..if you want to see the javascript of Validatelookup. here it is:
>
> If you can read javascript, you may be able to guess what
> ValidateLookupForm() is supposed to do.
Also..if you want to see the javascript of Validatelookup. here it
is:
document.forms[0].zip.focus() function ValidateZipLength() {
if(document.forms[0].zip.value.length != 5)
{
alert("ZIP Code must be 5 characters.")
document.forms[0].zip.focus()
return false
}
return true } function ValidateState() {
if(document.forms[0].state.selectedIndex == 0)
{
alert("Please select a state name.")
document.forms[0].state.focus()
return false
}
return true } function ValidateLookupForm() {
if(document.forms[0].zip.value != "")
{
document.forms[0].form.value = "1"
return ValidateZipLength()
}
if(document.forms[0].city.value != "")
{
document.forms[0].form.value = "2"
return ValidateState()
}
if(document.forms[0].county.value != "")
{
document.forms[0].form.value = "3"
return ValidateState()
}
alert("Enter ZIP Code, City/State or County/State information.")
document.forms[0].zip.focus()
return false
}