• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 191
  • Last Modified:

Need to know if there is any way to "Page Break" on submit.

Hello Experts,

I have a rather lengthy form that users need to fill out, and submit. This form is then processed, and e-mailed to a pre determined recipient. Due to the length of the form, most of the really important information is on the bottom half. The email recipient needs to print this email for filing, and half the important information ends up on the bottom of the first page, while the other half ends up on page two. I need to keep all the important info on the second sheet, while I use the first printed sheet as somewhat of a cover page. Is this even possible??? I tried going the lazy man's route and <br><br><br><br>'d the heck out of it, but I think there might be a more elegant solution.

The page is done in .cfm, but I think the answer might lie in HTML; Hence the reason for posting this question as generically as possible.

<strong>HELP!</strong>
0
CementTruck
Asked:
CementTruck
  • 2
  • 2
1 Solution
 
schalcraftCommented:
Im not aware of any way you can force a page break in your HTML mail.
Inserting multiple lines is definately one solution, but it may be more elegant to use inline style to create an offset that would force the second block of text onto the next page.  

It would take a bit of fiddling to get the right offset, and it probably wouldnt be very portable. Different mail clients are likely to render the output completely differently.

<body>
The first page
<p style="position: absolute; left:5px; top: 1000px;">
The second page
</p>
</body>
0
 
CementTruckAuthor Commented:
Is there a way to Fill in a form (multiple entries) click submit, go the second portion of the form, click submit, and have 2 emails sent out after the second "submit" is reached? Basically split the information into two completely different emails.
0
 
schalcraftCommented:
You can submit the first page to the second part of the form and use the initial data to populate hidden fields in the second form.

For an asp page your code would be something like
<input type=hidden name="comment" value="<%=Request.Form("comment")%>

Once the second form has been submitted, you can then extract to appropriate fields and forward then on to your mailbox via you final form handler.
0
 
CementTruckAuthor Commented:
Thak you.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now