• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 29. Performing Form Validation > Making Form Fields Mandatory

Making Form Fields Mandatory

It's common for a form to contain at least one field that the user must fill in. For example, there isn't any ethical way to determine the user's e-mail address automatically, so you need to ask the user to enter it in a form field. If it's important that you contact the user, then you probably want to set up the form field so that the submission won't go through unless the e-mail field is filled in.

Here are a few things you can do to encourage users to fill in mandatory fields:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint