Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi everyone. Ok, I have a simple email form on my flash site (http://www.oneeightyrecords.com). I want to remove the "telephone" field from the form. On my desktop I have the swf file, the mail.php file and the main flash files for the email form. Simply deleting the "telephone" field is not working. It still says "fields are empty, even though there is no telephone field to fill out. Can someone please advise me on what to do. THANKS!
Delete "Telephone" field (Novice) HELP!
Moderator: mkoch227
I don't know what script you are using but i doubt it is one from PHP Junkyard.com. And this site is for support of PHP Junkyard.com scripts.
So it will be hard to help you because i don't know how your script works.
But my guess is that besides deleting the input field you also have to disable the code that checks if the fields are empty. A not available (deleted) field can not be filled and is therefore empty, so the check will report that.
Greetings,
Henrie
So it will be hard to help you because i don't know how your script works.
But my guess is that besides deleting the input field you also have to disable the code that checks if the fields are empty. A not available (deleted) field can not be filled and is therefore empty, so the check will report that.
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Thanks Henrie! I did not realize this site had its own set of scipts. Thanks for your advice though. One last question, would I find the code in the mail.php file or would it be in the flash file? Thanks.
PS. This is the only code I can find - (mail.php)
<?
$name=$_POST['t1_2'];
$mail=$_POST['t2_2'];
$phone=$_POST['t3_2'];
$comm=$_POST['t4_2'];
$ToEmail = "rick@oneeightyrecords.com";
$ToSubject = "Message from your site";
$EmailBody = "Full Name: $name\n
E-mail address: $mail\n
Telephone:$phone\n
Your message: $comm\n";
$Message = $EmailBody;
$headers .= "Content-type: text; charset=iso-8859-1\r\n";
$headers .= "From:".$name." / ".$email."\r\n";
?>
PS. This is the only code I can find - (mail.php)
<?
$name=$_POST['t1_2'];
$mail=$_POST['t2_2'];
$phone=$_POST['t3_2'];
$comm=$_POST['t4_2'];
$ToEmail = "rick@oneeightyrecords.com";
$ToSubject = "Message from your site";
$EmailBody = "Full Name: $name\n
E-mail address: $mail\n
Telephone:$phone\n
Your message: $comm\n";
$Message = $EmailBody;
$headers .= "Content-type: text; charset=iso-8859-1\r\n";
$headers .= "From:".$name." / ".$email."\r\n";
?>