Need JavaScript Code For Checkboxes?!

C

CW

Hello everyone.

I am in need of a javascript code that will check to see what checkboxes are
checked when the SUBMIT / ORDER button is clicked and put the choices that
were checked into the body of an email sent to me.

So here is what the person viewing the site would do.
1) Check any checkbox choice they want (no limits).
2) Click SUBMIT or ORDER button when they are finished.
3) Seperate window will pop up confirming what choices they made.
4) An email would be sent to me with whatever choices they made in the body
of the email.

Thank you very much as I have been doing some looking around and haven't
really found what I am looking for. I really appreciate all the help. I
have done programming in the past and understand the syntax and how computer
programs function. I just don't understand how to program in Javascript. If
you feel that another language would be easier or better incorporate my needs
then please suggest and give me the code in that language.

Thanks Very Much,
CW
 
C

CW

Steve,

I have a bunch of tables containing different categories of choices with
checkboxes at the end of the row of each table on the webpage. The form I
would create using the Form Wizard will be a separate entity from the webpage
or can it be incorporated into the webpage so that it looks part of the page?

Thanks Very Much,
CW
 
S

Stefan B Rusynko

Presuming all you check boxes in your existing page are form fields, not included in a form

In order to add a form to your existing page
Create a new form page w/ the form wizard with say 1 for field in it (and to enter you email destination)
In code view of that page Find the<form ....> and </form> tags
Copy the starting <form..> tag and the webbot code below it
- Before your 1st table in your existing page in code view
Copy the ending </form> tag
- After your last table and the submit button tag in your existing page in code view

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Steve,
|
| I have a bunch of tables containing different categories of choices with
| checkboxes at the end of the row of each table on the webpage. The form I
| would create using the Form Wizard will be a separate entity from the webpage
| or can it be incorporated into the webpage so that it looks part of the page?
|
| Thanks Very Much,
| CW
|
| "Steve Easton" wrote:
|
| > CW,
| >
| > You don't need javascript.
| > If your site is hosted on a server with FrontPage extensions, just use the FrontPage form wizard to create a form,
| > and add the checkboxes to your form.
| >
| >
| > --
| > Steve Easton
| > Microsoft MVP FrontPage
| > FP Cleaner
| > http://www.95isalive.com/fixes/fpclean.htm
| > Hit Me FP
| > http://www.95isalive.com/fixes/HitMeFP.htm
| > Coming Soon: Function5 Auto Refresh
| >
| > > Hello everyone.
| > >
| > > I am in need of a javascript code that will check to see what checkboxes are
| > > checked when the SUBMIT / ORDER button is clicked and put the choices that
| > > were checked into the body of an email sent to me.
| > >
| > > So here is what the person viewing the site would do.
| > > 1) Check any checkbox choice they want (no limits).
| > > 2) Click SUBMIT or ORDER button when they are finished.
| > > 3) Seperate window will pop up confirming what choices they made.
| > > 4) An email would be sent to me with whatever choices they made in the body
| > > of the email.
| > >
| > > Thank you very much as I have been doing some looking around and haven't
| > > really found what I am looking for. I really appreciate all the help. I
| > > have done programming in the past and understand the syntax and how computer
| > > programs function. I just don't understand how to program in Javascript. If
| > > you feel that another language would be easier or better incorporate my needs
| > > then please suggest and give me the code in that language.
| > >
| > > Thanks Very Much,
| > > CW
| >
| >
| >
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top