I figured it out..
the submit buttons name was "submit" so when i called document.frmUserInfo.submit() it was looking for the property, not the method!
thanks a tonne for your help!
this way of validating is great!
Thanks,
I realised that serverside/client side difference since my last post. However this page won't submit:
<form method="POST" name="frmUserInfo" action="doAddRancher.asp">
<input type="button" value="Submit"...
Alright,
I'm stuck again.
I'm not 100% sure how the 'submit' works on my form, or how it updates my database. As you see I create a connection to the database and execute an SQL string which updates the database. I have tried to put that code in a function and to call that function at the...
I know this is a pain in the butt, but I didn't want to leave anything out... that might be causing this to not work.. I can't seem to figure out why this code isn't working anymore... It submits when the fields are blank or not..
Thanks .AGAIN!!!!!!
<script...
sorry, I guess I was a little anxious at trying the code, and I overlooked your # 3) note above!
However, I do have one problem. When I hit submit, I have an appropriate IMG appearing, however the form still submits... how do i keep this form from submitting if there is an error?
I can't...
Wow,
A sunday night, and I get an awesome reply like that!?
Thanks a tonne! I have been working on using an image instead of just an asterisk.
Can I do it this way? Swapping an image in there instead of an asterisk?
<span style='display:none;' id='txtUserName_error'>
<IMG...
I want to be able to validate a form, by putting either a red asterisk, or an exclamation image (!) next to the textbox so when the user hits SUBMIT, the image or * just automatically appears, without having to have the form refresh.
Does anyone know how this is done?
Thanks!
(I'm fairly new...
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.