Mandatory fields

Results 1 to 2 of 2

Thread: Mandatory fields

  1. #1
    Tomo Guest

    Default Mandatory fields

    How do you make fields of a form mandatory? If a field is missed out that needs a value in I want a warning message to come up to tell the user to go back and put a value in it.<BR><BR>thanx!

  2. #2
    Join Date
    Dec 1969

    Default server/client script ...

    VB server script<BR><BR>if request.form("somevalue")="" then server.transfer "return.asp"<BR><BR>VB client script<BR><BR>sub sendbutton_onclick()<BR> document.myform.action="somepage.asp"<BR> if document.userform.login.value="" then msgbox("login missing")<BR> else document.userform.submit<BR>end sub

Posting Permissions

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