SilverChocobo
03-09-2003, 04:15 AM
The code that you put down so that if people want to use your pictures or information, a form comes up and you fill out your name email, etc.
After you fill everything out and push yes the email comes up so you can send it to that person. But the email is empty..
I thought that the information that you filled out in the form was supposed to be IN the email. Why fill out of the form if you have to rewrite it all over in the email??
Is it suppose to be empty?? Thats about all.
Thanks!!
MaGiCSuN
03-09-2003, 12:57 PM
I might know the problem but i need to see the code that you are using for the form so that i can see what you have filled in and what not. Can you please post it here? thanks !
Love,
mirna
SilverChocobo
03-09-2003, 04:42 PM
Here are the codes, I had an idea that I can use this code as an adoption form if someone wanted to use a picture on their site.
************************************************** *
THIS CODE WAS SUPPOSE TO BE IN THE 'HEAD' TAG BUT IT WOULDN'T WORK SO I PUT IT AFTER THE HEAD TAG AND IT DID WORK.
<script language="JavaScript">
<!-- Beginning of JavaScript -
// CREDITS:
// Turn source-code-thieves into source-code-buyers
// By Urs Dudli and Peter Gehrig.
// Copyright (c) 1999 Peter Gehrig and Urs Dudli. All rights reserved.
// This script and others available free at http://www.lissaexplains.com
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.com.
// info@24fun.ch
// 1/10/00
// IMPORTANT:
// If you add this script to a script-library or script-archive
// you have to add a link to http://www.24fun.com on the webpage
// where this script will be running.
function buttoncheck(e) {
if (document.all && event.button==2) {
document.all.orderwindow.style.visibility="visible"
alert("You are about to adopt your very own critter!!")
return false
}
if (document.layers && e.which==3) {
document.orderwindow.visibility="visible"
alert("Your about to adopt your very own critter!!")
return false
}
}
function sendmail() {
if (document.all) {
document.all.orderwindow.style.visibility="hidden"
document.forms[0].submit()
}
if (document.layers) {
document.orderwindow.visibility="hidden"
document.orderwindow.document.forms[0].submit()
}
}
function closewindow() {
if (document.all) {
document.all.orderwindow.style.visibility="hidden"
}
if (document.layers) {
document.orderwindow.visibility="hidden"
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=buttoncheck;
// -->
</script>
**************************************************
THIS IS THE CODE THATS SUPPOSE TO GO 'INSIDE' THE BODY TAG BUT IT WOULDN'T WORK THAT WAY SO I PUT IT 'AFTER' THE BODY TAG AND IT SHOWED UP.
<div id="orderwindow" style="position:absolute;top:10px;left:220px;visibility:h idden">
<form action="mailto:silverchocobo@msn.com">
<table width=300 cellpadding=4 cellspacing=0 border=0>
<tr>
<td COLSPAN=2 ALIGN=MIDDLE bgcolor=0000AA><FONT face=Verdana size=1 color=FFFFFF><b>This is the adoption form, please fill out the questions. Your email must be REAL so that your baby can be sent to you!!</b></font></td>
</tr>
<tr>
<td align=right bgcolor=0000FF><FONT face=Verdana size=1 color=FFFFFF>Name:</td>
<td align=left bgcolor=0000FF><FONT face=Verdana size=1><input type="Text" name="Name" size="20" maxlength="40"></font></td>
</tr>
<tr>
<td align=right bgcolor=0000FF><FONT face=Verdana size=1 color=FFFFFF>Your web site URL:</td>
<td align=left bgcolor=0000FF><FONT face=Verdana size=1><input type="Text" name="Your web site URL" size="20" maxlength="40"></font></td>
</tr>
<tr>
<td align=right bgcolor=0000FF><FONT face=Verdana size=1 color=FFFFFF>Who do you want to adopt?:</td>
<td align=left bgcolor=0000FF><FONT face=Verdana size=1><input type="Text" name="Who do you want to adopt?" size="20" maxlength="40"></font></td>
</tr>
<tr>
<td align=right bgcolor=0000FF><FONT face=Verdana size=1 color=FFFFFF>Email:</td>
<td align=left bgcolor=0000FF><FONT face=Verdana size=1><input type="Text" name="Email" size="20" maxlength="40"></font></td>
</tr>
<tr>
<td align=right bgcolor=0000FF><FONT face=Verdana size=1 color=FFFFFF><input type="button" value="send adopt form" onClick="sendmail()"></font></td>
<td align=left bgcolor=0000FF><FONT face=Verdana size=1><input type="button" value="nevermind" onClick="closewindow()"></font></td>
</tr>
</table>
</div>
</form>
************************************************** *
I have also discovered that the email fill out form, (The one where you can put in answers, long answers and yes or no questions. I was testing that out with my sister's email and sent it to my own. When I checked my email the email was blank.
I don't know what I'm doing wrong, I only change the words in bold.
MaGiCSuN
03-09-2003, 04:55 PM
when they say that you have to put it inside your <body> and <head> tag they mean you have to put it between the <head> and </head> tags and between the <body> and </body> tags.
only stuff like background, bgproperties, marginwidth etc should be a part of the body tag. The rest of the codes that are mentioned like that just have to be added like you add normal content.
I don't know sure, so before you make the following change make sure you got saved your OLD code (the one above) so that if it doesn't work you can always change back to old settings :)
I looked at my own forms and i haven't got any type="text" in it, and my email isn't blank when i send it to myself. So i don't know if it works but you could try it. Take out the type="Text" and see if it works
Love,
Mirna