same form validation

Results 1 to 4 of 4

Thread: same form validation

  1. #1
    Jon Guest

    Default same form validation

    Hey,<BR>Question for you...I am writing a page in server side asp, and this is a multiple submission page, meaning it never leaves the page, the screen simply repaints. My question is can i do a form validation within the same form?

  2. #2
    Join Date
    Dec 1969

    Default RE: same form validation

    use javascript

  3. #3
    Join Date
    Dec 1969

    Default RE: same form validation

    Use A JavaScript Validate Fuction <BR><BR>&#060;Script&#062; <BR>function validate() {<BR>if (document.form1.element == "whatever") {<BR>alert("Not right");<BR>}<BR>}<BR> &#060;/Script&#062;<BR><BR>&#060;form name=name action=action onsubmit=JavaScript:Validate&#062;<BR><BR>HTH<BR>

  4. #4
    the other steve Guest

    Default another option

    the open source shopping basket comersus has a pretty good form validation include that marks missentered fields with a red star and sends the user onward if the form is filled out properly.<BR><BR>It&#039;s all vbscript. The validations themselves are pretty cheasy but you can replace them with regular expressions or leave them.<BR><BR>It took me a little while to figure it out, but it&#039;s pretty neat.<BR><BR> (I think)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts