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

Posted on 2006-05-09
Last Modified: 2010-04-06
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.

Question by:CementTruck
    LVL 2

    Expert Comment

    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.

    The first page
    <p style="position: absolute; left:5px; top: 1000px;">
    The second page

    Author Comment

    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.
    LVL 2

    Accepted Solution

    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.

    Author Comment

    Thak you.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Suggested Solutions

    Preface In the first article: A Better Website Login System ( I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
    This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
    Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now