Mandatory Fields using asp

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Mandatory Fields using asp

    Hi I have created a form in asp because i want all result to be stored in an
    access database. HOw can i have it so that users have to fill in certain text
    boxes and if they do not the form will not submit and they will be told what
    they have to fill in Thanks John

    pepps Guest

  2. Similar Questions and Discussions

    1. mandatory fields....
      I have defined a set of SOAP messages using an xsd file, each element in the xsd has the minoccurs, maxoccurs & nillable attributes defined when I...
    2. Mandatory Profiles and IE6
      On Clients using XP: Whenever I set Mandatory Profiles (.MAN), IE6 Temporary Files Setting goes blank and size to 0. I cannot edit it! When I...
    3. ftp mandatory authentication
      How can you prompt for authentication to an ftp site on Windows 2003 server? I only see anonymous access... Also, I would like to be able to set...
    4. .exe is mandatory :-(
      I just installed perl and I don't know what settings I fiddled with, but now on Windows Command Prompt I am unable to execute perl scripts with...
    5. Mandatory Fields in Forms??
      We have database which uses several forms for data entry, and feeds a table.Each form has unique data that is required. My question: Is it possible...
  3. #2

    Default Re: Mandatory Fields using asp

    I used the Yaromat download from the Exchange Extensions to do this.

    One thing I figured out after a dozen attemps, you have to select the 'submit'
    button and apply the behavior to it, not the field itself.

    innovationlab Guest

  4. #3

    Default Re: Mandatory Fields using asp

    John,

    There are many examples of validation on the internet. Just Google "form
    validation in ASP" or something like that, and you'll see a number of
    answers. Basically, it involves calling a client-side script on the
    submit action of the form. That script can check the input fields and
    return with a "false" result when fields don't validate. It can also
    highlight the fields in question.

    You can also submit the form and check the fields for yourself with a
    server-side script, and show the form again with all sorts of bells and
    whistles for the fields that are not OK. After all, you decide when you
    insert/update/delete in your DB, so you can do that when you've checked
    that everything is honky dory.

    And there are a number of DW extensions as well to do the same kind of job.

    HTH
    Bernard

    pepps wrote:
    > Hi I have created a form in asp because i want all result to be stored in an
    > access database. HOw can i have it so that users have to fill in certain text
    > boxes and if they do not the form will not submit and they will be told what
    > they have to fill in Thanks John
    >
    bthouin Guest

Posting Permissions

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

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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139