How to eliminate "realname" and "email" from formMail.php ( results.

When I submit a test form the return email has the following message above the actual form results. The form results are actually good. They just have this error message above them:


The following error occurred in FormMail :
Error=The form required some values that you did not seem to provide.
Your email address
Your name

email: wD@GMAIL.COM
realname: wefRwqe"

Tectite doc's indicate this info can be excluded from the form results by using:

<input type="hidden" name="mail_options" value="Exclude=email,realname">
but this doesn't seem to work.

Does anyone know how to delete this content from the form results? I have attached a pdf of an actual results email. The formMail script is at The HTML form is on the page at
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ray PaseurCommented:
I've never heard of anyone using Tectite.  Please post the PHP source code here in the code snippet so we can see what is going on.

There appear to be two HTML forms in your contact.htm page.  The bottom one, for Google Maps, is probably irrelevant.  The top one, stripped of all the cruft, contains this.
<form class="form item" method="post" action="" name="contactForm">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER" />
<input type="text" class="form-control input-lg" name="inputName" id="inputName" placeholder="name:" required>
<input type="email" class="form-control input-lg" id="inputEmail" name="inputEmail" placeholder="email:" required  >
<input type="text" class="form-control bfh-phone input-lg" data-format="+1 (ddd) ddd-dddd"  id="inputPhone" name="inputPhone" placeholder="phone:" >
<textarea name="comments" id="comments" class="form-control" placeholder=" how can we help you?" rows="4"></textarea>
<button id="contactButton" type="submit" class="btn btn-default btn-md">SEND</button>
<input type="hidden" name="recipients" value="," />
<input type="hidden" name="subject" value="Message From A Website Visitor" />
<input type="hidden" name="derive_fields" value="email=inputEmail,realname=inputName" />
<input type="hidden" name="mail_options" value="Exclude=email,realname;FromAddr=Website Visitor">

Open in new window

As you can see, the mail_options control contains value="Exclude=email,realname;FromAddr=Website Visitor".  This seems to conflict with what you wrote about Tectite docs, to wit, value="Exclude=email,realname" so my first recommendation would be to try using this input control exactly as Tectite recommends, without the extra stuff.
Ray PaseurCommented:
One other thing, maybe not relevant but certainly suspicious...

Now that I've looked at Tectite a bit, I can tell you that it looks like a product that is left over from the last millennium.  And it displays standards compliance icons but the W3 validator shows that it is clearly not compliant with the standards.  This sort of thing gives off a smell and I would look for another solution, not Tectite.

Tectite page with bogus standards icons:

The validator output can be seen here (the Tectite page icon links do not work)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dlearman1Author Commented:
Ray... Thanks for your comments. We have been using formmail.php for at least a century. It is old and out-of-date, but then it only has to interface with nothing more demanding than email  But, you're right we should be looking into a more current product.  Do you have any in mind worth checking out?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.