473,320 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Check Boxes communicating with Buttons

hey all, i'm trying to make an employee directory in a Table with check boxes beside each employees email address. What i want it to do is at the bottom of the directory i want a Button to compile all of the checked check boxes and enter those email addresses in a new email document using a mailto command.

Any ideas? I'm sure i have seen something similar done before. I would prefer to keep it in HTML if possible as i am a very junior programmer.

Thanks for any help,

burG
Aug 28 '08 #1
3 1436
Dormilich
8,658 Expert Mod 8TB
I think that's not possible without the help of a script language. Since HTML is about markup it can't read out the checkbox status. And the button essentially triggers a form to be executed (which is processed by a script language)
The two possibilities I see is
- use javascript to feed the mailto with values
- use a sever side script to send the email (php, asp, perl...)
Aug 28 '08 #2
SAF22
6
Just HTML, and just a mailto: action? Then just like this:

Expand|Select|Wrap|Line Numbers
  1. <form action="mailto:youremail@someplace.com" enctype="text/plain" method="post">
  2.  
  3. <label for="Email@mail.com">Email1@mail.com</label><input type="checkbox" name="Email@mail.com" /><br />
  4. <label for="Email2@mail.com">Email2@mail.com</label><input type="checkbox" name="Email2@mail.com" /><br />
  5. <label for="Email3@mail.com">Email3@mail.com</label><input type="checkbox" name="Email3@mail.com" /><br>
  6. <input type="submit" />
  7.  
  8. </form>
  9.  
It will open the users email program and only list the items that were checked.

This will be valid in transitional style, but not in strict.

I really recommend that you don't do it this way, mailto: is a nasty action. You also would might want to learn at least some basic JavaScript to ensure people can't send it blank.
Aug 29 '08 #3
Dormilich
8,658 Expert Mod 8TB
Just HTML, and just a mailto: action? Then just like this
never heard of that way, at least it's good to know. though I would always use a script to send mails
Aug 29 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: Dave Smithz | last post by:
Hi there, A PHP application I built has a section which lists a number of members to a club whose names each appear with a check box beside them that can be ticked. These check boxes are part...
0
by: mscir | last post by:
Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <x46dnXQO6_TFqErfRVn-jw@pghconnect.com> Lines: 24 NNTP-Posting-Host: 67.136.138.220 X-Trace:...
2
by: jimi_xyz | last post by:
Sorry if this isn't the correct group, i don't think there is a group for straight HTML. I am trying to create a type of search engine. There are two radio buttons at the top, in the middle there...
2
by: Ben | last post by:
My current project requires me to create part of a form that is created on the fly. The project consists a list of entries to an event. The name and address and such is easy. The design is detup so...
0
by: Robert | last post by:
Stephen, I think I figured out the problem. I was able to get Check Boxes and Option Buttons to work on my form by TURNING OFF RECORD SELECTORS on the form. Not sure why this would make a...
4
by: Jared | last post by:
Radio Button or Check Box and Event Procedures I need to insert either radio buttons or check boxes onto my form. I'm not sure which to use, or if there are other options. I am using the buttons...
2
by: Travis.Box | last post by:
I have an MS Access userform with 16 Check Boxes. Each of the checkboxes has a different option value, which coincides with the Check Box name (eg. cb01.OptionValue = 1). At the bottom of the...
5
by: Shreekant Patel | last post by:
Hello, I am new to the advanced level of access, and I have quite a few changes to make to an existing database. The current database's main form needs to have additional check boxes added to...
2
by: one.1more | last post by:
I want to make a text game using javascript dialog boxes. i learned about confirm boxes but its not helpful(http:// www.javascriptmall.com/learn/lesson6.htm) 1. for ex, in the confirm boxes,...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.