View Full Version : Basic Formmail Question
klitland
03-17-2000, 06:25 PM
I've run into this before but can't remember the answer.[nbsp][nbsp]My formmail script returns with "...submitted by () on Friday, March 17, 2000... Any help in fixing this would be appreciated.
Dan Kaplan
03-17-2000, 06:48 PM
Have you defined the Name imput and made it required?
Name:[nbsp][nbsp]<input type=text name="realname">
<input type=hidden name="required" value="email,realname">
(May differ depending on the formmail script you are using)
Disappear
klitland
03-17-2000, 06:57 PM
Thanks for the reply.[nbsp][nbsp]Interestingly enough my library (I'm a librarian) has one form that works fine.[nbsp][nbsp]I've poured over both sets of code and have worked with formmail in the past but I can't see the error.[nbsp][nbsp]Here's the script:
--------------------------
<form METHOD=POST ACTION="../../cgi-bin/FormMail.pl">
<input TYPE=HIDDEN NAME="recipient" VALUE="jpbref@starbase1.htls.lib.il.us">
<input TYPE=HIDDEN NAME="required" VALUE="e-mail-1,phone">
<input TYPE=HIDDEN NAME="redirect"
VALUE="http://www.joliet.lib.il.us/answers3.html">
<input TYPE=HIDDEN NAME="missing_fields_redirect"
VALUE="http://www.joliet.lib.il.us/answers2.html">
<input TYPE=HIDDEN NAME="env_report"
VALUE="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
--------------------------------
I think the problem might lie with the "email-1" value.[nbsp][nbsp]Should it just be "email"?[nbsp][nbsp]The person who put the form together just left us.
Dan Kaplan
03-17-2000, 07:32 PM
Is it the name or email that's not showing up in the () ?[nbsp][nbsp]Which ever one it is, making sure the name for that input area is the same as the name entered in the "required" field.[nbsp][nbsp]I imagine e-mail-1 would work, as long as it fits this criteria.
Dan
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.