are there two mail_options fields?
html only lets u have 1
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
I get the fields that should be excluded by mail_options in the body of the email. The relevant input line is:
as per the sample form (this happens in both my form and the sample form).Code:<input type="hidden" name="mail_options" value="Exclude=email;realname" />
This seemed odd, so for now I've just changed the input names and derived values for those fields to at least have slightly more human readable names:
Any clues on where I should be looking? It seems strange that it wouldn't even work in the sample form.Code:<input type="hidden" name="required" value="EmailAddress:Your email address,Name:Your name" /> <input type="hidden" name="derive_fields" value="email=EmailAddress,realname=Name" /> <input type="text" name="Name" /> <input type="text" name="EmailAddress" /> <textarea name="Message" rows="10" cols="50"></textarea>
are there two mail_options fields?
html only lets u have 1
So, in a form on an html page I can exclude just one or the other of the currently specified realname or email? I think I'll stick with leaving them in the body of the email for now, it's sort of useful having them as a reminder of who wrote the message in immediate proximity to their message.
u can exclude any number of fields - u just list them separated by ;
Yeah, that's what I would expect, yet when I run the sample form - which includes those two excludes - a message containing the excluded items in the message body is delivered.
wot's the url for ur form?
Here's the sample form
Example of output:
FullName: Firstname Lastname
EmailAddr: testingtesting123@yopmail.com
contact: Y
colors: blue
vehicles: Car,Plane
mesg: Lorem ipsum
where in that sample output is realname and email?
they look excluded to me...
if u also want FullName and EmailAddr excluded, add them to the list.
I assumed they were being defined via:
I was mistaken though obviously.Code:<input type="hidden" name="derive_fields" value="email=EmailAddr,realname=FullName" />
derive_fields creates fields from other fields
mail_options Exclude prevents fields (no matter how they are created) from being shown in the email.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks