View Full Version : Leave out Text Fields?
21-Feb-2006, 09:10 AM
Fantastic stuff, wish I had found this months ago.
I have a basic registration form that people email to the office. What I want to receive is a simple list of responses with empty spaces where no info was entered.
When I set it up with Plaing Text it was ok, except I got:
realname: John Doe
Is there a simple way to leave out the Field Names so I get:
I tried a template with:
but still get the Field names at the beginning.
21-Feb-2006, 02:23 PM
that should be ok what you've tried
do you have configurated everything correctly? (mail_options and so on in your form..)
are you only getting the field names of "email" and "realname" or of all your field names?
22-Feb-2006, 12:15 AM
I'm getting all the field names. The tests say everything's ok but I'm not sure I've got the settings right in the formmail.php file and the reference in the form. I'm not supposed to put the full address of the template, just the file name, right?
<input type="hidden" name="mail_options"
Just getting back to it today so have to go back and reread stuff.
Thanks for the response.
22-Feb-2006, 04:08 AM
Great software and help on this forum. I'm amazed you guys put up with so much from us newbies.
Still having a template issue,
In the form I have:
<input type="hidden" name="mail_options" value="HTMLTemplate=fmtemplatelist.htm" />
(fmtemplatelist.htm being the file name of my template in the directory "formmaildluhr" on my server)
In the formmail.php file I have:
$TEMPLATEURL = $SCHEME.$SERVER."/formmaildluhr"
I get the email ok, but it's a straight list, all with field names, that does not follow the template.
Chinese site but the encoding and everything else tests ok. Am I a total fool, or just a simpleton?
22-Feb-2006, 08:51 AM
try in formmail.php the full address to your template directory
$TEMPLATEURL = "http://yourdomain/etc/formmaildluhr/";
(but not exactly to the template file's name, only to the directory where it is)
your mail_options look correct
I think that's all
23-Feb-2006, 07:03 AM
Well here's a new twist. I went over to our Japanese page and tried the same things and got this..........
"This message has been generated by FormMail using an HTML template
called "fmtemplatelist.htm". The raw text of the form results
has been included below, but your mail reader should display the HTML
version only (unless it's not capable of doing so)."
Got the mail using various programs and even the online mail site but only Outlook Express gave me this specific message, the others gave the flat raw data. So now I know it's "seeing" the template, but not being converted.
I'll try experimenting with the encoding and see what happens, although I don't think that's it.
01-Mar-2006, 11:38 PM
maybe outlook setting, encoding ... etc
Powered by vBulletin® Version 4.1.4 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.