Hi
There *must* be a way to do this...I just can't get my head around it.
I have four buttons and one big image below the buttons. When I mouseover the buttons one at a time, the image below changes depending on the button I am moving over. I cannot use div's - the buttons and big image are...
...Thanks!
if str="a" or str="b" or str="c" then
printForm()
RESPONSE.END
else
set rs = cn.execute("select * from myTable where ni = '" & ni & "' or un = '" & un & "' or email = '" & email & "'")
if rs.eof then...
Hi
I can't seem to get this working, if anyone has any idea..
I need to do the following:
if str = "" or str = "" or str = "" then
print this table saying - please complete form
else
set up the connection and retrieve all data where NI = NI or UN = UN or PW =...
Thanks for sticking with me on this.
That was it - it's now working..
I originally went for the script because it performed more checks than other scripts I saw. It's been well worth it though as the way it validates looks amazing - very cool. Take a look at the orginal example...
:) 2b||!2b
Your code looks interesting. Will it perform all checks? It's a nightmare to find a script that performs all types of checks. Most of them only do 2 or 3 checks and then you're left trying to figure out how to do the rest. Will you be posting an example once it's complete? Always...
I'm also getting the following error only when my server side validation kicks in and prints a page saying 'not completed..' User then clicks the back button and all the values are posted back into the form. If user then completes the form properly and clicks submits, I get this error
exception...
This has honestly got to be the *last* question!
I have just one checkbox that I need to ensure is checked. What would the syntax be? I have tried this, but it just ignores it completely. I guess I can't say value.length < 1?
(f.ContractedInIndicator.value.length < 1)
...
Thanks, must I leave out the <script> tags within the external js file? Sorry but I can't test it until I have completed the entire thing as I've done half.
Cheers
Lee
You're a star!
One more question..I have over forty fields I need to validate and the script is getting so long. I'd like to place it in an external js file, like so
<script language="JavaScript" src="formvalidation.js"></script>
but how do I call on it if my form tag is as...
Thanks for getting back!
It seems to be working :)
only thing is that I need to also allow hyphens and apostrophe's in the alpha set as some people may have those in their names. I tried to add it within the [] and outside but it doesn't take any notice - still finds it false.
I also need to...
...it works well. The alpha checking line needs to fit this format/syntax
(f.email.value.search("@") == -1 || f.email.value.search("[.*]") == -1)
or this format
(f.fname.value.length < 1)
I have this, but I don't think I have the logic right...
Thanks for getting back! I haven't learnt how to do session variables yet so had to post all the values and then post them back. What a mission! I guess sessions would be a lot easier but take a while to understand.
Cheers
Lee
...i = 1 To Len( encryptedstring )
x = Mid( encryptedstring, i, 1 )
tmp = tmp & Chr( Asc( x ) - 1 )
Next
Decrypt = tmp
End Function
'end encrypt
**Here's the response.redirect, also on submit.asp**
if err.number = 0 then
Response.redirect "process.asp?id=" & Encrypt...
...code I am working with is below
Where am I going wrong? When I enter a value it just submits. I need to call 2 functions but neither are working. *Really* appreciate some help!! Thanks Lee
<html>
<head><title></title>
</head>
<body>
<!-- ********* FORM VALIDXN ************* -->
<script...
Hi
I am using javascript and server side validation. This is a scenario for if someone has javascript turned off and the server side validation comes into play.
I have a form which submits to a hidden page which retrieves the data and the submits it to a db. When the data is posted, I am...
It's now coming up with 'file exists' - all fine.
No, I haven't sent email before. I am Windows 98. Hope that's not a problem..Definitely would like to get it working.
Thanks!
I'm using Outlook Express. Nothing at all has been sent or received. My mail service is working 100%.
I have just tried to perform the function again. It doesn't add a file to the csv folder, nor does it come up with the message saying that the file has already been created. Obviously it's...
Hokey mwolf, I fear we are nearing the end..
I have just created my first csv file! Can't *believe* it. By the way, the adovbs file had gotten lost amid all my test files and that's why I was getting so many errors.
The only thing now is that it's not sending the email with the file. This is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.