Need Help and ideas... Checkbox form validation and Making an e-mail body with results.

Discussion in 'ASP General' started by Drifter, Dec 2, 2003.

  1. Drifter

    Drifter Guest

    I am working with a form that has to do 2 things:

    1) Validate that 9 checkboxes are checked (from a dynamically generated list
    of topics).
    2) Take the 9 Topics, and put them into an e-mail "body". I am guessing that
    this can be a Text file (string) which can be called Body - as it has to be
    sent via ASPEMAIL where "Body" is the Object which Specifies a message body.

    Anyone familiar with these issues, especially with the combination of the
    2 - i.e. validation for 9 checked, and then adding the checked to a Variable
    String?

    Thanks,

    D
     
    Drifter, Dec 2, 2003
    #1
    1. Advertising

  2. Hi,

    You can do so using couple of 'if...else if' statements or using a 'switch case'. Just set a variable and depending upon the checks, concatenate the string into the variable, and at the end send the content of that variable as the Body of the email.

    Regards,
    Bhaskardeep Khaund
     
    Bhaskardeep Khaund, Dec 2, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Curt_C [MVP]
    Replies:
    5
    Views:
    420
    Karim
    May 19, 2004
  2. Lindsay

    Making Form results readable

    Lindsay, May 31, 2006, in forum: Java
    Replies:
    0
    Views:
    374
    Lindsay
    May 31, 2006
  3. shane
    Replies:
    4
    Views:
    187
    Alan J. Flavell
    Jul 12, 2003
  4. bnp
    Replies:
    4
    Views:
    348
  5. G. Morgan
    Replies:
    1
    Views:
    117
    Thomas 'PointedEars' Lahn
    Aug 9, 2008
Loading...

Share This Page