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...
Hi there
It keeps on saying expected end line 1508 which ir at the bottom
I have done exactly as you said but have response.end before <%else%> (see below in caps). This stops this page from submitting to the db when the first if is performed. I also close the body and html tags after the...
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...
Thanks for replying! I need to check only for alpha characters (once I have figured out alpha, numeric should be easy). I am trying to get it to become part of the script that I already have as it works well. The alpha checking line needs to fit this format/syntax...
Hi
I have found script which doesn't use alerts (from Javascript Source). It checks for empty, and min and max no of characters and email. I am trying to add functionality to check for alpha characters and then also for numeric. Could someone please help me with this as I am new to JavaScript...
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
Hi!
I am trying to work out your encryption and I think my brain has passed it's expiry date. I can't figure out the logistics of this - I am new to asp and functions.
I think that I have managed to encrypt the QS on the response.redirect of my 'submit.asp page'. This value now gets passed by...
Hi
I have some js validation code which I need to do 3 checks.
- Check that a value (NINumber) entered is entered in this format: XX999999X
- Check that an email (Email & ReEnteredEmail) entered is the same as a reentered email
- check that a username (UserName) consists of 6(min and max)...
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.