<classwork>

Email Form

Sending out Form information (text field) is produced using the getURL action. You use the same standard formatting as in HTML:

mailto:larissabank@hotmail.com

Then separate the subject field by a "?". Just as in HTML.

Add "&" to define the body tag.

The body tag is populated with variables. newline is used to add line spaces (but no quotes around it). All delineated by plus (+) signs. Remember, variables do not have quotes around them.

on (release) {
getURL("mailto:larissabank@hotmail.com?subject=email from website&body=Response - "+newline+newline+newline+"Name: "+_root.name+newline+"Address: "+_root.address+newline+"date: "+_root.todaysDate+newline+newline+"response "+_root.answer1);
}


download the form sample files