Email Form

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

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.

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

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 }
}


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: