47 users online (1 members and 46 guests)  

Thread: Forms


  Results 1 to 3 of 3

Related

  1. Forms    Forum: HTML Forum
    Replies: 6
  2. Sub forms    Forum: HTML Forum
    Replies: 2
  3. Forms    Forum: HTML Forum
    Replies: 3
  4. Help with forms please....    Forum: HTML Forum
    Replies: 1
  5. Forms    Forum: HTML Forum
    Replies: 1
  1. #1
    Lindy
    Lindy's Avatar
    Guest

    Post Forms

    When a form is submited, and the person left a scroll down menu field empty, because it wasn't an item they wanted, is it possible for that NOT to show up in the email? For example, right now, I am getting comments= when they don't choose an item, but what I want is for it not to show up period in my email.
    Thanks!

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    I am not aware of any way to do this, However if you like you can use a JS to make any particular field mandatory.

    Dave

  3. #3
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662

    Unhappy

    Not really, Lindy. Not with pure HTML.

    What you could do is use a form validator, they have advanced options to do stuff exactly like you ask. Or you could take control of the submission with a PHP script. (Ask phpboy about that one!).

    With straight HTML, you have defined an input, therefore it will write the value, even if it is zero-length.



    ------------------
    QuietDean-



Tags for this Thread