# Email Form

**URL:** <https://forum.kirupa.com/t/email-form/65620>\
**Category:** Uncategorized\
**Created:** [September 28, 2004, 8:00am UTC](https://forum.kirupa.com/t/email-form/65620 "2004-09-28T08:00:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![keljnr](https://avatars.discourse-cdn.com/v4/letter/k/e8c25b/32.png) [@keljnr](https://forum.kirupa.com/u/keljnr)\
**Post date:** [September 28, 2004, 8:00am UTC](https://forum.kirupa.com/t/email-form/65620/1 "2004-09-28T08:00:31Z")

</div>

Howdo?

Is there a way to create a email form without using php?

Like giving it a “mailto” function that sends the info directly to a email address.  
Non of this cgi jargon.

If there is one please help,…

Kind Regards,  
Keljnr

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 8:57am UTC](https://forum.kirupa.com/t/email-form/65620/2 "2004-09-28T08:57:16Z")

</div>

Doesnt matter now…i found a tutorial on it.

but…  
I have 4 checkboxes, is there away i can put a “Select all” button so it’ll do just that.  
Also, i want it so one has to be selected in order to process the form, is there an alert box i could use if ones not selected.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 2:10pm UTC](https://forum.kirupa.com/t/email-form/65620/3 "2004-09-28T14:10:22Z")

</div>

> [@keljnr](#):
>
> but…  
> I have 4 checkboxes, is there away i can put a “Select all” button so it’ll do just that.  
> Also, i want it so one has to be selected in order to process the form, is there an alert box i could use if ones not selected.

Alertboxes and that kind of instant dynamic stuff is javascript… client side 😉 search for tutes or smth

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 2:51pm UTC](https://forum.kirupa.com/t/email-form/65620/4 "2004-09-28T14:51:21Z")

</div>

no crossposting, your other thread was deleted

thread moved

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 3:33pm UTC](https://forum.kirupa.com/t/email-form/65620/5 "2004-09-28T15:33:19Z")

</div>

> [@Digitalosophy](#):
>
> no crossposting, your other thread was deleted
> 
> thread moved

why was the other thread deleted?

I’m just curious cause I typed a big reply full of javascript code and I was curious to see if it what was needed only to see the thread has been deleted.

## Digital, did you delete it?

from other post

This is a client side question rather than server side

you’ll need a basic knowledge of javascript to understand the rest  
the four checkboxes could be selected using JavaScript

behind the select all button have a call to the function below

function CheckAll(){  
for (i=0;i\<document.[name of form].[name of radiobuttons].length;i++){  
document.[name of form].[name of radiobuttons].checked = true;  
}

}

remember all the radiobuttons have to have the same name for this to work. And again when the form is submitted call this function

function Valid(){  
lname = “”;  
for (i=0;i\<document.[name of form].[name of radiobuttons].length;i++){  
if (document.[name of form].[name of radiobuttons]_.checked){  
lname = [name of form].[name of radiobuttons]_.value  
}  
}  
if (lname==“”)  
{ alert(“You have to select a radio button”); }  
else  
{ // whatever }  
}

* * *

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 4:59pm UTC](https://forum.kirupa.com/t/email-form/65620/6 "2004-09-28T16:59:18Z")

</div>

> [@RabBell](#):
>
> why was the other thread deleted?
> 
> I’m just curious cause I typed a big reply full of javascript code and I was curious to see if it what was needed only to see the thread has been deleted.
> 
> Digital, did you delete it?

Sry I didn’t see that, i usually always check for info before i delete.

i’ll get that code back for you, very sry.

k there ya go

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 5:08pm UTC](https://forum.kirupa.com/t/email-form/65620/7 "2004-09-28T17:08:30Z")

</div>

> [@Digitalosophy](#):
>
> Sry I didn’t see that, i usually always check for info before i delete.
> 
> i’ll get that code back for you, very sry.
> 
> k there ya go

no prob :thumb:
