[phorm] [Phorm:] Re: HTML Formatting

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 16 Jul 2003 21:29:54 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#2982) Re: HTML Formatting 
            <http://www.phorm.com/support/?rev=2982> 
  AUTHOR:   Steve Hurlburt 
  DATE:     July 16, 2003 at 5:29 p.m. EST 

  Reply To: (#2981) HTML Formatting 
  Author:   Steve Hurlburt 
  Date:     July 16, 2003 at 5:03 p.m. EST 

> I guess I'll start a new thread here, but this is sort 
> of a continuation of the thread titled No Form Results 
> With HTML Mail. 

> I have a form which some of my company's wholesale 
> customers use to place orders online. It consists of 
> 180 text boxes into which they can enter the quantity 
> (or none) of each item they want to order. 

> I wanted HTML formatted emails to make our office 
> people's job a little easier, and to present a nice 
> looking acknowledgement email to the customer, but I 
> didn't want to enter 180 {{item}} fields on my HTML 
> template page. 

Not to keep responding to my own posts, but it turns out you only need one 
(but one seems to be necessary) table row set of tags to format the list 
vertically: 

<html> 
<head> 

<title>Untitled</title> 
</head> 

<body bgcolor="22ffff"> 
<font size="5"> 
<table> 
{{ph_FORMVARS}} 
<tr><td></td></tr> 
</table> 
</body> 
</html> 

I haven't figured out how to insert line feeds yet, but... 

Steve 

> After some trial and error, (mostly error) I came up 
> with this. It places the same variable:value pairs in 
> the email as does the generic text template, but with 
> the HTML formatting of your choice. 

> My template.html: 

> <html> 
> <head> 
> </head> 

> <body bgcolor="22ffff"> 
> <font size="5"> 
> <table> 
> {{ph_FORMVARS}} 
> <tr><td></td></tr> 
> <tr><td></td></tr> 
> <tr><td></td></tr> 
> <tr><td></td></tr> 
> <tr><td></td></tr> 
> <tr><td></td></tr> 
> <tr><td></td></tr> 
> <tr><td></td></tr> 
> </table> 
> </body> 
> </html> 

> You'll need as many table rows as the possible number 
> of fields, but this seems to work. 

> Steve 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts:

  • » [phorm] [Phorm:] Re: HTML Formatting