Making Form Field Required

Discussion in 'JavaScript' started by clasione, Aug 18, 2005.

  1. #1
    What is the code to make a form field "required" in the inputs:

    <INPUT SIZE="60" ----??----- NAME="additionalphone">
     
    clasione, Aug 18, 2005 IP
  2. Foxy

    Foxy Chief Natural Foodie

    Messages:
    1,614
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use phpformgenerator and you do not need to worry :)
     
    Foxy, Aug 18, 2005 IP
  3. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #3
    None. You have write/find code that will check if the value is valid. It can be done on the client side and/or on the server. Client side validation is unreliable and should be used only to complement server-side validation.

    J.D.
     
    J.D., Aug 18, 2005 IP