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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Swiftly

  1. Swiftly

    Form Validation Without Alert Box or Refresh?

    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!
  2. Swiftly

    Form Validation Without Alert Box or Refresh?

    Thanks, I realised that serverside/client side difference since my last post. However this page won't submit: <form method=&quot;POST&quot; name=&quot;frmUserInfo&quot; action=&quot;doAddRancher.asp&quot;> <input type=&quot;button&quot; value=&quot;Submit&quot...
  3. Swiftly

    Form Validation Without Alert Box or Refresh?

    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...
  4. Swiftly

    Form Validation Without Alert Box or Refresh?

    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...
  5. Swiftly

    Form Validation Without Alert Box or Refresh?

    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...
  6. Swiftly

    Form Validation Without Alert Box or Refresh?

    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...
  7. Swiftly

    Form Validation Without Alert Box or Refresh?

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

Part and Inventory Search

Back
Top