Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:53 AM
Drifter
Guest
 
Posts: n/a
Default Need Help and ideas... Checkbox form validation and Making an e-mail body with results.

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


  #2  
Old July 19th, 2005, 09:53 AM
Bhaskardeep Khaund
Guest
 
Posts: n/a
Default Re: Need Help and ideas... Checkbox form validation and Making an e-mail body with results.

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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles