validate form

This is a discussion on "validate form" within the Classic ASP section. This forum, and the thread "validate form are both part of the Program Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1  
Old Sep 1st, 2004, 12:19
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,609
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
validate form

this will force the user to enter data to the text field called 'bnSubject' and 'bnSection'
Code: Select all
<input type="submit" name="Submit" value="Submit Data" 
onClick="MM_validateForm('bnSubject','','R','bnSection','','R');return document.MM_returnValue">
how to force the user to enter in this kind of field?
is it posible to do that?
Code: Select all
<select name="bnDay">
          <option></option>
          <option>MONDAY</option>
          <option>TUESDAY</option>
          <option>WEDNESDAY</option>
          <option>THURSDAY</option>
          <option>FRIDAY</option>
          <option>SATURDAY</option>
</select>
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Sep 2nd, 2004, 09:06
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,609
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
sorry...
the above code is not working...

but i want to ask how can i make sure that the user have selected a value inside my dropdown menu list?

the value of the first list will be empty!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
validate, form

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validate a form only if certain conditions are met svennie12 JavaScript Forum 2 May 10th, 2008 14:59
[SOLVED] How to Validate a HTML Contact Form Xhmtl Web Page Design 2 Dec 9th, 2007 20:11
[SOLVED] Validate Form Class soloam JavaScript Forum 2 Nov 28th, 2007 14:51
Why should I validate CSS? spinal007 Web Page Design 13 May 11th, 2007 14:24
validate form? Nick JavaScript Forum 10 Aug 31st, 2004 07:47


All times are GMT. The time now is 18:57.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42