34 users online (0 members and 34 guests)  


  Results 1 to 3 of 3

Related

  1. Forms & populating fields    Forum: Javascript Forum
    Replies: 1
  2. Query REturns Empty    Forum: PHP Forum
    Replies: 1
  3. Script inserts empty fields into DB    Forum: PHP Forum
    Replies: 2
  4. Replies: 1
  1. #1
    henough's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2002
    Posts
    1

    emailing forms excluding empty fields

    Hi all,

    Am having a problem with a product order form I am trying to create, the trouble is that it contains a seperate quantity field for each product. When the user selects the product they want and enters amount the results are then emailed. However, all the blank input fields are being mailed as well.
    Does anyone have any ideas how to get around this?
    I cant use JavaScript, JSP, CGI scripts etc......
    it has to be HTML!

    Please help................

  2. #2
    QuietDean's Avatar
    Administrator

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

    If you are limited to using only 'mailto:' as your action then the answer is no. When using this style of form the control and processing is placed with the users email client, so you have no control over it.

    You say you cannot use any other technologies, is this because your host does not support them, or because you do not know how to use them?

    You would be surprised how easy it is to use a pre-made script to send email, perl, asp, php, they all take seconds to install and come with very good instructions.

    let me know what your host supports and I will let you know some links.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    SonyaT's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2006
    Posts
    6

    Re: emailing forms excluding empty fields

    Quote Originally Posted by QuietDean
    You would be surprised how easy it is to use a pre-made script to send email, perl, asp, php, they all take seconds to install and come with very good instructions.

    let me know what your host supports and I will let you know some links.
    I would be interested in links for those if you have them please?



Tags for this Thread